Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Command Whitelist Plugin Wiki › Guides › Customize the 'Command Not Found' Message

Customize the 'Command Not Found' Message

Replace Default Error Messages with Custom Text

Instead of showing the standard "no such command" message, display your own branding or custom message when players try to use restricted commands.

Steps:

1. Access the plugin's configuration file

2. Locate the message customization section

3. Replace the default "no such command" text with your custom message

4. Use color codes or formatting if your server supports them

5. Reload or restart the plugin to apply changes

6. Test by having a restricted player attempt a blocked command

Keep Messages Clear

Your custom message should clearly indicate that the command is unavailable or restricted, rather than pretending the command doesn't exist. This helps players understand the server's rules and reduces confusion. Avoid messages that might mislead players into thinking they've made a typo.