Why is there no mobile version of this forum website? I find it very laggy to use the whole desktop version for basic viewing off threads.
HashMap<String, Inventory> inv = new HashMap<>(); inv.put(player.getUniqueId(),player.getInventory());
getConfig().set(Object obj, null);
Random rnd = new Random(); player.teleport(w, x + (rnd.nextInt(10) )+ 1), y, z + (rnd.nextInt(10) + 1))
. So let's say there is a guy named John. John joins the hub and is given a ghast tear. John then enters a minigame and is given a new...
You would create a new inventory on join and save to config. Then after a person puts something in their inventory, you should overwrite the...
I see. I'd have to agree with you; I don't think developers will change the shortcut although even if they did, I guess it would be ineffectual...
Hello Bukkit Developers, I have come to ask what the difference is between using "ChatColor.<Color> in plugins versus using "§<number>" in...
I'm going to give you some psuedo code. 1) Check if the command's name is "givegold". 2) Check if the user has the permission node to execute...
I'm glad it worked! Thank you for offering your code but I've actually become inspired to write my own arena/dueling plugin based off this thread xD.
You could either hook onto mcMMO within your plugin or use this: Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "mcmmo give " + p.getName() +...
That was EXACTLY what I needed. It's all clear to me now. Thank you so much!
@mythbusterma gave me an example of how I should properly reference other classes and I made a more detailed example to see if I got the concept...
@mythbusterma Alright, I think I get it but I want to make sure. public class mainClass extends JavaPlugin { CommandClass cmds = new...
Separate names with a comma.