▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Gavel

Gavel

GUI punishment overlay for LiteBans with automatic escalation based on a player's offense history.

Оцените первым
73
0

Gavel

Punishment GUI for LiteBans with automatic escalation.

Staff run /ban player. Gavel ignores the reason and duration they typed, opens a menu of the offences you configured, and picks the punishment from how many times that player already offended in that category. LiteBans still applies it, so broadcasts, history, cross-server sync and appeals keep working.

Hacked Client  #1  ->  15d ban
Hacked Client  #2  ->  25d ban
Hacked Client  #3  ->  permanent ban

Requirements

Spigot, Paper or any fork on 1.16 or newer, Java 8 or newer, and LiteBans.

Install

Drop the jar in plugins/, restart, edit plugins/Gavel/categories.yml, run /gavel reload.

Configuration

FileWhat is in it
categories.ymlThe offences, their escalation tiers, and the menu layout
config.ymlWhich commands are intercepted, how they run, storage, sounds
messages.ymlEvery string shown to a player

All three are commented. The part that matters is a category:

categories:
  hacked_client:
    slot: 10
    permission: 'gavel.category.hacked_client'
    expire-after: 90d
    icon:
      material: NETHERITE_SWORD
      name: '&#ff5555&lHACKED CLIENT'
      lore:
        - '&7Previous offences: &f%offenses%'
        - '%tiers%'
    tiers:
      - { type: BAN, duration: 15d, reason: 'Hacked Client #1' }
      - { type: BAN, duration: 25d, reason: 'Hacked Client #2' }
      - { type: BAN, duration: perm, reason: 'Hacked Client #3' }

Types are BAN, IPBAN, MUTE, WARN and KICK, and can be mixed inside one category. Durations use s m h d w mo y or perm.

Commands

CommandPermission
/gavel <player>gavel.use
/gavel history <player>gavel.history
/gavel clear <player> [category]gavel.admin
/gavel reloadgavel.admin
/gavel versiongavel.admin

Permissions

PermissionGrants
gavel.useThe overlay opens on punishment commands, and /gavel can be run
gavel.bypassThe raw LiteBans commands, without the overlay
gavel.category.<id>One category
gavel.silentSilent punishments with shift-click
gavel.historyA player's history
gavel.adminreload, clear and version

Good to know

  • Gavel keeps its own gavel_offenses table. With database.mode: AUTO it reuses the LiteBans database on MySQL, MariaDB or PostgreSQL, and falls back to a local SQLite file on H2, which locks its file exclusively.
  • /unban, /unmute and friends roll the counter back, so the next punishment does not escalate from one that no longer exists.
  • execution.commands are templates, so a LiteBans build with different command names is a config change rather than a recompile.
  • Player names must match exactly. A partial name is rejected instead of guessed.
  • gavel.bypass defaults to false on purpose. A blanket * permission hands it out and the overlay stops opening.
Партнёрский материал

Сервер для плагина Gavel - как у профи

Плагин Gavel создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Gavel для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.3.x26.2.x26.1.x1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:2 недели назад
Главная