Configuration
Config Details
Section titled “Config Details”starting out the plugin has a config.yml
file,
in the config.yml
file there will be sections you can define yourself.
sections include:
blocked-words
: a list of words to be blocked.
punish-type
: the type of punishment for using a blocked word.
ban-duration
: how long the user should be banned for.
warn
/kick
/ban
-message
: the message for each respective action.
the options for each section are:
blocked-words
: a list of words
punish-type
: WARN
/KICK
/BAN
ban-duration
: Time
s/m/h/d
warn
/kick
/ban
-message
: the message for each respective type
Example Config
Section titled “Example Config”## These words are Case-insensitive.blocked-words:- words- that- should- be- blocked
punish-type: WARN
## ban-duration will only be used when punish-type is set to BANban-duration: 1h
warn-message: You've been Warned!kick-message: You've been Kicked!ban-message: You've been Banned!