The files might not exist use File#exists() to check if they do and if they don't, use File#createNewFile() to create one
that returns the distance between block a and b...?
blockA.getLocation().distance(blockB.getLocation()); is this what you're looking for?
The very basic Killaura will hit an enemy at their exact eye location, this "sweet spot" is very hard to hit legit, you can check how precise...
This took a few clicks http://lmgtfy.com/?q=Bukkit+Bossbar+API
remove this part from the contructor if(!cancelled) { gun.fire(); } and then use this code whenever someone tries to shoot the gun, this...
Use PacketType.Play.Server.getInstance().values() to specify ALL packet types in the PacketAdapter Constructor new PacketAdapter(this,...
Use ProtocolLib
Another NullPointer https://bukkit.org/threads/how-to-read-stack-traces-and-troubleshoot-your-own-plugins-by-yourself.32457/ Caused by:...
Clearlag can also remove placed minecarts etc. to prevent users from spawning hundreds of them. Clearlag can also remove Items in intervals...
Vanilla minecraft already despawns dropped items after 5 minutes
In your HubHandler class, change if (block.getWorld().equals("HUBB")) { // Things } to if (block.getWorld().getName().equals("HUBB")) { //...
if (s.getLine(2).equalsIgnoreCase("§cSell Coa1l")); if (p.getInventory().contains(Material.COAL)); if you put a semi colon after an if statement,...
can we see the getAmount() method?
e.getDrops().add(myItemStack)
Separate names with a comma.