If an item isn't named, it's not safe to use .getItemMeta().getDisplayName() because it might be null (aka non-existent). So you've gotta check if...
Might as well post this :3
You're right, when there's still a player in that world. Unfortunately that resource wont take care of that. Be sure to teleport all the players...
compare the vectors of the from and to location. I think it was something along the lines of getFrom().toVector() == getTo().toVector()
You're doing it wrong. The correct code is:
The site clearly states that that's an unofficial site and not approved by spigot nor bukkit. For news and updates I'd refer to the official site:...
Well yeah but in that case you should be monitoring the PlayerDisconnect, PlayerDeath and PlayerRespawn events :p. Also it has been stated...
NullPointerException, which you would've known if you learnt the basics of Java :P
No it wont. You shouldn't be storing Player objects in collections, unless if it's a weak link collection.
HashMap<UUID, Integer> playerKills = new HashMap<UUID, Integer>();
//to set kills:
//to get kills:...
If you're still interested, hit me up through PM and I'll help you out, and will aswell update the topic with the current NMS variables
These are multi protocol servers that do this through a protocol hack.
Separate names with a comma.