I’m trying to create a simple command for my plugin, but I am stuck at the first hurdle. I’m unable to use the command manager to register a command!
I’ve tried assigning it as a variable but that hasn’t helped. I’m assuming it’s to do with my project setup, but I can’t think of what could be causing it, as I’m new to plugin development.
I’ve put it on Github, in the hope that this will be the best way to share my project setup and allow people to have a good look around themselves.
I can use Sponge.getCommandManager when assigning it to the cmdManager variable, but other than there it doesn’t even appear on the autofiller.
Any help would be appreciated, especially if you could explain what’s causing the issue as well as providing a solution, so that I can avoid or at least fix this kind of problem in the future.
Thank you in advance!