
OPShield
Protects your server from OP/admin abuse with console-only OP (via password) and optional admin command restriction.
38
1
Список изменений
[1.1.1] — 2026-03-11
Fixed
- Alias bypass (EssentialsX and other plugins): Non-OPs could use blocked commands via aliases
(
/gm,/gms,/tpa,/tphere, etc.) because the plugin compared only the typed text. Commands are now resolved to their canonical name via Bukkit'sCommandMapbefore checking the block list, so aliases are caught automatically without needing to enumerate them in config. - Non-OP players could not use
/op <player> <password>:"op"was listed inblocked_commands, causingPlayerCommandPreprocessEventto cancel the command before it ever reachedonCommand. Password-based OP now works correctly for non-OP players. - Password exposed in
logs/latest.log:/opand/deopevents were not cancelled before Bukkit logged them, so the password appeared in plain text in console output and log files. The event is now cancelled immediately and dispatched directly toonCommandinternally. getRemainingLockoutTimeshowed inflated minutes: Integer division added an extra minute at every boundary (e.g. 5 seconds remaining showed "1 minute"). Fixed to ceiling division.
Файлы
OPShield-1.1.1.jar(16.42 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.1.1
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
9
Дата публикации
3 нед. назад
