Wow okay let's fix this. p.damage(999999.0D); - This is honestly the worst way to do this. Besides bad practice this can cause a god mode...
Use ItemStack#setDurability
@Zombie_Striker It's better to use World.getHighestBlockAt(Block) for the y location so you don't die when you teleport or something.
Use ProjectileHitEvent
Many thanks to both of you! :) For the record: my server was in offline mode. When I release the server it will be in online mode but I was just...
Hello, I've been having some issues with .getUniqueId(). I don't really know how it works, so this might be a dumb question but I need help...
Thanks ^^
Hi. So I have this server that has a ban list on a MySQL database. And I need an efficent way to make it so when people join, it can get there...
Big sub. I would do this, and please correct me if this is a bad way. By - when the player joins, get the stats info of the player from the...
Check the damage values using this: http://minecraft.gamepedia.com/Wool#Data_values It's better to use an if statement in this case (no pun...
Well I quit Minecraft and coding awhile ago. But goodbye. Thanks for what you have done. Good luck for whatever you do in life.
This is the wrong way to do cooldowns. Turqmelon made a way that uses System.currentTimeMillis(). That way doesn't use schedulers (if tones of...
I don't know why you're using roatations and stuff, just use p.getLocation().getDirection() and modify that velocity.
JRL1004 Well the extension is a part of a file name, so that's like saying test it with every possible file namecombinations to make sure it...
JRL1004 It wouldn't matter
Separate names with a comma.