Configuration
This is a simple tutorial on how to configurate the plugin for fitting your needs.
Configuration file
This is the default configuration file:
config: autosave: interval: 300 damage: enabled: false notify: enabled: false signs: enabled: true penalty-points: ban: enabled: false points: 10 tempban: enabled: false points: 7 time: 86400 mute: enabled: false points: 3 seconds: 300 commands: enabled: false check-commands: enabled: false list: []
Here is a list of all the options and what they do:
| Option | Values | Description | |
| autosave/interval | larer than zero | The time between the automatic saves of the config (in seconds) | |
| damage/enabled | true, false | Wether a player should be able to get damaged by using forbidden words | |
| notify/enabled | true, false | Wether everybody with permissions should get a message when someone is using forbidden words | |
| signs/enabled | true, false | Wether sign texts should be censored or not | |
| penalty-points/ban/enabled | true, false | Wether banning should be enabled for using forbidden words | |
| penalty-points/ban/points | larger than or equal to zero | The needed penalty-points to get banned | |
| penalty-points/tempban/enabled | true, false | Wether temporarily banning should be enabled for using forbidden words | |
| penalty-points/tempban/points | larger than or equal to zero | The needed penalty-points to get temporarily banned | |
| penalty-points/tempban/time | larget than zero | How long the player should be temporarily banned (in seconds) | |
| penalty-points/mute/enabled | true, false | Wether players should be muted for using forbidden words | |
| penalty-points/mute/points | larger or equal to zero | The needed penalty-points to get muted | |
| commands/enabled | true, false | Wether commands should be executed for using forbidden words | |
| check-commands/enabled | true, false | Wether commands should be censored or not (like /msg) | |
| check-commands/list | (see below) | A list of all commands to censor |
Commands to censor (format/structure)
The format for commands to censor is:
/<command> ... <msg> ...
Replace <command> with the command you need. Everything after <msg> will be checked for forbidden words, these will be replaced and the command will be sent censored.
-
View User Profile
-
Send Message
Posted Dec 4, 2014Wow, SO informative. (The configuration page is blank except for "This is a simple tutorial on how to configurate the plugin for fitting your needs." )