@mythbusterma Okay, that makes sense, however wouldn't the constant getting/comparing of variables be best handled in a separate thread, then...
@mythbusterma Fair enough, I rarely thread or use populators, As I wasn't aware that the populate method was ever called after the chunk was...
Once you have a List<Block> (or List<Location>, anything to save a list of something) of all the blocks you wan't to set, you can make an...
Could you show me the rest of the code? (Where is this code called from?) Also, 10 should be 10*20, since 10 = 1/2 a second
"import java.awt.Desktop.Action;", this version of "Action" does not have LEFT_CLICK_AIR. Use bukkit's Action
@Y_U_NO_DIG Setting an InventoryHolder to null is fine, Try making a BukkitRunnable and then executing the code, the players inventory may not be...
Resgister your events, getServer().getPluginManager().registerEvents(this,this); on your onEnable
EDIT: Ninja'd by shadowlax
Can I see MenuListeners.java?
Strange, both strings are the same, perhaps compare both strings?
You need to "return true;" after you send the player a message, if it returns false bukkit sends the player the "usage:" in the plugin.yml
If your making plugins:
http://hastebin.com/atilepuxus.coffee Is a simple method i like using to rename items.
If your looking for plugins:...
@Gonmarte Before you use openInventory, use event.setCanceled(true);
Could you show us the error? You also should change inv.setItem, to inv.addItem
@mrgreen33gamer This happens when your using a foreach and you add something to the map/list your using, try changing your HashMap to a...
"((List<String>) names2)" Don't cast Player to List<String>
Separate names with a comma.