Its been a while since I made an update but here you go. This should fix any CheatPrevention issues that people are having.
Expansion - Cheat Prevention
- Removed command list and whitelist mode
- Added `blocked-commands` and `allowed-commands`
- Check below to see how your config should look
cheat prevention.yml
Code (YAML):
commands
:
# This is a list of commands that will be blocked
# You must type the / or the command will not be blocked
# If a plugin does not register commands properly, they may not be blocked
# The plugin checks the command with startsWith, so if you want to block `/t` and allow `/tpa`, put `/tpa` in the allowed list
# Use "*" to block all commands
blocked-commands
:
-
"/spawn"
-
"/warp"
-
"/tp"
-
"/msg"
-
"/fly"
# This is a list of commands that bypass the blocked command list
# This list is meant for commands that start with a blocked command or a sub-command
# Use "*" to allow all commands and ignore the blocked command list completely
allowed-commands
:
-
"/msg SirBlobman"
-
"/warp pvp"