Techno Probably the one where you take the money.
First you would have to set up Vault's economy and put it in the onEnable, then it's something like economyname.withdrawPlayer(player, amount) I...
You can try to run it anyways, sometimes I get errors even though it works. And then the errors are removed :L
Why would you put an else if right after a loop? Your end brackets are messed up as well, you are missing at least one.
Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() { public void run(){ // Code to run...
tylerthecreeper1 What is your plugin.yml?
Wouldn't it be like: if(player.getItemInHand().getItemMeta().hasDisplayName("Hammer")){
There is CraftItemEvent or FurnaceBurnEvent? I don't really understand the question though.
Please learn the Bukkit API/ Java programming language. sgoldi
TheNewBoston to start learning the "raw" Java and simple things about coding, then move to someone like Pogostick for Bukkit tutorials! Books have...
BillyGalbreath Now I feel stupid xD Thanks!
Okay so I'm trying to make it so that the player can't pickup a certain item for 5 seconds here's what I have: private ItemStack deadt;...
AoH_Ruthless ah, didn't notice that. WhippyCleric Basically I am trying to check all the players to see if any of them are in the hashmap. I'll...
Okay so I've been working with HashMaps for a while and I think I understand them. What I'm trying to do is to check for all of the players to see...
Chlorek Thank you! I feel stupid now.
Hello! I've been working on a boss bar message for my server and it works, but I get an annoying error every time someone joins. I'm using...
if (player.getEquipment().getBoots().getType() == Material.CHAINMAIL_BOOTS); you have no brackets you just ended it with ";" Cooper PluginDev
player.getInventory().removeItem(new ItemStack(material, amount)) then something like this : player.getInventory().setHelmet(new...
Wouldn't it be this.<YourClassName>, this Or does it not matter?
Use a hashmap/permissions and then just do a while loop.
Separate names with a comma.