Configuration
Example configuration
config: colour-code-char: ^ disallowed-message: ^cThat message is not allowed! messages: 1: 'Yes' 2: 'No' gg: Good Game y: 'Yes' n: 'No'
Explanation
If a player sends a message made solely of the part of a line before the :, the message will be replaced with the part of the line after the :.
Example:
- A player sends the message "1". The plugin converts this into "Yes".
- Player1 says "gg". The plugin replaces that with "Good Game".
- Player2 says "bg". The plugin blocks the message, and tells the player the message was blocked.
- Player2 says "bgg". The plugin blocks the message, and tells the player the message was blocked.
- Admin1 says "Hi". The plugin allows the message, because the admin has the permission chatreplacer.override
Comments