Mod Jatt Founders
Number of posts : 333 Location : 209 Registration date : 2008-03-28
Character Charts Sikhscape wars, Sikh, Demons, Death Demon:
| Subject: [TUT] Changing ::Starter items [TUT] Mon Sep 15, 2008 11:03 pm | |
| ~~This is another basic tutorial by me, Jatt, and more advanced Tutorials will come out after the release of SikhScape 508 AKA SikhScape Premium. ~~First, go into your client.java and press CTRL + F and type this: - Code:
-
"starter" Then this should show up: - Code:
-
else if (command.equalsIgnoreCase("starter") && playerRights >= 0) { addItem(995, 200000000); } sendMessage("SikhScape Starter Package"); }
This below is an item you receive fro ::starter command. Notice that 995 is the item id, and that 200000000 is the amount of that item you want to receive. - Code:
-
addItem(995, 200000000); You can also add more item codes, heres an example. - Code:
-
else if (command.equalsIgnoreCase("starter") && playerRights >= 0) { addItem(995, 200000000); addItem(7867, 1); } sendMessage("SikhScape Starter Package"); }
The send messages can be changed as well. - Code:
-
sendMessage("SikhScape Starter Package"); Lets say for example, Darkchipper wants to change the message for SikhScape or his server. He will change the stuff in teh parenthesis "". - Code:
-
sendMessage("Darkchipper Owns you still!"); Here are the playerrights. - Code:
-
[playerRights >= 0 You can change the zero = 0 to any number. 0=anyone, 1=mod, 2=admin, 3=owner, 4=hidden owner I would recommend keeping it 0 for everyone. Credits: 20% Full Metalst, 80% Jatt (me) | |
|
Mod Syco Top Poster!
Number of posts : 424 Age : 31 Location : Massachusetts Registration date : 2008-06-24
Character Charts Sikhscape wars, Sikh, Demons, Death Demon:
| Subject: Re: [TUT] Changing ::Starter items [TUT] Tue Sep 16, 2008 7:07 am | |
| Nice Jatt. This will come in handy when i decide to finish up my server. But still good job with this. | |
|
Mod Jatt Founders
Number of posts : 333 Location : 209 Registration date : 2008-03-28
Character Charts Sikhscape wars, Sikh, Demons, Death Demon:
| Subject: Re: [TUT] Changing ::Starter items [TUT] Wed Sep 17, 2008 9:06 am | |
| i explained this through all of it step by step, if people dont understand it then they gotta find out lol. | |
|
Fat pure13 I Have your Poster on my Wall.
Number of posts : 253 Age : 31 Location : Hell Registration date : 2008-08-08
| Subject: Re: [TUT] Changing ::Starter items [TUT] Wed Sep 17, 2008 7:48 pm | |
| Youve made it pretty simple now its very easy now that you have put it this way ty for da help | |
|
Mod Jatt Founders
Number of posts : 333 Location : 209 Registration date : 2008-03-28
Character Charts Sikhscape wars, Sikh, Demons, Death Demon:
| Subject: Re: [TUT] Changing ::Starter items [TUT] Wed Sep 17, 2008 7:56 pm | |
| Well the other tutorial is way easier than this one, the other one was for what items you are wearing when you first make an account on teh server, and this one is for the command ::starter and thanks | |
|
Sponsored content
| Subject: Re: [TUT] Changing ::Starter items [TUT] | |
| |
|