You are not calculation any distance. Where is you second point? Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2) + Math.pow(z, 2));
player.getInventory().clear();
Did you read a plugin tutorial? Or did you even wrote a 'hello world'?
Check onPlayerMove and if the player leaves the block, port him back into the middle.
Yeah my post was kind of sloppy, was trying to say everything in a few sentences. Here's my second attempt. 1) I'll just say what you need to do...
What could be more efficient than saving 6 ints to save a cuboid with a size of thousands of blocks? You could make just squares, so you would...
Why would you do that? As halley said, the only thing you need is two different locations. If someone breaks a block just check if he's inside the...
To your first problem: In your 'main' PVPRanker class your are creating an instance of your PVPRankerEntityListener without passing your current...
Have a look at an easy plugin, like this one: click See what he's doing in his 'plugin.yml' in his 'ScrapBukkit.java' and finally in his command...
To your 2nd problem: Since it is an "NullPointerException" it should be really easy to fix. Can you tell us which is line no. 27 in your...
Look for a license as well.
Separate names with a comma.