Anyone know how to remove it from saying this when you run a command? It seems to just log the command you are running into the chat and its really annoying. If you know an easy fix, as I have never seen this before, please let me know down below.
Anyone know how to remove it from saying this when you run a command? It seems to just log the command you are running into the chat and its really annoying. If you know an easy fix, as I have never seen this before, please let me know down below.
I did there's an Imgur.Fix what? send us a screen shoot
Oh, i think that's because you are using 1.13 version.I did there's an Imgur.
So there is no actual fix to this its just 1.13?Oh, i think that's because you are using 1.13 version.
I don't think so.So there is no actual fix to this its just 1.13?
Nah it does matter, you should check the spigot wiki.[DOUBLEPOST=1554279655][/DOUBLEPOST]Randomizable change the return from "false" to "true" at the end of the commands code.Wouldn't matter what it returns, it's just not properly registered as said above.
getCommand("yourcommand").setExecutor(new YourCommandClass());
Executes the given command, returning its success.
If false is returned, then the "usage" plugin.yml entry for this command (if defined) will be sent to the player.
Your command isn't properly registered, it doesn't matter the slightest whether you have false or true at the end of onCommand. The above suggestions that true or false plays any role are completely false.
Make sure you register your command in onEnable like this:
Code:getCommand("yourcommand").setExecutor(new YourCommandClass());
"if defined", it's not required in any way. Commands will still work whether you have it set to true or false, he just didn't register it.Quote from JavaDocs:
They work, but it will send the usage defined in the plugin.yml."if defined", it's not required in any way. Commands will still work whether you have it set to true or false, he just didn't register it.
If it's not registered, it'd say that it's an unknown command."if defined", it's not required in any way. Commands will still work whether you have it set to true or false, he just didn't register it.
Either way, the thread starter never mentioned that his plugin.yml contains "usage" so changing true from false wouldn't do anything either. Usage isn't the only way or requisite to display that debug message.
I'm not saying that it won't work, Zyger just assumed that it was usage while it also may not be that. Not registering your commands properly can also lead to that debug message showing.They work, but it will send the usage defined in the plugin.yml.
It is registered properly"if defined", it's not required in any way. Commands will still work whether you have it set to true or false, he just didn't register it.
Either way, the thread starter never mentioned that his plugin.yml contains "usage" so changing true from false wouldn't do anything either. Usage isn't the only way or requisite to display that debug message.
