(I'll be adding a random command. o_o.)
(I'll also be doing it for a player command.)
Download Link for Netbeans
1) Open Netbeans It looks like this when you open it.
2) Go to your commands, ex. Player commands, Gm commands, Admin commands, . I'm doing player commands. (Ignore my unused methods)
3) Go to a a spot, before another command starts. Press enter once, And add in your command.
See where it says } else if (splitted[0].equals("@lolbored")) { ?
That's where the command starts. See how i pressed enter once? That's how you do it. Remember if your using Xotic or any source based on it, define the command at the bottom or it won't work.
Those who want to remove commands, just simply do the oppisite of what i have said above.
This works for all sources, if your using Xotic, define the command at the bottom.
4) Compile and your done. Add the jars to your dist folder.
Credits: Me