Its is "and" because it has && not ||
Correct me if I'm wrong. Aren't you asking about dropped items? Dropped items don't have health...
... Items don't take damage.
I would just make the ranks numbers instead of letters. Then somewhere in the config, you have playername: rank. You get that rank, add one to it,...
This probably has nothing to do with it going in random directions but you are spawning a powerup for each online player and I'm not sure if you...
then how about trying to write it in a way that does work?
why not just do if (e.getEntity() instanceof Item) { //do your stuff here } Your code only will run if the entity IS a player AND an item. Not...
TheDef Instead of putting 100 names in a file (thats a lot of names :P) I would just have one int. Every time a player joins, check if they...
I believe you could use Projectile Hit Event and just do Player p = (Player) e.getEntity() as your player then just add the potion effects to p....
e.setRespawnLocation
Azubuso well then :P Maybe he has 5 or something XD
NathanWolf yep you will. That's just some code I copied from my plugin.
maybe its the indents...indents should be 2 spaces because if it isn't, it gives you errors.
@EventHandler public void onMove(PlayerInteractEvent e) { Player p = e.getPlayer(); if (e.getAction() ==...
What you could do is make the explosion particle effects then getting the players around the explosion and if it is not the player who shot the...
Separate names with a comma.