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:

OptionValuesDescription
autosave/intervallarer than zeroThe time between the automatic saves of the config (in seconds)
damage/enabledtrue, falseWether a player should be able to get damaged by using forbidden words
notify/enabledtrue, falseWether everybody with permissions should get a message when someone is using forbidden words
signs/enabledtrue, falseWether sign texts should be censored or not
penalty-points/ban/enabledtrue, falseWether banning should be enabled for using forbidden words
penalty-points/ban/pointslarger than or equal to zeroThe needed penalty-points to get banned
penalty-points/tempban/enabledtrue, falseWether temporarily banning should be enabled for using forbidden words
penalty-points/tempban/pointslarger than or equal to zeroThe needed penalty-points to get temporarily banned
penalty-points/tempban/timelarget than zeroHow long the player should be temporarily banned (in seconds)
penalty-points/mute/enabledtrue, falseWether players should be muted for using forbidden words
penalty-points/mute/pointslarger or equal to zeroThe needed penalty-points to get muted
commands/enabledtrue, falseWether commands should be executed for using forbidden words
check-commands/enabledtrue, falseWether 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.


Comments

Posts Quoted:
Reply
Clear All Quotes