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...
Separate names with a comma.