Skip to content

Configuration

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: Times/m/h/d
warn/kick/ban-message: the message for each respective type

## 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 BAN
ban-duration: 1h
warn-message: You've been Warned!
kick-message: You've been Kicked!
ban-message: You've been Banned!