How exactly would this be done? for (ItemStack i : picks.iterate()) {? If anybody else is wandering, its a util class: public static String...
Hey, I'm trying to make it so that when a user right clicks, they get effects, and their is a set cool down. Here is my code: public class...
You could always: if (m.matches("/spawn");
On the death event, get the killer and the player. Get the killers Inventory: killer.getInventory(); Then do whatever with it
@EventHandler public void onCmd(CommandPreProcessEvent e) { String msg = e.getMessage(); if (msg.contains("/spawn"); e.setCancelled(true);
Are you registering the events from the main class via: Bukkit.getServer().getPluginManager().registerEvents(new CLASS(), this);
Are you looking for code aswell? If so: private HashMap <String, Integer> map = new HashMap<String, Integer>(); Then add them when they join....
Hey, Basically, the title explains it all. Does anybody have an example of a chest gui?:) Thanks.
No clue:c
As far as I'm aware no. I think I'll need a bit of spoon-feeding here, as I've never done referring before. To be completelystraight, I have no...
So I've got 1 class with the main chest inventory, and I'm doing all the subs ones in another inventory. In the main class, I use this code...
Hello all, I'm coding a ChestGUI, and am doing some work in another class. The issue I'm having is that I cannot figure out how to refer to the...
Got it working, thanks for the help!
Defiantly is other ways. Hypixel does it.
Thanks for all the replys. I've managed to fix these errors, but still seem to get the same error. Players can take the items. package...
Hello, I'm trying to setup an inventory, that does something when you click an item. I've got it up to the point where they can open the...
I am aware this is a very old thread, how ever I'd like to resurrect it. I've followed the code above and ran into the same issue, as fireblast709...
But will this not give them access to all the warps?
I have given the rank Mallcop on my server permission essentials.warps.pHq and done /manload. However, it does not give them permission to do...
My group manager permissions don't work please help! The Error in groupmanager looks like this: 2012-12-21 11-35...
Separate names with a comma.