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 https://github.com/essentials/Essentials
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: getPlayer().setItemInHand(null); ;)
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.
[syntax=java] HashMap<UUID, Integer> playerKills = new HashMap<UUID, Integer>(); //to set kills: playerKills.put(uuid,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.
The software crashes on launch. I'm running Windows 7 64 bits.
The task has to register itself by calling .runTask... , otherwise you wont be able to call .cancel() to cancel it. You'd have to cancel it...
That would fully disable the chat event, blocking it from being logged in any way. I'd recommend doing it this way: public void...
kmecpp Try this. When exporting, select "Runnable Jar File". You need to select a Launch configuration but that part doesn't really matter, just...
First of all you should never store the Block object since it's just a placeholder and is subject to change at any time. You have to save the...
Do the same but now just store the data in a seperate hashmap ;)
Sad to see you go TnT :(, you'll always have a place in my heart ;)
He totally could :), nice find man. A sync =! async :p, reread the post :)
Separate names with a comma.