The class extends CommandBase which extends CommandExecutor, so you would create an instance of this class in exactly the same way as you would a...
Hey desht ! Thanks for this, it's great! BTW I believe I've reproduced the issue Assist had with the names not returning back to normal. For me,...
Thank you for posting this workaround. It's 2013 and this is still seems to be a bug with setTypeIdAndData(). =(
Hey all, This is going to be a bit complicated, but I'm pulling my hair out as to what might be wrong. What I'm seeing is that occasionally,...
I'm not really a Java programmer, I spend most of my time in C so apologies for my ignorance. Integer.valueOf() throws a NumberFormatException...
Hey all, One of the things I've noticed about plugin development for Minecraft is that you can end up spending a lot of time trying to do string...
Anybody able to try it out so that at least I can know I'm not crazy? x.x
Hey guys, This should be really simple, but I can't get this to work for the life of me. I'm simply trying to spawn a chest in a specified...
PlayerPickupItemEvent? http://jd.bukkit.org/rb/doxygen/da/d18/classorg_1_1bukkit_1_1event_1_1player_1_1PlayerPickupItemEvent.html
When an item is "on the ground" it is actually an Item entity. http://jd.bukkit.org/rb/doxygen/dc/dfc/interfaceorg_1_1bukkit_1_1entity_1_1Item.html
"this" refers to "this instance" of whatever class it is inside. When you're inside a static method, you are specifically accessing it without an...
What you might be able to do is use an array of offsets to check each direction around the location using getRelative(). This is what I use to...
http://jd.bukkit.org/rb/apidocs/org/bukkit/Location.html Once you have a player object, you can get they're location using player.getLocation()....
Your question has been answered. If you can't figure it out from here then you need to follow Digi's advice and learn some basic java. If we write...
DarkBladee12 So I take it you added an item to the frame and was able to clear it with the PlayerInteractEntityEvent? I'm using the...
Hey all, Has anybody had any luck clearing item frames? When I do it, it seems the item is still in the frame. I'm doing something like this:...
I was unaware most people were using Java 6...(Why can't they just upgrade?). It doesn't matter much to me ATM, since I'm the only person using my...
You don't need to define the arguments in plugin.yml. Just leave the "rank" command and delete all the others.
Ok so according to @Comphenix we need to put the x and z in the first byte, the y in the second byte and the blockid spans the 2nd and 3rd byte,...
Do you see "getLogger().info("Test has been enabled.");" ? show up?
Separate names with a comma.