📝Config

Here you take a look at the the settings.yml and messages.yml config.

Settings.yml

# Punishment system configuration.
punishment:
  # The language of the plugin
  language: english

  # databaseType: The type of database to use.
  #               'MySQL' - To use a MySQL database.
  #               'SQLite' - To use a SQLite (Flatfile / local) database.
  #
  # Make sure to enter the correct information for your database if you use MySQL.
  #
  # IMPORTANT: If you want to use the Webinterface, you have to use MySQL.
  databaseType: 'SQLite'
  mysql:
    host: 'localhost'
    port: 3306
    username: 'root'
    password: 'password'
    database: 'database'

  # This needs to be enabled if you want to use the Webinterface.
  webinterface:
    enabled: true
    port: 42069

  # Max ban & mute duration in seconds. The player needs the
  # bansystem.ban.<group> or mutesystem.mute.<group> permission to use the duration
  ban:
    srmoderator: 31536000 # bansystem.ban.srmoderator permission to use this duration
    moderator: 2592000
    srsupporter: 604800
    supporter: 86400 # 86400 seconds = 1 day

  mute: # same as ban
    srmoderator: 2592000
    moderator: 604800
    srsupporter: 86400
    supporter: 3600

Messages.yml

Last updated