Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # !-----------------------------------------------------------------------------------------!
- # Welcome to Handlers Configuration
- #
- # A handler stores multiple instructions of what should happen when
- # the message is caught by a rule.
- #
- # This reduces repetitive code and makes things more human and future proof.
- #
- # For configuration, see:
- # - https://github.com/kangarko/ChatControl-Pro/wiki/Handlers
- #
- # Remember, you can remove or edit all handlers below, and create your own ones!
- #
- # !-----------------------------------------------------------------------------------------!
- # -----------------------------------------------------------------------------------------
- # The default advertisement handler.
- # -----------------------------------------------------------------------------------------
- advertisement:
- #
- # Ignore players with a proper permission.
- #
- Bypass_With_Permission: "chatcontrol.bypass.ad"
- #
- # Do not filter ads in the following commands:
- #
- Ignore_Commands:
- - // # WorldEdit
- - /brush
- - /auction
- - /auc
- - /register
- - /reg
- - /login
- - /l
- #
- # Warn the player.
- #
- Player_Warn_Message: "&7Please do not advertise other websites or IP adresses."
- #
- # Notice online staff members.
- #
- Staff_Alert: "chatcontrol.notify.ad Ad_Info"
- #
- # Deny the message entirely.
- #
- Block_Message: true
- #
- # Log the violation so you can check it if you are offline.
- #
- Write_To_File: logs/advertisements.log
- # -----------------------------------------------------------------------------------------
- # The default swear-words handler.
- # -----------------------------------------------------------------------------------------
- swear:
- #
- # Ignore players with permission.
- #
- Bypass_With_Permission: "chatcontrol.bypass.swear"
- #
- # Do not filter commands below:
- #
- Ignore_Commands:
- - // # WorldEdit
- - /brush
- - /auction
- - /auc
- - /register
- - /reg
- - /login
- - /l
- #
- # Warn the player.
- #
- Player_Warn_Message: "&cSwearing is prohibited on this server."
- #
- # Notice online staff.
- #
- Staff_Alert: "chatcontrol.notify.swear &8[&7Swear/ID {ruleID}&8] &7{player}: &f{message}"
- #
- # Replace the swear word with a censor.
- # If you only specify @prolong, the replacement will be automatically stretched to match word's length
- # assuming it only contains one letter, in this example a star.
- #
- Replace_Word: "@prolong *"
- #
- # Log the violation so you can check it if you are offline.
- #
- Write_To_File: logs/swears.log
- #
- #
- #
- local:
- Bypass_With_Permission: "chatcontrol.bypass.pchat"
- Ignored_In_Commands:
- - /p chat
- Player_Warn_Message: "&cPlease use /local!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement