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
W&L-Craft I'm not really sure to be honest, I guess check if all the if statements are correct. Also the == true in your if statements are...
W&L-Craft Post your full code in the listener. Also your brackets are really messed up
Necrodoom I was saying I disagree with ops not having all permissions EDIT: Same thing with Onlineids W&L-Craft You put killer as e.getKiller(),...
Onlineids I disagree isOnline() is still useless, how can you kill someone if you're not online? Try doing killer.setItemInHand(new...
Few things to say: 1. Don't bump your post unless it's been 24 hours 2. Killer.isOnline() is useless. How can he kill someone if he isn't...
Separate names with a comma.