Webster56 File file = new File(pluginDataDirectory, "config.yml"); if (!file.exists()) { saveDefaultConfig() }
_8Bit Chances are you need to tell bukkit to stop running updates on the world. Every time bukkit does an update it is called a 'tick', by...
xLoGiiKzZo Look into a block break event and use the source of the damage to determine an explosion, and the block that fired the event's material.
LeoFSU http://docs.oracle.com/javase/6/docs/api/java/lang/Thread.html Here is the link to the java doc for a Thread. Having it handled in your...
klofno1 You don't have closing braces on your first method, because of this the WHOLE entire file is formatted wrong and will not compile. Go...
klofno1 If I were you I would avoid inner classes. Also, embedded methods don't work. Fix your braces, they don't match up where they need to be.
klofno1 Right clicking the air should work, I'm not quite sure. Do some printing to see if the action even fires on a right click of air with...
euro1988 So placing the block also removes an extra block from the inventory? ItemStack[] items = player.getInventory().getContents(); for...
SuperOmegaCow What line is the error? The numbers are different in the code box then your script. What item stack and what enchantment exactly are...
euro1988 You can get by with a break or a return statement if you want, if you want some help formulating a safe loop, go ahead and explain...
boboman13 Hashmaps have a size() method in them - using this you can figure out how many teams you have. As for algorithm to solve the problem:...
Only put them in a team/allow them to join the team if the rest of the teams are the same size - these 4 people can't all join the same team...
Burnett1 Only add them to a new team if the size isn't bigger then the rest? Should just be an if statement. if team1.length < team2.length &&...
Burnett1 Can you better explain what it is you can't get at? What do you mean by even and fair?
Joeywp http://jd.bukkit.org/rb/doxygen/d1/ddf/interfaceorg_1_1bukkit_1_1entity_1_1Vehicle.html The minecarts now have a velocity attached to...
MC_Crinkle The modified (speciailized foreach loop) breaks down to look like a iterator based while loop. While iterator.hasNext() (get next(),...
klofno1 xTrollxDudex I don't know about setting skins of zombies - there is a way to modify what a player looks like through packet manipulation,...
euro1988 It's in a loop so break; or return; would work, or even continue - but if you need continue chances are you'll get stuck in an infinite...
MC_Crinkle Player is the name of the class, you need to use the instance variable. p.sendMessage in your case.
klofno1 xTrollxDudex Firefly Tagged TrollDude and firefly - invisibility is not my cup of tea. As for clones - I don't even know where to start...
Separate names with a comma.