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. :)
HeyAwesomePeople This is a good resource to use if you intend on using this:...
Gabum I know there has been issues with this before, but this may be a useful resource to check out:...
paxi InventoryClickEvent is the event you're most definitely going to want to use, to make it so you can't actually pull or put items in the...
Konkz Ok, so I went and looked into this some, obviously the method uses a JSON string, so what you should do is use the JSON library and use the...
Konkz This is most definitely interesting, any chance a string builder works? Or even defining the string prior than the argument?
Separate names with a comma.