Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Mmm spend time on anti-piracy system is a waste of time, someone can easy decompile and remove the code of antipiracy.
Probably better just one script, that contains start / stop / restart . So you execute the server with ./server start . There are lot of examples...
Lol, if i am not wrong you cant do a cast from a location to a block. Use event.getClickedBlock
Check if there is other block up the fence
He probably dont survive selling plugins, but he can won some money for spend where he want. Anyway you dont know if he have jobs.
No sense that if, anyway you should use correct syntax for the if ((event.getAction...) && (event.getClick...) && ( p.getloca... ) ) . Use...
You can change the distance on: if(playerLoc.distance(blockLoc) <= 1)
So it will get teleport if he is 1 block distance from the center of the...
Check this code
public void onPlayerInteract(PlayerInteractEvent event)
Player p = event.getPlayer();
as a tip, you can use setVelocity for do like a natural jump and not teleport.