When a player issues a command /somecommand the command works, but afterwards it says "Unknown command"?
I've noticed this happens too on the Area Protection script?
Any reason? And can we stop this from showing up?
When a player issues a command /somecommand the command works, but afterwards it says "Unknown command"?
I've noticed this happens too on the Area Protection script?
Any reason? And can we stop this from showing up?
This output comes from a script or a plugin, i.e. a plugin or script explicitly sends this message. Our example AreaProtection script had this line at the bottom of the command listener (i.e. if a command was entered which isn't used by the AP script, it outputs the "Unknown command" message). It's recommendable to remove this line if more than one script/plugin is in use.
If you're using an unmodified version of our example AP script, you can remove the lines 249 and 250 in the "commandListener.lua" file to get rid of this message
Ah it must be in the Area Protection script, I'll take a look for that line you mentioned!
Don’t have an account yet? Create a new account now and be part of our community!