How It Works
Imagine you just de-opped a player named Steve.
- Steve tries to run /gamemode creative.
- sCmdHide checks if Steve is an OP or has the bypass permission. He has neither.
- It sees that gamemode is in your blocked commands list.
- The command is cancelled instantly.
- Steve sees a beautiful, custom message in his chat and on his screen, and hears a sound effect.
- An alert is sent to all online admins: [!] Steve tried to use the blocked command: /gamemode creative.