- Joined
- Feb 3, 2009
- Messages
- 405
- Reaction score
- 73
Requested by: http://forum.ragezone.com/f425/can-someone-make-a-tut-on-593482/
Okay, so this is a guide for the nibs, this is how you add a COMMAND.
(I'll be adding a random command. o_o.)
(I'll also be doing it for a player command.)
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.
Note: If you need help adding a command because you don't know how although you read this thread, just post the command you want to add/the GM/Player/Admin command.java so i can add it for you.
Okay, so this is a guide for the nibs, this is how you add a COMMAND.
(I'll be adding a random command. o_o.)
(I'll also be doing it for a player command.)
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.
Note: If you need help adding a command because you don't know how although you read this thread, just post the command you want to add/the GM/Player/Admin command.java so i can add it for you.
Last edited:

