Hmm. Try "SkullOwner.Name" real quick, instead of "SkullOwner". See if that works. The reasoning that its saying youre trying to cast it into a...
Try increasing the priority of your event to "Monitor". It is likely that your code is firing before the anti-pvp code that is lowering the damage.
What exactly do you mean that its not working? You should probably start by explaining what exactly you want this plugin to do. You mentioned an...
Considering you already return when no damage is dealt, I'm not sure what your end goal is anymore. e.getDamage() returns the damage done by any...
Well, based on the limited code, you're not checking if they're in a safe zone. Firstly, you need to figure out how to determine how to create a...
Ooh, so there is. I like it!
yes. If the arm moves, it'll trigger. Though interestingly enough, the event isnt being thrown if you defend with a sword.
If you want to do something like this, you'll need to create a custom saving method, as the yaml implementation that Bukkit uses doesnt support...
For my plugin system, I've created various different types of commands. One of them is a command specifically for handling commands with...
Commands don't work like that. They need to be a single word. If you want to use a secondary command, you will need to use the string array...
Considering that the CB method for sending a message to all players with a permission does just this, i'd say no. Regardless, internally if they...
Exactly :cool:
No need to be a jerk. That was uncalled for. We've all been a newbie at one point or another. This isn't helping in the slightest....
Uh... Theres a few problems with this. 1) using "killer" in this way as a Player object, due to how its toString() method works, would format...
Strings are immutable objects in java. Which means if you have a string variable, and you change it (such as replacing), it doesnt modify the...
Separate names with a comma.