@@ -0,0 +1,1834 @@
+package com.gabrielsimmer;%0A%0Aimport org.bukkit.Bukkit;%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.Material;%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.Listener;%0Aimport org.bukkit.event.inventory.InventoryClickEvent;%0Aimport org.bukkit.inventory.Inventory;%0Aimport org.bukkit.inventory.ItemStack;%0Aimport org.bukkit.inventory.meta.ItemMeta;%0Aimport org.bukkit.plugin.java.JavaPlugin;%0A%0Apublic class kitChooser extends JavaPlugin implements Listener %7B%0A%0A%09public static void openGUI(Player player)%7B%0A%09%09Inventory inv = Bukkit.createInventory(null, 9, ChatColor.DARK_GREEN + %22Nitro UHC Kit Select%22);%0A%0A%09%09//Move this to a config file at some point%0A%09%09ItemStack tools = new ItemStack (Material.WOOD_AXE);%0A%09%09ItemMeta toolsMeta = tools.getItemMeta();%0A%09%09ItemStack food = new ItemStack (Material.APPLE);%0A%09%09ItemMeta foodMeta = food.getItemMeta();%0A%0A%09%09toolsMeta.setDisplayName(ChatColor.DARK_RED + %22Tool kit%22);%0A%09%09foodMeta.setDisplayName(ChatColor.RED + %22Food kit%22);%0A%09%09tools.setItemMeta(toolsMeta);%0A%09%09food.setItemMeta(foodMeta);%0A%0A%09%09inv.setItem(3, tools);%0A%09%09inv.setItem(5, food);%0A%0A%09%09player.openInventory(inv);%0A%0A%09%7D%0A%09@EventHandler //MAKE SURE YOU HAVE THIS%0A%09public void InventoryClick(InventoryClickEvent e)%7B%0A%09%09Player p = (Player) e.getWhoClicked();%0A%0A%09%09if(e.getInventory().getTitle().equalsIgnoreCase(%22Nitro UHC Kit Select%22))%7B%0A%09%09%09e.setCancelled(true); //Cancel the event so they can't take items out of the GUI%0A%0A%09%09%09if(e.getCurrentItem() == null)%7B%0A%09%09%09%09return;%0A%09%09%09%7D%0A%09%09%09else if(e.getCurrentItem().getType() == Material.WOOD_AXE)%7B%0A%09%09%09%09//gets called when the current item's type (The item the player clicked) is a diamond%0A%09%09%09%09p.sendMessage(%22You clicked the axe!%22);//send the player a message when they click it%0A%09%09%09%09p.closeInventory(); //call if you want to close the inventory when they click it%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create kitChooser.java