You would get the integer of the coins, then when the player issues the /prestige command you would create an if statement. Checking if the...
Check to see if the player has more than 55 coins, if not, deny them access to the prestige command.
Like Necrodoom said, use a StringBuilder. It allows you to take all of the arguments, build them intro a String and use them as a String. Pretty...
ninja2003 I'm not 100% sure on this but you might want to try this: ItemStack spawncompass = new ItemStack(Material.COMPASS, 1); Instead of...
TheSpherret Ah yes, didn't spot that thanks.
Dragonphase Thanks!
Hi there, For one of the plugins I am working on, I need to create a random 4 Digit Number and then save it to a configuration file. I know how...
Hi there, I wanted to know if you could help me out. I'm trying to pick two random players out of one HashMap and place them into another. I...
You could do that, but then if you were doing survival games. The chest would be refilled everytime its opened, whereas with this method it is...
Hey there guys, I've seen alot of threads lately asking how to fill chests on a map. So I thought that today I would share my way of filling...
CynutsBR No problem ;)
http://forums.bukkit.org/threads/urgent-chest-refill-not-working.283282/#post-2601783
You could even use this if you wanted to: package resources.codechimps.co.uk; import java.lang.reflect.Field; import java.util.UUID; import...
Hey, Looking over you code I found a much easier way to do this, admitting with my way you have to have all chunks preloaded by it still works:...
I actually had the exact same idea for this plugin around 2 years ago for a community I worked for. I made it and it worked, I doubt I have the...
Ah thanks guys, I knew I had forgot something.
Hey, I am trying to develop a custom Hub Plugin for a customer and for some reason I have had a total mind block. I am trying to give a player...
I am not sure, I thought about a config but then I realized that it would be easier to store the locations in the map exactly as then I could work...
Thanks. I have used HashMaps before I am just not 100% sure on picking a random location from the HashMap. Any idea's?
They use either the JSONChatLib or Fanciful. Now JSONChatLib is a little bit more difficult to use but once you get used to it you tend to find it...
Separate names with a comma.