I'm making a new plugin that is going to have multiple commands in it. I want to have a commands folder in the source file so I can easily call the commands, and not have to write a bunch of code for each command on one file. My only problem is, I don't know how to call the commands when I need to . Can someone help me out with this?
In EssentialsPE, the command classes are registered as command classes (rather than using PluginCommand, the class used for commands registered at plugin.yml) in onEnable via Server->getCommandMap()->registerAll()