add and configure CommandWhitelist

allows to forbid certain command execution and hide their completion
This commit is contained in:
cuqmbr 2025-08-03 22:58:00 +03:00
parent 17b3fc2590
commit 6ae358a2ac
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C
2 changed files with 80 additions and 0 deletions

BIN
src/plugins/CommandWhitelist-Bukkit-2.12.0.jar (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,77 @@
# Messages use MiniMessage formatting (https://docs.adventure.kyori.net/minimessage/format)
messages:
prefix: ''
command_denied: ''
subcommand_denied: ''
no_permission: ''
no_such_subcommand: ''
config_reloaded: <yellow>Configuration reloaded.
added_to_whitelist: <yellow>Whitelisted command <gold>%s <yellow>for permission
<gold>%s
removed_from_whitelist: <yellow>Removed command <gold>%s <yellow>from permission
<gold>%s
group_doesnt_exist: <red>Group doesn't exist or error occured
# Do not enable if you don't have issues with aliased commands.
# This requires server restart to take effect.
use_protocollib: false
# Valid message types are CHAT and ACTIONBAR. Does nothing on velocity.
message_type: CHAT
groups:
default:
commands:
- tell
- reply
- ignore
- unignore
- discord
subcommands:
- discord ?
- discord help
- discord link
- discord linked
- discord clearlinked
role_moder:
commands:
- ban
- unban
- ipban
- unbanip
- banlist
- mute
- unmute
- ipmute
- unmuteip
- mutelist
- warn
- unwarn
- ipwarn
- unwarnip
- warns
- history
- alts
- kick
- ipkick
- blame
- vanish
- openender
- openinv
- grim
- coreprotect
- vmute
- vunmute
- vmutelist
- gamemode
- tp
subcommands:
- gamemode adventure
- gamemode creative
role_admin:
commands:
- luckperms
- searchender
- searchenchant
- searchcontainer
subcommands: []