Are you looking to change the display name completely? Changing the name completely requires you to intercept and modify the packet before it...
@dunklesToast In that case then put that if statement in your event listener and it will fire when a player logs in.
@AJProCoding use a FOR loop to iterate through the online players.
@dunklesToast When are you checking what armor the player has on? Assuming you can already get the player then this would most probably work:...
driver-e I haven't yet no, I will give it a go.
zombiekiller753 Thanks, I will try this if it does not work :-)
So I have been revisiting my plugins and I have been trying to get the Id of an item in the players hand. Now before I used this:...
sluttycow Post a bug report to the essentials dev's. I'm sure they will fix it. http://support.ess3.net/
CubieX Well the code itself works fine without the lore checking, Ill add a ".hasLore()" statement beforehand.
Heres my full code:...
CubieX Now Im getting a NPE on line 97 which is the if statement above :S
Seadragon91 Thanks but it still does nothing :S
CubieX Thanks for the tip about the parenthesis but it still doesn't work. Have I setup to the...
So I'm trying to add Lore Checking to my plugin so that if the item has a certain lore they will receive potion effects. So I have tried this:...
Jacek Very nice tutorial, easy to follow. Thanks :)
Instead of "e.setTo(e.getFrom());"
Location loc = p.getLocation;
Very nice idea :)
Bjor No problem :)
Separate names with a comma.