SikhScape
Would you like to react to this message? Create an account in a few clicks or log in to continue.
SikhScape

This is a forum where the players of SikhScape can chat and find out the newest updates and on of this game. It is not just for a server or game, but a community for talking and online gaming! Please take the time to register!
 
HomeHome  PortalPortal  Latest imagesLatest images  RegisterRegister  Log inLog in  VIP Only!  

 

 [TUT] Changing ::Starter items [TUT]

Go down 
3 posters
AuthorMessage
Mod Jatt
Founders
Mod Jatt


Number of posts : 333
Location : 209
Registration date : 2008-03-28

Character Charts
Sikhscape wars, Sikh, Demons, Death Demon:

[TUT] Changing ::Starter items [TUT] Empty
PostSubject: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitimeMon 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)
Back to top Go down
http://sikhscape.ogamefever.com
Mod Syco
Top Poster!
Top Poster!
Mod Syco


Number of posts : 424
Age : 31
Location : Massachusetts
Registration date : 2008-06-24

Character Charts
Sikhscape wars, Sikh, Demons, Death Demon:

[TUT] Changing ::Starter items [TUT] Empty
PostSubject: Re: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitimeTue 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.
Back to top Go down
https://www.youtube.com/futuramakicksass
Mod Jatt
Founders
Mod Jatt


Number of posts : 333
Location : 209
Registration date : 2008-03-28

Character Charts
Sikhscape wars, Sikh, Demons, Death Demon:

[TUT] Changing ::Starter items [TUT] Empty
PostSubject: Re: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitimeWed 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.
Back to top Go down
http://sikhscape.ogamefever.com
Fat pure13
I Have your Poster on my Wall.
Fat pure13


Number of posts : 253
Age : 31
Location : Hell
Registration date : 2008-08-08

[TUT] Changing ::Starter items [TUT] Empty
PostSubject: Re: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitimeWed 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
Back to top Go down
Mod Jatt
Founders
Mod Jatt


Number of posts : 333
Location : 209
Registration date : 2008-03-28

Character Charts
Sikhscape wars, Sikh, Demons, Death Demon:

[TUT] Changing ::Starter items [TUT] Empty
PostSubject: Re: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitimeWed 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
Back to top Go down
http://sikhscape.ogamefever.com
Sponsored content





[TUT] Changing ::Starter items [TUT] Empty
PostSubject: Re: [TUT] Changing ::Starter items [TUT]   [TUT] Changing ::Starter items [TUT] Icon_minitime

Back to top Go down
 
[TUT] Changing ::Starter items [TUT]
Back to top 
Page 1 of 1
 Similar topics
-
» ~~Changing Starter Armor~~
» Items wanted.

Permissions in this forum:You cannot reply to topics in this forum
SikhScape :: Teh Chest :: The chest-
Jump to: