Could someone link me to source code containing a good example of sub-commands or a tutorial on this? By sub commands I mean commands with an argument that is used to entirely change the functionality of the command (i.e. /pluginname command1 and /pluginname command2).
Please edit this thread with more detail. I kind of know what you meant but please explain in more detail.
how about you start writing code and when you have a problem post the problem, people aren't gonna just write out your code for you, I recomend looking at the bukkit wiki for plugin devs.
look at this https://github.com/phaed420/SimpleClans it is realy simple and clean. thanks to phaed420
you dont need to declar the commands you can make this in the code. you had a CommandManager the Manage all the Commands. PlayerLister for onPlayerCommand https://github.com/phaed420/SimpleC...d/simpleclans/listeners/SCPlayerListener.java CommandManager https://github.com/phaed420/SimpleC...haed/simpleclans/managers/CommandManager.java Commands looks like this... https://github.com/phaed420/SimpleC...th/phaed/simpleclans/commands/BanCommand.java And dont forget to register the Command Event for the PlayerListener then it works grate and you can easy make sub sub sub commands or what ever you want.