I would like to toggle a scoreboard in bukkit by using a command '/sb toggle'. However I can't seem to make it work because the compiler keeps...
Solved it with this: if (Main.plugin.getConfig().contains("kits." + args[1])) { if (args.length == 2) {...
So where would I put the if (args.lenght == 4) { ?
Thanks for the quick response! Could you be more detailed though? :)
So what I would like to do is, if you don't specify args[3] here: if (Material.getMaterial(args[2].toUpperCase()) != null) {...
Thank you very much!
You're the real mvp. <3 Could you explain this further? 3. make the user enter a number for args[2] representing the inventory number they want...
Hi guys, So what I want is the following: I have a config.yml file with ------------------------- kits: slayer: knight:...
No, and just giving me the site where all methods are listed isn't helping me out.
Well I don't understand what you mean then...?
Could you give write it in code for me?
Okay so I did this @EventHandler public void onPlayerInteract(PlayerInteractEvent e) { Action a = e.getAction();...
Thanks that did the job! I have another question why doesn't this work? if (is.getType() == Material.FEATHER &&...
That's the problem I want to use the lore here take a look: public static ItemStack createItemStack(Material m, int amount, String displayname,...
Okay uhm... e.getPlayer().getInventory().addItem(ItemStacks.createItemStack(Material.DIAMOND_SWORD, 1, "", (byte) 0, lore)); So my...
Separate names with a comma.