Hi! It looks like DisguiseCraftAPI dcAPI; Hasn't been initialised.
2L is only 2 ticks. Every second is 20 ticks so I'd suggest making the person wait 5 seconds before teleport. Which is 5 * 20
Yeah that would be the best way. I guess I should save the block states and reset them when server closes.
Hello. So I'm working on a plugin which will spawn helicopter crash sites, like DayZ does here http://dayz.gamepedia.com/Helicopter_Crash_Sites...
This may help, please report back! https://forums.bukkit.org/threads/getting-all-the-blocks-in-a-chunk.6650/
I don't know about when they'll be removed but, at this moment in time, there is no other way to do this.
I see your problem, here's what I've done, taken out of my own plugin! :) block.setType(Material.CHEST); org.bukkit.material.Chest chest = new...
My apologies. I thought it didn't belong because of
Hello I worked on this for my server and I store the UUID's with dashes, so when I had to grab the UUID from Minecraft's API it returned it...
Oh, now that I read the main post it could be interpreted as either one. Yours is probably more right though. :P
ev.getItem() returns the item in the players hand. ev.getClickedBlock() is what you're looking for.
Store their UUID's in the map instead. player.getUniqueId().toString()
A tip in future is to use player.getUniqueId().toString(); instead of player.getName(); as there is a new UUID format for Minecraft 1.9 which will...
The only time it will do that is if you changed your Bukkit properties to allow offline mode clients.
Type /reload in game and see if that does anything?
Separate names with a comma.