Do you have vault as a soft dependency or dependency in your plugin yml? Otherwise bukkit may load your plugin before it.
Nope, it's not. Technically I shouldn't have to implement those functions at all (since they're implemented publically in a superclass) and the...
It's not only getLastDamage(), but also getHealth() and getMaxHealth(). I'm thinking of creating a maven script and building w/ that instead to...
Doesn't work. Together, it complains of a duplicate function and a wrong return type on the double version. With the int version on its own, it...
It's not that I would be calling the function (in all honesty, I probably wouldn't) but I need to implement it since I'm using LivingEntity as a...
Right now I'm digging into CraftBukkit and nms code to create some custom entities, but I'm encountering a very strange error. I've created an...
You're checking if there is at least ONE argument and then proceed to use TWO. I don't see what's so hard about this.
You don't know for sure that there are any arguments. So when you try to call args[0] (the first argument), and there are no arguments, there's an...
Couldn't you get the BlockMeta of the block and use the BlockMeta's method for getting a name? I haven't used blockmeta and I'm not sure if...
I don't think it would be done through bukkit, rather through Java. JDBC is a good lib for MySQL databases. If you use methods from it, you'll...
LOLWTF -2 doesn't change the value of LOLWTF. The Location.setY method changes internal fields belonging to the class. It's different.
When you're calling signGameLocs.get(gamenumber) you're getting the exact same location object as is stored in signGameLocs. That's why any...
Set the string from the config to a string called worldName, then check if worldName is null. If it's not, then try getting the world with worldName.
I think the player interface has a Chat(String) method. Not sure though. Edit: just read your post a little more thoroughly. Since you've got...
I'd rather not download something shady from mediafire. How'sabout you post the problematic code on the site here for us to look at?
Handle a PlayerDamageEvent, if the player's hp - event damage is less than 0: cancel the damage event, set the player's hp to max, tp to spawn,...
The classes have to be physically there for them to work, that's why Library plugins (Sync, PatPeter's SQL lib) have to be in the plugins folder...
The issue is that the classes are present at build time, but not at run time. You need to package the library in your jar and it should work. If...
Also, check if hand.getType is null before checking if hand.getTypeId == 280.
When the PlayerListener class is instantiated, it is calling all of those variable declarations before setting plugin to the instance you passed...
Separate names with a comma.