What do you need to do with it? If you need to do something just when they're holding an item, you're probably stuck setting up a repeating task...
You're looping over all keys and then displaying all values each time, which causes that result. Either get the value for a specific key with the...
Hey guys. I've been using Navigation in CraftBukkit (well technically nms) to move mobs around using a statement like the one below. Previously...
You need to call getServer().addRecipe(recipe)
You do not register anything but the base slash command in your plugin.yml. In your plugin.yml do something like commands: extremepaintball:...
EntityDamageEntityEvent is for all entities, not just players. You should check if the entity is an instance of Player first. As for the...
Post the code?
I've never found it to trigger twice.
First off, I would name your object something that's a little more indicative on what it's intended to do (for example PlayerStatTracker, if...
Why use an array and not a list?
Are you setting instance = this in your onEnable?
I'm confused what you're trying to do in the first part. Is pName supposed to represent the task ID that you store in the hashmap? If so you...
BlockBreakEvent event = new BlockBreakEvent(block, player); Bukkit.getPluginManager().callEvent(event); if (event.isCancelled()) {...
Don't return false after a successful command. Returning false for onCommand causes Bukkit to automatically send the player the "usage" message...
Separate names with a comma.