Hello,
Recently I noticed the 'Disable TabComplete' hides all the commands while you have some commands whitelisted.
While looking through the source code I found the problem!
You are using this to first clear the commands and then add back the whitelisted ones. But Bukkit doesn't allow you to add back commands. You can only remove them.
To fix this you have to add all the commands in a list except the whitelisted ones. Then you just remove them.
Hello, Recently I noticed the 'Disable TabComplete' hides all the commands while you have some commands whitelisted. While looking through the source code I found the problem!
You are using this to first clear the commands and then add back the whitelisted ones. But Bukkit doesn't allow you to add back commands. You can only remove them.
To fix this you have to add all the commands in a list except the whitelisted ones. Then you just remove them.
Example:
I hope this helps to fix the problem. Have a nice day!