Do you want the horses to don't get any damage at all on safezones or just from players? Ok well this will prevent any damage to horses while...
just use the command /ncp info (player)
Just made a tool to easiliy convert player names on MySQL tables to UUIDs:...
I made a litte thing to convert all of the player names on my MySQL databases to UUIDs and decided to share it with you guys. This TECHNICALLY is...
That for loop is completely unnecessary just do if(getServer().getOnlinePlayers().length() == (your number){ //do something }
1. You're checking if the item in hand isn't (stone spade, iron, etc) so remove the ! And Wow... You don't need to use a PlayerInteractEvent and...
You can just use if if you only have a condition, switch is normally used when you have a bunch of them
This is called when a vehicle (minecarts too) hit a block, so you only need to check if the vehicle is a boat and then you can cancel the event....
Hm I guess you can make Y one block above: Location loc = p.getLocation(); loc.setY(loc.getY+1); //your code
Dude it's an event, meaning that you make your class implement Listener, you add this to your onenable:...
Change it to Solved please and you're welcome He did cause he was changing the text EDIT by Moderator: merged posts, please use the edit button...
You can use VehicleBlockCollisionEvent I believe
What do you mean? Like what event listener you can use to get a boat when it breaks?
Separate names with a comma.