You'll have to look into the source code for the craftbukkit and minecraft server code. It changes whenever theres a new update, so its pretty hard...
Hmm... Most likely that the command isnt being attached to the plugin somewhere. if ive got the time, i'll see if i cant figure it out.
WiredWingzzz Like any standard command. You need to check your arguments while the command is being fired. Oh, and for anyone interested, I'm...
Awesome. Okay, since you pass the plugin into the listener in the constructor, you can grab the config and store it as a variable in the listener...
Where do you want the string to be stored? in the listener, command executor, or main plugin object?
Are you trying to cancel the explosion noise? Are you also trying to cancel the explosion damage or not? (like, cancel the noise, but still damage...
I think so, yes. But you can still filter that out, i believe, by querying the clicked block.
From a command executor you say? Make sure "plugin" isnt null!
Sure! Okay, lets say you have an item stack thats of the type Book, and you want to set its author to a players name. This method should do it...
Use the ItemMeta object via the getItemMeta and the setItemMeta methods. http://jd.bukkit.org/rb/apidocs/org/bukkit/inventory/meta/ItemMeta.html...
use \n. player.sendMessage(ChatColor.AQUA + "1. Awesome\n2. Kewl\n3. LOL");
...Oh, sorry. I wasn't paying attention, you're not the OP lmao
Looks like you're trying to kill a player when they step on a plate. You can do this much easier by listening to the player interact event, and...
its unreachable because the player object is null at that point, and nothing else is saying otherwise. The answer will ALWAYS be false, and the if...
Whoops, forgot to set my modality. Derp.
I'm using a conversation to piece together a letter that a player can send to another player. When they finish composing the letter, it will be sent....
If you'll look at the title of the thread, he doesnt have his command registered in the plugin.yml file This is to automate the entire thing,...
Not actually 100% on this one, but you should be able to set the commands permission with command.setPermission(permission); Actually, if you're...
there's no "p" variable in that scope. This looks like a custom event, and ill bet that theres no "getPlayer()" method in your event. If you need...
Does anyone know where all references to the SCM are held in? I'd like to do something fancy :3 I tried using VisualVM, but its not being any help
Separate names with a comma.