Konkz That link I had, shows the actual code used, so you can literately use the string you had on the topic and interchange bits and pieces with...
paxi event.getInventory().setItem(event.getSlot(), new ItemStack(Material.EMERALD, 1));
ItemStack i = event.getCurrentItem();That will give you the ItemStack you click on.
Konkz Haha maybe this will make it more clear then, just look at the actual code. :)
paxi So wherever you click the item is just removed all together? Or get the ItemStack?
paxi Ok now I understand, what's really happening, or at least should be, is it is giving you a ghost item. The best way I've found to get rid of...
paxi I don't understand what you're trying to say. What do you mean by the readout starts in the normal player inventory; as in the slots?
JoTyler Maurdekye remember you need to take into account that hopefully the server is going to restart at some point within that time span so...
Max604 Please change the title to solved then. :)
Max604 You need to call the getConfig() from your main class, so you would need to call like so: plugin.getConfig() Since you passed your Main...
List<String> messages = this.getConfig().getStringList("Locations.arenas.Arena Name 1");
I'm assuming the it's an ArrayList of player's names so: for(String s : list){ Bukkit.getPlayer(s).sendMessage("message"); } :)
tizrain you need to override the onEnable method like so: @Override public void onEnable(){ //Do stuff } Note: you will also need to do this for...
Well what kind of ArrayList is it? That will determine what you need, what I'd recommend is using a String ArrayList and put the player's names in...
drnose21 Show us what you've got for code, that way you can learn for future projects/tasks. :)
Separate names with a comma.