Yottabyte Punishments

Yottabyte Punishments 2.0.2-RELEASE

Log in
yottabyte punishments.jpg

What is Yottabyte?
The definition is a unit of information equal to one septillion bytes! (10^24) Yottabyte also is a series of plugins made by Wekylend.

Contributor(s): NeedVoid, WhoTookMyNuggies

features.jpg

This is an add-on for: AdvancedBan, AquaCore, LibertyBans or LiteBans

Configure a punishment tree for players so that your staff members can punish the player in just one click!
e.g. A player has been warned & temp muted by your staff previously for "Staff Disrespect", the next punishment will be a 12 hour mute!​

  • Automatically finds & punishes the player based on their previous offence(s)
  • Supports offline-mode player look-ups
  • Supports Bedrock player look-ups via floodgate
  • Optimized punishment and player lookups for the best user experience possible
  • Discord webhooks with fully customizable embeds
  • Highly configurable (punishment tree, menus, messages, etc.)
  • HEX color code support
  • Easily pull configuration changes using the reload command
  • Bukkit/Spigot/Paper 1.16.5 & above
  • Bungeecord/Waterfall 1.16 & above
  • Velocity 3.3.0 & above

abc
I highly suggest checking the configs to see how powerful this plugin is!
config.jpg

Configuration files for Bukkit/Spigot/Paper and Bungeecord/Waterfall
YAML:
# Specify the Punishment Plugin you are using
# <!> Yottabyte Punishments currently supports LiteBans, AdvancedBan & LibertyBans
dependency: LiteBans
benchmarking: false
# Set to true if your server is in offline mode
# <!> Do not set to true if you're behind a proxy
offline-mode: false

# All configurable Yottabyte Punishment messages
messages:
  no-permission: '&c&l[!]&c You do not have access to this command!'
  player-not-found: '&c&l[!]&c Player not found.'
  unknown-punishment: '&c&l[!]&c Couldn''t find a punishment for "%reason%".'
  no-punishments-found: '&c&l[!]&c No punishments were found for punishment tree #%id%!'
  cannot-punish-self: '&c&l[!]&c You can''t punish yourself!'
  usage: '&a&l[!] &a/%command%'
  help-header: '&e-- &a&lYottabyte Punishments Help &e-- &7(&ePage %page%&7/&e%total_pages%&7)'
  help-entry: '&a%command%&7-> &7%description%'

  plugin-reloaded: '&a&l[!]&7 You reloaded &aYottabyte Punishments&7!'
  lore-overflow: '&7and %amount% more...'
  status-active: '&8[&aᴀᴄᴛɪᴠᴇ&8]'
  status-inactive: '&8[&cᴇxᴘɪʀᴇᴅ&8]'
  format-history-perm: ' %status% &7&o(%date_time%&7&o) &a%type_verb%&7 by &a%punisher%'
  format-history-temp: ' %status% &7&o(%date_time%&7&o) &a%type_verb%&7 for &a%duration%&7
    by &a%punisher%'
  format-punishment-tree: '&7#%order% &a%punishment_type% &7for &a%time%'

settings:
  # Disables option to right-click to execute silently
  disable-silent: false

discord:
  # Enable or disable the Discord webhook feature
  enabled: false

  # Show a message in the console when the Discord Webhook is enabled
  show-validation-message: true

  # Input the URL for your Discord Webhook here
  # <!> To create / find your Discord Webhook, go to your server settings & head to Integrations
  webhook-url: ''

commands:
  warn: warn %player% %reason%
  tempmute: tempmute %player% %time% %reason%
  mute: mute %player% %reason%
  iptempmute: iptempmute %player% %time% %reason%
  ipmute: ipmute %player% %reason%
  kick: kick %player% %reason%
  tempban: tempban %player% %time% %reason%
  ban: ban %player% %reason%
  iptempban: tempipban %player% %time% %reason%
  ipban: ipban %player% %reason%

  silent-warn: warn -s %player% %reason%
  silent-tempmute: tempmute -s %player% %time% %reason%
  silent-mute: mute -s %player% %reason%
  silent-iptempmute: iptempmute -s %player% %time% %reason%
  silent-ipmute: ipmute -s %player% %reason%
  silent-kick: kick -s %player% %reason%
  silent-tempban: tempban -s %player% %time% %reason%
  silent-ban: ban -s %player% %reason%
  silent-iptempban: tempipban -s %player% %time% %reason%
  silent-ipban: ipban -s %player% %reason%

categories:
  # Allow or disallow visibility of the category GUI
  # <!> Disabling this will open a GUI displaying all punishments
  enabled: true

  # The list of punishment categories
  # <!> Use the category ID within punishments.yml
  list:
    '1':
      # The name of the punishment category
      name: ᴡᴀʀɴꜱ
      # The slot of the punishment category
      slot: 19
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL
      # Punishment selection item
      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '2':
      # The name of the punishment category
      name: ᴛᴇᴍᴘ-ᴍᴜᴛᴇꜱ
      # The slot of the punishment category
      slot: 20
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '3':
      # The name of the punishment category
      name: ᴍᴜᴛᴇꜱ
      # The slot of the punishment category
      slot: 21
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '4':
      # The name of the punishment category
      name: ɪᴘ-ᴍᴜᴛᴇꜱ
      # The slot of the punishment category
      slot: 22
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '5':
      # The name of the punishment category
      name: ᴛᴇᴍᴘ-ʙᴀɴꜱ
      # The slot of the punishment category
      slot: 23
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '6':
      # The name of the punishment category
      name: ʙᴀɴꜱ
      # The slot of the punishment category
      slot: 24
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '7':
      # The name of the punishment category
      name: ᴛᴇᴍᴘ ɪᴘ-ʙᴀɴꜱ
      # The slot of the punishment category
      slot: 25
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

    '8':
      # The name of the punishment category
      name: ɪᴘ-ʙᴀɴꜱ
      # The slot of the punishment category
      slot: 31
      # The material of the punishment category
      # <!> Check out https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for a list of materials.
      material: BOOK_AND_QUILL

      punishment-item:
        # The mame of the display item
        name: '&a&lᴘᴜɴɪꜱʜ ꜰᴏʀ %reason%'
        # The material of the punishment item
        material: INK_SACK:1
        # Makes the material look enchanted
        glow: false
        # The lore of the punishment item
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ''
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ''
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

# Punishment Menu Buttons
buttons:
  back:
    name: '&c&lᴘʀᴇᴠɪᴏᴜꜱ ᴘᴀɢᴇ &7(Page: %page%/%total_pages%)'
    material: ARROW
    glow: false
    lore:
      - ''
      - '&c&l(!) &cᴄʟɪᴄᴋ ᴛᴏ ɢᴏ ᴛᴏ ᴛʜᴇ ᴘʀᴇᴠɪᴏᴜꜱ ᴘᴀɢᴇ'

  next:
    name: '&a&lɴᴇxᴛ ᴘᴀɢᴇ &7(Page: %page%/%total_pages%)'
    material: ARROW
    glow: false
    lore:
      - ''
      - '&a&l(!) &aᴄʟɪᴄᴋ ᴛᴏ ɢᴏ ᴛᴏ ᴛʜᴇ ɴᴇxᴛ ᴘᴀɢᴇ'

  punishment-history:
    name: '&a&lᴘᴜɴɪꜱʜᴍᴇɴᴛ ʜɪꜱᴛᴏʀʏ'
    glow: false
    lore:
      - '%history%'

  border:
    name: '&7'
    material: LIME_STAINED_GLASS_PANE
    glow: false
    lore: [ ]

menus:
  # Punishment Conformation Menu
  confirm:
    title: '&8ᴘᴜɴɪꜱʜɪɴɢ %player%'
    items:
      # Punishment Confirm Button
      confirm:
        name: '&a&lᴄᴏɴꜰɪʀᴍ ᴘᴜɴɪꜱʜᴍᴇɴᴛ'
        material: LIME_WOOL
        glow: false
        lore:
          - ''
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ'
          - '&8» &7ʀᴇᴀꜱᴏɴ: &a%reason%'
          - '&8» &7ᴘᴜɴɪꜱʜᴍᴇɴᴛ: &a%punishment%'
          - ''
          - '&a&l(!) &aᴄʟɪᴄᴋ ᴛᴏ ᴄᴏɴꜰɪʀᴍ ᴘᴜɴɪꜱʜᴍᴇɴᴛ'

      # Punishment Information Button
      info:
        name: '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ'
        glow: false
        lore:
          - '&7ʏᴏᴜ ᴀʀᴇ ᴀʙᴏᴜᴛ ᴛᴏ ᴘᴜɴɪꜱʜ ᴛʜᴇ ꜱᴇʟᴇᴄᴛᴇᴅ'
          - '&7ᴘʟᴀʏᴇʀ ꜰᴏʀ &a%reason%'
          - ' '
          - '&8» &7ᴘᴜɴɪꜱʜᴍᴇɴᴛ: &a%punishment%'
          - ' '
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ʜɪꜱᴛᴏʀʏ'
          - '%history%'

      # Punishment Cancel Button
      cancel:
        name: '&c&lᴄᴀɴᴄᴇʟ ᴘᴜɴɪꜱʜᴍᴇɴᴛ'
        material: RED_WOOL
        glow: false
        lore:
          - ''
          - '&c&l(!) &cᴄʟɪᴄᴋ ᴛᴏ ᴄᴀɴᴄᴇʟ ᴘᴜɴɪꜱʜᴍᴇɴᴛ'

  # Punishment Category Menu
  category:
    title: '&8ᴘᴜɴɪꜱʜɪɴɢ %player%'
    rows: 5
    punishment-history-button-slot: 4

    items:
      # Punishment Category Button
      category:
        name: '&a&l%category_id%. %category_name%'
        glow: false
        lore:
          - ' '
          - '&aᴀʟʟ ᴘᴏꜱꜱɪʙʟᴇ %category%'
          - '%categories%'
          - ' '
          - '&a&l(!) &aᴄʟɪᴄᴋ ᴛᴏ ᴠɪᴇᴡ %category%'
    custom-items:
      misc:
        slot: 7
        material: FEATHER
        name: '&a&lᴄᴏᴍᴍᴀɴᴅ ʜᴇʟᴘ'
        glow: true
        lore:
          - '&7ᴛɪᴘ: ʏᴏᴜ ᴄᴀɴ ᴜꜱᴇ ᴛʜɪꜱ ɢᴜɪ ᴏʀ ᴛʜᴇ ᴄᴏᴍᴍᴀɴᴅ'
          - '&a/ᴘᴜɴɪꜱʜ <ᴛᴀʀɢᴇᴛ> <ʀᴇᴀꜱᴏɴ/ᴀʟɪᴀꜱ/ɪᴅ> [-ꜱ]'
        commands:
          - '[message] &7ᴛɪᴘ: ʏᴏᴜ ᴄᴀɴ ᴜꜱᴇ ᴛʜɪꜱ ɢᴜɪ ᴏʀ ᴛʜᴇ ᴄᴏᴍᴍᴀɴᴅ &a/ᴘᴜɴɪꜱʜ <ᴛᴀʀɢᴇᴛ>
          <ʀᴇᴀꜱᴏɴ/ᴀʟɪᴀꜱ/ɪᴅ> [-ꜱ]'

      border-0:
        slot: 0
        material: IRON_BARS
        name: ' '
        glow: false
        lore: [ ]
      border-1:
        slot: 8
        material: IRON_BARS
        name: ' '
        glow: false
        lore: [ ]
      border-2:
        slot: 36
        material: IRON_BARS
        name: ' '
        glow: false
        lore: [ ]
      border-3:
        slot: 44
        material: IRON_BARS
        name: ' '
        glow: false
        lore: [ ]

  # Punishment Select Menu
  punish:
    title: '&8Punishing %player%'
    items:
      reason:
        name: '&a&lPunishment #%id%'
        material: LIME_DYE
        glow: false
        lore:
          - ' '
          - '&aᴘᴜɴɪꜱʜᴍᴇɴᴛ ᴏꜰꜰᴇɴᴄᴇꜱ'
          - '%tree%'
          - ' '
          - '&a%reason% ʜɪꜱᴛᴏʀʏ'
          - '%history%'
          - ' '
          - '&a&l(!) &aʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ'
          - '&a&l(!) &aʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴘᴜɴɪꜱʜ ꜱɪʟᴇɴᴛʟʏ'

  # Punishment by Category Select Menu
  # <!> This will only be used if "categories.enabled" configuration option is set to true
  category-punish:
    title: '&8%category_id%. %category_name% (%player%)'
    items:
      previous-menu:
        name: '&a&lʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴀᴛᴇɢᴏʀɪᴇꜱ'
        slot: 48
        material: PAPER
        glow: false
        lore: [ ]
YAML:
# All Allowed Punishment & Command Types
# <!> WARN, KICK, TEMPMUTE:DURATION, MUTE, TEMPIPMUTE:DURTION, IPMUTE, TEMPBAN:DURATION, BAN, TEMPIPBAN:DURATION, IPBAN
# <!> CUSTOM_COMMAND_PLAYER:msg %player% %reason%!
# <!> CUSTOM_COMMAND_CONSOLE:msg %player% %reason%!
punishments:
  # The punishment type ID
  '1':
    # The punishment reason
    reason: ꜱᴘᴀᴍᴍɪɴɢ
    # The alias of the command
    aliases:
      - spam
      - spamming
      - flood
      - flooding
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 3
    # The punishment offences & durations
    punishments:
      '1': WARN:5d
      '2': TEMPMUTE:30m
      '3': TEMPMUTE:1h
      '4': TEMPMUTE:4h
      '5': MUTE

  '2':
    # The punishment reason
    reason: ᴄᴀᴘꜱ ᴀʙᴜꜱᴇ
    # The alias of the command
    aliases:
      - caps
      - excessivecaps
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 3
    # The punishment offences & durations
    punishments:
      '1': WARN:5d
      '2': TEMPMUTE:30m
      '3': TEMPMUTE:1h
      '4': TEMPMUTE:4h
      '5': MUTE

  '3':
    # The punishment reason
    reason: ᴄʜᴀʀᴀᴄᴛᴇʀ ᴀʙᴜꜱᴇ
    # The alias of the command
    aliases:
      - characters
      - chars
      - excessivechars
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 3
    # The punishment offences & durations
    punishments:
      '1': WARN:5d
      '2': TEMPMUTE:30m
      '3': TEMPMUTE:1h
      '4': TEMPMUTE:4h
      '5': MUTE

  '4':
    # The punishment reason
    reason: ᴛʀᴏʟʟɪɴɢ
    # The alias of the command
    aliases:
      - troll
      - playertrolling
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 3
    # The punishment offences & durations
    punishments:
      '1': WARN:5d
      '2': TEMPMUTE:30m
      '3': TEMPMUTE:1h
      '4': TEMPMUTE:4h
      '5': MUTE

  '5':
    # The punishment reason
    reason: ᴘʟᴀʏᴇʀ ᴅɪꜱʀᴇꜱᴘᴇᴄᴛ
    # The alias of the command
    aliases:
      - disrespect
      - playerdisrespect
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': WARN:5d
      '2': TEMPMUTE:30m
      '3': TEMPMUTE:1h
      '4': TEMPBAN:30m

  '6':
    # The punishment reason
    reason: ɴꜱꜰᴡ ʙᴇʜᴀᴠɪᴏᴜʀ
    # The alias of the command
    aliases:
      - nsfw
      - nsfwcontent
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:30m
      '2': TEMPMUTE:1h
      '3': TEMPMUTE:3h
      '4': TEMPBAN:6h

  '7':
    # The punishment reason
    reason: ꜱᴡᴇᴀʀɪɴɢ/ꜰᴏᴜʟ ʟᴀᴜɢᴜᴀɢᴇ
    # The alias of the command
    aliases:
      - swearing
      - toxicity
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:10m
      '2': TEMPMUTE:20m
      '3': TEMPMUTE:30m
      '4': TEMPBAN:1h

  '8':
    # The punishment reason
    reason: ʜᴀᴛᴇꜰᴜʟ ꜱᴘᴇᴇᴄʜ
    # The alias of the command
    aliases:
      - hatespeech
      - hatefulspeech
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:2h
      '2': TEMPMUTE:3h
      '3': TEMPMUTE:6h
      '4': TEMPBAN:12h

  '9':
    # The punishment reason
    reason: ᴜɴᴜꜱᴇꜰᴜʟ ʟɪɴᴋꜱ
    # The alias of the command
    aliases:
      - links
      - nonrelatedlinks
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:12h
      '2': TEMPMUTE:1d
      '3': TEMPMUTE:3d
      '4': TEMPBAN:12h

  '10':
    # The punishment reason
    reason: ʟɪɢʜᴛ ᴀᴅᴠᴇʀᴛɪꜱɪɴɢ
    # The alias of the command
    aliases:
      - ladvertising
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 6
    # The punishment offences & durations
    punishments:
      '1': WARN:30d
      '2': TEMPMUTE:3h
      '3': TEMPMUTE:6h
      '4': TEMPBAN:2d
      '5': TEMPBAN:7d
      '6': TEMPBAN:14d

  '11':
    # The punishment reason
    reason: ᴀᴅᴠᴇʀᴛɪꜱɪɴɢ
    # The alias of the command
    aliases:
      - advert
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 7
      - 8
    # The punishment offences & durations
    punishments:
      '1': TEMPIPBAN:7d
      '2': IPBAN

  '12':
    # The punishment reason
    reason: ᴄʜᴀʀɢᴇʙᴀᴄᴋ/ᴄʜᴀʀɢᴇʙᴀᴄᴋ ᴛʜʀᴇᴀᴛꜱ
    # The alias of the command
    aliases:
      - cb
      - chargeb
      - chargeback
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 8
    # The punishment offences & durations
    punishments:
      '1': IPBAN

  '13':
    # The punishment reason
    reason: ᴍɪɴᴏʀ ʙᴜɢ ᴀʙᴜꜱᴇ
    # The alias of the command
    aliases:
      - minorbug
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPBAN:7d
      '2': TEMPBAN:14d

  '14':
    # The punishment reason
    reason: ᴍᴀᴊᴏʀ ʙᴜɢ ᴀʙᴜꜱᴇ
    # The alias of the command
    aliases:
      - majorbug
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 6
    # The punishment offences & durations
    punishments:
      '1': BAN

  '15':
    # The punishment reason
    reason: ʜᴀᴄᴋᴇᴅ ᴄʟɪᴇɴᴛ
    # The alias of the command
    aliases:
      - cheating
      - cheater
      - hackedclient
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
      - 6
    # The punishment offences & durations
    punishments:
      '1': TEMPBAN:14d
      '2': TEMPBAN:30d
      '3': BAN

  '16':
    # The punishment reason
    reason: ᴅᴏx ᴛʜʀᴇᴀᴛꜱ
    # The alias of the command
    aliases:
      - doxthreat
      - ddosthreat
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 8
    # The punishment offences & durations
    punishments:
      '1': IPBAN

  '17':
    # The punishment reason
    reason: ʀᴇʟᴇᴀꜱᴇ ᴏꜰ ᴘᴇʀꜱᴏɴᴀʟ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ
    # The alias of the command
    aliases:
      - personalinfo
      - personalinformation
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
      - 4
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:12h
      '2': TEMPMUTE:2d
      '3': TEMPMUTE:4d
      '4': IPMUTE:7d
      '5': TEMPBAN:7d

  '18':
    # The punishment reason
    reason: ꜱᴛᴀꜰꜰ ɪᴍᴘᴇʀꜱᴏɴᴀᴛɪᴏɴ
    # The alias of the command
    aliases:
      - impersonation
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
      - 4
    # The punishment offences & durations
    punishments:
      '1': WARN:7d
      '2': TEMPMUTE:3h
      '3': TEMPMUTE:6h
      '4': TEMPMUTE:12h
      '5': IPMUTE:1d

  '19':
    # The punishment reason
    reason: ʀᴀᴄɪꜱᴍ
    # The alias of the command
    aliases:
      - racism
      - racist
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 2
      - 3
      - 7
      - 8
    # The punishment offences & durations
    punishments:
      '1': TEMPMUTE:7d
      '2': MUTE
      '3': IPMUTE:7d
      '4': IPMUTE

  '20':
    # The punishment reason
    reason: ꜱᴛᴀꜰꜰ ᴅɪꜱʀᴇꜱᴘᴇᴄᴛ
    # The alias of the command
    aliases:
      - staffdiss
      - staffdisrepsect
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 1
      - 2
      - 5
    # The punishment offences & durations
    punishments:
      '1': WARN
      '2': TEMPMUTE:3h
      '3': TEMPMUTE:12h
      '4': TEMPBAN:1d

  '21':
    # The punishment reason
    reason: ꜰᴏʀɢᴇʀʏ
    # The alias of the command
    aliases:
      - lying
      - forgery
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 8
    # The punishment offences & durations
    punishments:
      '1': IPBAN

  '22':
    # The punishment reason
    reason: ᴍᴀᴄʀᴏꜱ/ꜱᴄʀɪᴘᴛɪɴɢ
    # The alias of the command
    aliases:
      - macro
      - script
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
      - 6
    # The punishment offences & durations
    punishments:
      '1': TEMPBAN:14d
      '2': BAN

  '23':
    # The punishment reason
    reason: ꜱᴄᴀᴍᴍɪɴɢ
    # The alias of the command
    aliases:
      - scam
      - scammer
      - scamming
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 8
    # The punishment offences & durations
    punishments:
      '1': IPBAN

  '24':
    # The punishment reason
    reason: ɪɴᴀᴘᴘʀᴏᴘʀɪᴀᴛᴇ ʙᴜɪʟᴅꜱ
    # The alias of the command
    aliases:
      - nsfwbuild
      - innapbuild
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
    # The punishment offences & durations
    punishments:
      '1': TEMPBAN:2d
      '2': TEMPBAN:7d
      '3': TEMPBAN:14d
      '4': TEMPBAN:30d

  '25':
    # The punishment reason
    reason: ɪɴᴀᴘᴘʀᴏᴘʀɪᴀᴛᴇ ꜱᴋɪɴ/ɴᴀᴍᴇ
    # The alias of the command
    aliases:
      - nsfwskin
      - nsfwname
      - innapname
      - innapskin
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 5
      - 6
    # The punishment offences & durations
    punishments:
      '1': TEMPBAN:14d
      '2': BAN

  '26':
    # The punishment reason
    reason: ʙᴏᴛᴛɪɴɢ
    # The alias of the command
    aliases:
      - bot
      - botting
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 8
    # The punishment offences & durations
    punishments:
      '1': IPBAN

  '27':
    # The punishment reason
    reason: ᴍᴜᴛᴇ ᴇᴠᴀꜱɪᴏɴ
    # The alias of the command
    aliases:
      - mevasion
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 4
    # The punishment offences & durations
    punishments:
      '1': TEMPIPMUTE:1d

  '28':
    # The punishment reason
    reason: ʙᴀɴ ᴇᴠᴀꜱɪᴏɴ
    # The ID of the category the punishment will be displayed in
    # <!> This ID is found within config.yml
    categories:
      - 7
    # The punishment offences & durations
    punishments:
      '1': TEMPIPBAN:1d

Configuration files for Velocity
Code:
dependency = "LiteBans"
benchmarking = false
offline-mode = false

[messages]
no-permission = "&c&l[!]&c You don't have access to this!"
player-not-found = "&c&l[!]&c Player not found."
unknown-punishment = "&c&l[!]&c Couldn't find a punishment for \"%reason%\"."
no-punishments-found = "&c&l[!]&c No punishments were found for punishment tree #%id%!"
cannot-punish-self = "&c&l[!]&c You can't punish yourself!"
usage = "&a/%command%"
help-header = '&e-- &a&lYottabyte Punishments Help &e-- &7(&ePage %page%&7/&e%total_pages%&7)'
help-entry = '&a%command%&7-> &7%description%'

plugin-reloaded = "&a&l[!]&7 You reloaded &aYottabyte Punishments&7!"
lore-overflow = "&7and %amount% more..."
status-active = "&a[ACTIVE]"
status-inactive = "&7[INACTIVE]"
format-history-perm = " %status% &7&o(%time%&7&o) &a%type_verb%&7 by &a%punisher%"
format-history-temp = " %status% &7&o(%time%&7&o) &a%type_verb%&7 for &a%duration%&7 by &a%punisher%"
format-punishment-tree = " &7- #%order% &a%punishment_type% &7(%time%)"

[discord]
enabled = false
show-validation-message = true
webhook-url = ""

[commands]
warn = "warn %player% %reason%"
tempmute = "tempmute %player% %time% %reason%"
mute = "mute %player% %reason%"
iptempmute = "iptempmute %player% %time% %reason%"
ipmute = "ipmute %player% %reason%"
kick = "kick %player% %reason%"
tempban = "tempban %player% %time% %reason%"
ban = "ban %player% %reason%"
iptempban = "tempipban %player% %time% %reason%"
ipban = "ipban %player% %reason%"
silent-warn = "warn -s %player% %reason%"
silent-tempmute = "tempmute -s %player% %time% %reason%"
silent-mute = "mute -s %player% %reason%"
silent-iptempmute = "iptempmute -s %player% %time% %reason%"
silent-ipmute = "ipmute -s %player% %reason%"
silent-kick = "kick -s %player% %reason%"
silent-tempban = "tempban -s %player% %time% %reason%"
silent-ban = "ban -s %player% %reason%"
silent-iptempban = "tempipban -s %player% %time% %reason%"
silent-ipban = "ipban -s %player% %reason%"
Code:
[punishments.1]
reason = "ꜱᴘᴀᴍᴍɪɴɢ"
aliases = ["spam", "spamming", "flood", "flooding"]

[punishments.1.punishments]
1 = "WARN:5d"
2 = "TEMPMUTE:30m"
3 = "TEMPMUTE:1h"
4 = "TEMPMUTE:4h"
5 = "MUTE"

[punishments.2]
reason = "ᴄᴀᴘꜱ ᴀʙᴜꜱᴇ"
aliases = ["caps", "excessivecaps"]

[punishments.2.punishments]
1 = "WARN:5d"
2 = "TEMPMUTE:30m"
3 = "TEMPMUTE:1h"
4 = "TEMPMUTE:4h"
5 = "MUTE"

[punishments.3]
reason = "ᴄʜᴀʀᴀᴄᴛᴇʀ ᴀʙᴜꜱᴇ"
aliases = ["characters", "chars", "excessivechars"]

[punishments.3.punishments]
1 = "WARN:5d"
2 = "TEMPMUTE:30m"
3 = "TEMPMUTE:1h"
4 = "TEMPMUTE:4h"
5 = "MUTE"

[punishments.4]
reason = "ᴛʀᴏʟʟɪɴɢ"
aliases = ["troll", "playertrolling"]

[punishments.4.punishments]
1 = "WARN:5d"
2 = "TEMPMUTE:30m"
3 = "TEMPMUTE:1h"
4 = "TEMPMUTE:4h"
5 = "MUTE"

[punishments.5]
reason = "ᴘʟᴀʏᴇʀ ᴅɪꜱʀᴇꜱᴘᴇᴄᴛ"
aliases = ["disrespect", "playerdisrespect"]

[punishments.5.punishments]
1 = "WARN:5d"
2 = "TEMPMUTE:30m"
3 = "TEMPMUTE:1h"
4 = "TEMPBAN:30m"

[punishments.6]
reason = "ɴꜱꜰᴡ ʙᴇʜᴀᴠɪᴏᴜʀ"
aliases = ["nsfw", "nsfwcontent"]

[punishments.6.punishments]
1 = "TEMPMUTE:30m"
2 = "TEMPMUTE:1h"
3 = "TEMPMUTE:3h"
4 = "TEMPBAN:6h"

[punishments.7]
reason = "ꜱᴡᴇᴀʀɪɴɢ/ꜰᴏᴜʟ ʟᴀᴜɢᴜᴀɢᴇ"
aliases = ["swearing", "toxicity"]

[punishments.7.punishments]
1 = "TEMPMUTE:10m"
2 = "TEMPMUTE:20m"
3 = "TEMPMUTE:30m"
4 = "TEMPBAN:1h"

[punishments.8]
reason = "ʜᴀᴛᴇꜰᴜʟ ꜱᴘᴇᴇᴄʜ"
aliases = ["hatespeech", "hatefulspeech"]

[punishments.8.punishments]
1 = "TEMPMUTE:2h"
2 = "TEMPMUTE:3h"
3 = "TEMPMUTE:6h"
4 = "TEMPBAN:12h"

[punishments.9]
reason = "ᴜɴᴜꜱᴇꜰᴜʟ ʟɪɴᴋꜱ"
aliases = ["links", "nonrelatedlinks"]

[punishments.9.punishments]
1 = "TEMPMUTE:12h"
2 = "TEMPMUTE:1d"
3 = "TEMPMUTE:3d"
4 = "TEMPBAN:12h"

[punishments.10]
reason = "ʟɪɢʜᴛ ᴀᴅᴠᴇʀᴛɪꜱɪɴɢ"
aliases = ["ladvertising"]

[punishments.10.punishments]
1 = "WARN:30d"
2 = "TEMPMUTE:3h"
3 = "TEMPMUTE:6h"
4 = "TEMPBAN:2d"
5 = "TEMPBAN:7d"
6 = "TEMPBAN:14d"

[punishments.11]
reason = "ᴀᴅᴠᴇʀᴛɪꜱɪɴɢ"
aliases = ["advert"]

[punishments.11.punishments]
1 = "TEMPIPBAN:7d"
2 = "IPBAN"

[punishments.12]
reason = "ᴄʜᴀʀɢᴇʙᴀᴄᴋ/ᴄʜᴀʀɢᴇʙᴀᴄᴋ ᴛʜʀᴇᴀᴛꜱ"
aliases = ["cb", "chargeb", "chargeback"]

[punishments.12.punishments]
1 = "IPBAN"

[punishments.13]
reason = "ᴍɪɴᴏʀ ʙᴜɢ ᴀʙᴜꜱᴇ"
aliases = ["minorbug"]

[punishments.13.punishments]
1 = "TEMPBAN:7d"
2 = "TEMPBAN:14d"

[punishments.14]
reason = "ᴍᴀᴊᴏʀ ʙᴜɢ ᴀʙᴜꜱᴇ"
aliases = ["majorbug"]

[punishments.14.punishments]
1 = "BAN"

[punishments.15]
reason = "ʜᴀᴄᴋᴇᴅ ᴄʟɪᴇɴᴛ"
aliases = ["cheating", "cheater", "hackedclient"]

[punishments.15.punishments]
1 = "TEMPBAN:14d"
2 = "TEMPBAN:30d"
3 = "BAN"

[punishments.16]
reason = "ᴅᴏx ᴛʜʀᴇᴀᴛꜱ"
aliases = ["doxthreat", "ddosthreat"]

[punishments.16.punishments]
1 = "IPBAN"

[punishments.17]
reason = "ʀᴇʟᴇᴀꜱᴇ ᴏꜰ ᴘᴇʀꜱᴏɴᴀʟ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ"
aliases = ["personalinfo", "personalinformation"]

[punishments.17.punishments]
1 = "TEMPMUTE:12h"
2 = "TEMPMUTE:2d"
3 = "TEMPMUTE:4d"
4 = "IPMUTE:7d"
5 = "TEMPBAN:7d"

[punishments.18]
reason = "ꜱᴛᴀꜰꜰ ɪᴍᴘᴇʀꜱᴏɴᴀᴛɪᴏɴ"
aliases = ["impersonation"]

[punishments.18.punishments]
1 = "WARN:7d"
2 = "TEMPMUTE:3h"
3 = "TEMPMUTE:6h"
4 = "TEMPMUTE:12h"
5 = "IPMUTE:1d"

[punishments.19]
reason = "ʀᴀᴄɪꜱᴍ"
aliases = ["racism", "racist"]

[punishments.19.punishments]
1 = "TEMPMUTE:7d"
2 = "MUTE"
3 = "IPMUTE:7d"
4 = "IPMUTE"

[punishments.20]
reason = "ꜱᴛᴀꜰꜰ ᴅɪꜱʀᴇꜱᴘᴇᴄᴛ"
aliases = ["staffdiss", "staffdisrepsect"]

[punishments.20.punishments]
1 = "WARN"
2 = "TEMPMUTE:3h"
3 = "TEMPMUTE:12h"
4 = "TEMPBAN:1d"

[punishments.21]
reason = "ꜰᴏʀɢᴇʀʏ"
aliases = ["lying", "forgery"]

[punishments.21.punishments]
1 = "IPBAN"

[punishments.22]
reason = "ᴍᴀᴄʀᴏꜱ/ꜱᴄʀɪᴘᴛɪɴɢ"
aliases = ["macro", "script"]

[punishments.22.punishments]
1 = "TEMPBAN:14d"
2 = "BAN"

[punishments.23]
reason = "ꜱᴄᴀᴍᴍɪɴɢ"
aliases = ["scam", "scammer", "scamming"]

[punishments.23.punishments]
1 = "IPBAN"

[punishments.24]
reason = "ɪɴᴀᴘᴘʀᴏᴘʀɪᴀᴛᴇ ʙᴜɪʟᴅꜱ"
aliases = ["nsfwbuild", "innapbuild"]

[punishments.24.punishments]
1 = "TEMPBAN:2d"
2 = "TEMPBAN:7d"
3 = "TEMPBAN:14d"
4 = "TEMPBAN:30d"

[punishments.25]
reason = "ɪɴᴀᴘᴘʀᴏᴘʀɪᴀᴛᴇ ꜱᴋɪɴ/ɴᴀᴍᴇ"
aliases = ["nsfwskin", "nsfwname", "innapname", "innapskin"]

[punishments.25.punishments]
1 = "TEMPBAN:14d"
2 = "BAN"

[punishments.26]
reason = "ʙᴏᴛᴛɪɴɢ"
aliases = ["bot", "botting"]

[punishments.26.punishments]
1 = "IPBAN"

[punishments.27]
reason = "ᴍᴜᴛᴇ ᴇᴠᴀꜱɪᴏɴ"
aliases = ["mevasion"]

[punishments.27.punishments]
1 = "TEMPIPMUTE:1d"

[punishments.28]
reason = "ʙᴀɴ ᴇᴠᴀꜱɪᴏɴ"

[punishments.28.punishments]
1 = "TEMPIPBAN:1d"

Common configuration files for the Discord webhook (every punishment type has their own JSON payload for maximum customization)
JSON:
{
  "username": "Yottabyte Punishments",
  "avatar_url": "https://www.spigotmc.org/data/resource_icons/81/81146.jpg",
  "content": "",
  "embeds": [
    {
      "author": {
        "name": "",
        "url": "",
        "icon_url": ""
      },
      "title": "",
      "url": "",
      "description": "**%player%** has been punished",
      "color": 15105570,
      "fields": [
        {
          "name": "👮┃Staff Member",
          "value": "```%punisher%```",
          "inline": true
        },
        {
          "name": "⏳┃Duration",
          "value": "```%duration%```",
          "inline": true
        },
        {
          "name": "🌐┃Server",
          "value": "```%server%```",
          "inline": true
        },
        {
          "name": "🔨┃Punishment Type",
          "value": "```%punishment_type%```",
          "inline": true
        },
        {
          "name": "💬┃Reason",
          "value": "```%reason%```",
          "inline": true
        }
      ],
      "thumbnail": {
        "url": "https://cravatar.eu/helmavatar/%player%/600"
      },
      "image": {
        "url": ""
      },
      "footer": {
        "text": "Powered by Yottabyte Development",
        "icon_url": "https://www.spigotmc.org/data/resource_icons/81/81146.jpg"
      }
    }
  ]
}

commands.jpg

  • /punish <player> [reason|alias|id] [-s] - Punish a player
  • /punishment help - Display the help page for the /punishment command
  • /punishment about - Display information about the plugin
  • /punishment hooks - Display the status of the plugin's hooks
  • /punishment reload - Reload the plugin

permissions.jpg


yottabyte.punishments.command.punishAccess to /punish <player> [reason|alias|id] [-s]
yottabyte.punishments.command.punishments.*Access to all /punishments commands
yottabyte.punishments.command.punishments.helpAccess to /punishments help
yottabyte.punishments.command.punishments.aboutAccess to /punishments about
yottabyte.punishments.command.punishments.hooksAccess to /punishments hooks
yottabyte.punishments.command.punishments.reloadAccess to /punishments reload
Author
Wekylend
Type
Digital
License duration
Unlimited
Price
8.49 USD
Views
103
First release
Last update

Ratings

0.00 star(s) 0 ratings

Latest updates

  1. Version 2.0.2-RELEASE

    Initial release date: Feb 23, 2025 Fixes for 1.21.3 Add support for 1.21.4 Another fix for...