Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Koekjeee, Apr 22, 2017.
How do i change the command not found message?
In Spigot.yml you can change; unknown-command: Unknown command. Type "/help" for help.
Change unknown-command in your spigot.yml.
Edit: @TheBlackTeddy was faster
But can i do it in my plugin too? So i can add colors and stuff like that?
Colour codes should work in the soigot.yml file if I remember correctly.
If not just use the paragraph character
In your Spigot config unknown-command.
If you want to use colors use this example:
unknown-command: '&9GD &7// Command not found....'
Yes, you can
SpigotConfig.unknownCommandMessage = ChatColor.RED + "Whatever";
Since when was that class added, and why have I never been told about it