Hey guys!
If any of you feel like trolling your players, or friends on your server then you're in luck! I think 80% of people know about this partyhat because it was found in runescape due to a glitch.
Phat code = 2422.
What I've done is..
In the client --> itemdef
Code:
case 2422:
itemDef.actions = new String[5];
itemDef.actions[0] = "Wear";
itemDef.name = "Blue partyhat";
itemDef.description = " @blu@TRLOLOLOLOLOLL".getBytes();
break;
^So they can't actually wear it.
In the server ---> clickitem
Code:
if (itemId == 2422) {
c.sendMessage("@blu@TROLOLOLOL You don't get a phat that easy!");
}
Just a little show of what it does, even though it says it right there ^
If you really don't know how to make it untradable go into "config.java" Add it's ID to sellable and tradable.
The reason this is in configurations is because this isn't really useful, just for fun and can be edited in so many ways. If you wanted to add another colour partyhat you could also use this one.
Don't reply with like "waste" "faggot" "No-one cares" Because I already know who's going to say it