▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/AntiOPAbuse
AntiOPAbuse

AntiOPAbuse

Admin command transparency: monitors privileged command usage and reports it via chat broadcast, rotating file logs, console and an optional Discord webhook. Deterrence, not blocking.

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

AntiOPAbuse

Admin command transparency for Paper/Purpur 1.21.x (Java 21).

Version 1.0.0 · Minecraft 1.21 – 1.21.11 · Server-side

AntiOPAbuse watches privileged command usage and makes it visible. Every time an operator (or a configured audience) runs a sensitive command, the plugin can broadcast it in chat, write it to a rotating log file, print it to the console, and optionally post it to a Discord webhook.

What it is not. Despite the name, AntiOPAbuse does not block or cancel anything. It is a transparency and deterrence tool: an audit trail plus visibility for staff. A determined operator can still disable the plugin or run commands through paths that are not covered (see Limitations).

Features

  • Command monitoring. Watches a configurable list of sensitive command base names, with namespace stripping (/minecraft:give becomes give) and an exclusion list.
  • Monitoring modes. OP_ONLY (recommended), PERMISSION (players holding a configured node), or ALL. Console commands can be included; command-block coverage is not implemented (see Limitations).
  • Chat broadcast. Audience ALL, STAFF (holders of antiopabuse.notify) or NONE, with an optional notification sound and full-command or base-only display.
  • File logging. Rotating log file with configurable size, optional UUID/IP fields and a custom date format.
  • Console logging at INFO or WARNING level.
  • Optional Discord webhook with username, embed color and rate limiting.
  • Localization. Bundled en_US, pt_PT and fr_FR (MiniMessage); optional PlayerSettings integration for per-player language.

Commands

Single command /antiopabuse with alias /aoa.

CommandDescriptionPermission
/antiopabuse reloadReload the configuration.antiopabuse.admin
/antiopabuse statusShow current monitoring status.antiopabuse.admin
/antiopabuse testSend a test detection/broadcast.antiopabuse.admin

Permissions

NodeDescriptionDefault
antiopabuse.adminAccess to /antiopabuse admin commands.op
antiopabuse.notifyReceives broadcasts when the audience is set to STAFF.op
antiopabuse.exemptExempts a player from monitoring entirely.false

The antiopabuse.exempt node defaults to false on purpose so that operators are not exempt. An additional node (default antiopabuse.monitored, configurable) is checked only when the monitoring mode is PERMISSION.

Configuration

Key config.yml settings:

monitoring:
  mode: OP_ONLY                 # OP_ONLY | PERMISSION | ALL
  monitor-permission: "antiopabuse.monitored"
  monitor-console: true
  monitor-command-blocks: false # not implemented (see Limitations)

monitored-commands:             # base names; matched by startsWith
  - execute                     # proxy command — watched so it cannot bypass the list
  - function
  - give
  - gamemode
  - op
  - deop
  - ban
  - stop
  # ... and more

broadcast:
  enabled: true
  audience: ALL                 # ALL | STAFF | NONE
  show-full-command: true

logging:
  enabled: true
  file: "logs/commands.log"
  max-size-mb: 10

discord:
  enabled: false
  webhook-url: ""

Limitations

Be honest with your expectations; document these for your staff:

  • Proxy commands. Detection is a denylist of base command names. execute and function are monitored by default so /execute run give ... is flagged, but the plugin does not yet recursively unwrap execute ... run <cmd> to evaluate the inner command. Consider adding permission/plugin management commands (e.g. lp, pex) to the list for your setup.
  • Command blocks are not monitored (monitor-command-blocks is currently a no-op).
  • Not a block. AntiOPAbuse cannot stop an operator from disabling the plugin, editing its config or running the server without it. Its value is deterrence and catching casual abuse.

Installation

  1. Requires Paper or Purpur 1.21+ and Java 21.
  2. Drop AntiOPAbuse-1.0.0.jar into plugins/ and start the server to generate config.yml.
  3. Review monitored-commands, choose your broadcast.audience, and optionally set a Discord webhook, then run /antiopabuse reload.

Dependencies

PluginPurpose
PlayerSettingsOptional per-player language resolution (companion plugin).

No required dependencies. No database or web server.

Support / Source

Source and issues: https://github.com/henriquescrrrr/carrageis-antiopabuse

License

Released under the GNU General Public License v3.0. See LICENSE.

Партнёрский материал

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

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

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

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

Minecraft: Java Edition

26.2.x1.21.x

Платформы

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

Сервер

Ссылки

Создатели

Детали

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