Just wondering, why would anyone try to spawn item 20000 ?
|
|
Hi, I wanted to know how to make the item "null" or ::item 20000 1 unspawnable. I've gone into commands.java, i've tried putting the name there, and when I compiled, and saved, and I went on a test acc, I could still spawn it.
Someone help please? All attempted help will be repped.
Thanks,
Mustang
Just wondering, why would anyone try to spawn item 20000 ?
Umm its cause this source is dangerous pvp, and if you spawn item 20000 and have it in your inv while pking, and you use the prot item pray, when you die you keep all stuff >.>
You could make it so only admin+ can spawn it.
Yea, how?
Ok go to Commands.Java then seach for deg,
Then you'll see things like 25, 50, 75, and other stuff like that just add in null, and it should work Im sorry I cant be of more help but Im at school atm and my source is on other USB p.s. Teacher is total babe rofl
Um that doesn't even work, someone please help..

Tip:
Or post your command and I'll spoonfeed for you.Code:String command = "item 2 3"; String[] args = command.split(" "); int itemID = Integer.parseInt(args[1]); int amount = Integer.parseInt(args[2]); if (itemID > 16000) /* this is the limit, any ID above 16000 in unspawnable */ { /* your command content... player.addItem(itemID, amount); or something like this :D */ }
Uhm I don't really understand what is said in there, I have set a max spawn limit of 2000 also..
| « [562][rs2hd]Female Model Help ^^ | how to add emotes to turmoil and ss z525 » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |