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...
EgyptianKing Is this in a class other than your main class? because if it is, it's supposed to be plugin, new Runnable() not this, new Runnable()
I believe you would do e.getLocation().add(0, 1, 0); If not, just make a new Location and add 1 to the y coord.
I'm thinking you could get Multiverse to do this by making the console run the commands /mv create <name> normal and at the end do /mv delete...
oh yeah woopsXD I would store the the names of the warps in a string list to make it easier to get the coords. should be more like this:...
The corX, corY, and corZ go inside your event...
Separate names with a comma.