main.yml

# --------------------------------------------------------
# Punishments Configuration
#  
# Useful Resources:
# * Discord: https://dsc.gg/negative-games
# * Wiki: https://wiki.ericlmao.com/projects/punishments
# * MiniMessage Format: https://docs.advntr.dev/minimessage/format.html
# * MiniMessage Web UI: https://webui.advntr.dev/
# --------------------------------------------------------

# When true, the plugin will disable unnecessary logs to the console.
disable-unnecessary-logs: false

# The interval in seconds in which the cache is synchronized with the database.
# In lamen's terms, this is the interval that the plugin will check the database for new
# or updated punishments and then store them locally.
cache-sync-interval: 5

# When true, the /record command is enabled for all players to use.
record-command-enabled: true

# Whether to use a categorized record menu or not.
# If set to true, the record menu will be categorized
# by punishment type (e.g. mutes, bans, warns) in their own
# dedicated submenus, similar to the /history command.
#  
# If set to false, the record menu will display all punishments
# in a single menu.
record-menu-categorized: true

# Staff Leaderboard Configuration
staff-leaderboard:
  # When true, the staff leaderboard system is enabled.
  enabled: true

  # The interval in seconds in which the staff leaderboard cache is synchronized with the database.
  # In lamen's terms, this is the interval that the plugin will check the database for new
  # or updated staff leaderboard data and then store it locally.
  cache-sync-interval: 30

# Note Configuration
notes:
  # When true, the note system is enabled.
  enabled: true

  # When true, the note database system will use an external database instead of the default SQLite database.
  use-external-database: false

  # External Database Information
  database:
    host: localhost
    port: 3306
    database: punishments
    username: root
    password: password

# Punishments
punishments:
  Hacking:
    reason: Hacking
    filter-revoked-punishments: false
    forgiveness: 100d
    icon:
      position: 10
      name: <red>Hacking
      material: BOOK
      lore:
      - ' '
      - '<white>Violation #1: <yellow>7 days <red>(BAN)'
      - '<white>Violation #2: <yellow>30 days <red>(BAN)'
      - '<white>Violation #3: <yellow>Permanent <red>(IP BAN)'
      - ' '
      - '<white>Total Punishments: <yellow>%total%'
    ladder:
      FIRST:
        length: 30d
        category: BAN
        force-silent: true
        ip: false
        commands:
        - lp user %player% parent remove VIP

# Authors: ericlmao

Last updated