Describe the bug
CommandWhitelist removes non-whitelisted commands from tab-completion, but does not block their actual execution. Players can still run commands that are not on the whitelist by typing them out fully.
Expected behavior
Commands not present in the whitelist should be blocked from execution entirely, not just hidden from tab-complete.
To Reproduce
Steps to reproduce the behavior:
- Do not add a command to the CommandWhitelist, e.g.
//expand.
- Join as a player without permission for that command.
- Press Tab after typing
//expand — command does not appear in suggestions.
- Manually type the full command anyway, e.g.
//expand 100000 up, and press Enter.
- Command executes normally instead of being blocked.
Screenshots
Additional context
Server: Paper 1.21.4
Describe the bug
CommandWhitelist removes non-whitelisted commands from tab-completion, but does not block their actual execution. Players can still run commands that are not on the whitelist by typing them out fully.
Expected behavior
Commands not present in the whitelist should be blocked from execution entirely, not just hidden from tab-complete.
To Reproduce
Steps to reproduce the behavior:
//expand.//expand— command does not appear in suggestions.//expand 100000 up, and press Enter.Screenshots
Additional context
Server: Paper 1.21.4