May want to add if (player.isValid()) to that. Also, change player.Inv.setHelmet to playerInv.setHelmet I think.
That's really cool. The only thing I can think of would be spawning a fake Player, and naming it that, then turning it invisible. Though in the...
You need to use an iterator if you plan to remove something inside a list while you're iterating through it....
Isn't your else block setting everyone's health to 20 who doesn't have that permission, or right clicks with a random item in their hand, or left...
Important to note this wouldn't get the items in the armor slots, just in case you need those, too.
for(Bukkit.broadcastMessage(ChatColor.GREEN + "[Boxing] The Boxing match will start in" + time + "seconds");;) time--; I'm not really sure...
Not completely sure if this is what you're looking for, but something like this? for (Player p : Bukkit.getOnlinePlayers()) if...
http://forums.bukkit.org/threads/experiencemanager-was-experienceutils-make-giving-taking-exp-a-bit-more-intuitive.54450/ ^This will probably...
I'd just use if (blah()==1 && blah2()==2 && blah3()==3) { //do stuff }
Ah. Poop. Well, thanks.
Ah. :[. Is there any way to modify the Effect Enums? Looking here: http://jd.bukkit.org/doxygen/d9/d42/Effect_8java_source.html, it says 73...
The last argument is the type of potion out of the potion types listed here: http://www.lb-stuff.com/Minecraft/PotionDataValues1.9pre3.txt. So...
I'm currently using Location loc=event.getPlayer().getLocation(); loc.getWorld().playEffect(loc, Effect.POTION_BREAK, 0); for the splash potion...
Will the current 4.0 version work with 1.4.7 or do we need to wait for an update?
I'm developing a plugin, and I am making a custom damage system. Currently, I am storing hp and maxhp in an SQL table for each player. These...
Ah. Thank you, sir.
I was wondering how to update a Player's inventory after setting durability on one of his items. Is there any way other than using...
getLastDamager is only for the Death event. I'm using 2 different events. I would post my code for each, but they're both rather large. I already...
Is there any way to make the damage event call before the death event? My plugin kinda relies on counting the damage everyone does to an entity,...
Looking at the first half of your question, I'd say it's probably possible. Glancing at the API, DoubleChests appear to be saved at only one...
Separate names with a comma.