@Meatiex While you now have a ton of examples of iterating through the files, that's not exactly what you need. You just need the getKeys(false)...
@TehTotalPwnage You could try to set do color change in the config to false. That seems to be the only feature that requeres teams, and if it is...
Hey guys, now I know the rule of thumb not to access any part of the API asynchronously. But does this also count for just getters? Specifically I...
@teej107 I do understand how (Hash)Maps work, and these are two seperate things. What I said would defeneatly help when players relog. As they...
@BurnerDiamond One thing, in this case you don't want to store Player objects in the maps. Because if someone logs out, the Player object is...
@JarFile You should get rid of that runnable yes, and idealy just activate the game with a command. For the rest follow leon's answer, you could...
@MordorKing78 Do you reset the i int to its starting value? From this snippet it seems it counts down to -1. When you run the code again it should...
You don't even need the 2 tasks, you can delay a repeating task too. Just change the 'oL' in the inner task to 20 * 15 and remove the outer one....
@natec316 Your quote symbols ( ' ' ) are different in the admin group than in the others. Lines 185 and 192 of the pastebin. You could try to...
RaizenEzuo It also doesn't change the fact that that is purly your own problem. You have to understand it is now officially illegal to distribute...
haussik You have to register the listener class, so Bukkit knows where to send events to. You register Listener classes in your onEnable by using:...
dan14941 Cauldron uses the Bukkit API and you can just reference it like you normally would. You don't have to change any imports or do anything...
fireblast709 Are you sure each ore would be it's own ItemStack? or just one ItemStack with as amount the amount of ores.. Also you can take...
wydgabriel And you can, you may have noticed there is also a getDrops(ItemStack) method. This will tell you the drops of the block when broken...
Guys, none of this is working because getDrops() returns a copy of the drops. The returned collection is not linked to the drops of the event....
CaptainUniverse To make an entity you should take his current velocity, and set the Y component positive. Looking at above code the default value...
Just.. what? Read your question again haha
artish1 You are looking for the InventoryClickEvent, not PlayerIteractEvent. The interact event is fired for left/right clicking in game
Joiner Since you're ExampleTask extends BukkitTask, you can use it as a BukkitTask Object. That would give you access to the BukkitTask...
Joiner Try: Task task = new Task(); // Should be able to do task.runTaskTimer(Plugin, Long(, Long) ); task.cancel();
Separate names with a comma.