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 BlockMeta...
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 need...
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 changes...
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 chat...
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, and...
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...
There is always PlayerInteractEntityEvent, which you can use to check both right and left clicks. Damage isn't a prerequisite, which means it won't...
The purpose of stack-traces is to tell people the exact point in the code where the error occurred. If you can't see the code that caused the error,...
Fair enough. I've figured that out now.
How would one go about having a method which returns a CraftBukkit/NMS class instance?
Have you registered events for that class? Also, you should use PlayerJoinEvent as it is called when the player actually joins the server.
Why not just set the shapedrecipe to return an itemstack with the meta you want, and then not have to handle an event at all?
Separate names with a comma.