package me.AKZOMBIE74;

import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;

/**
 * Created by AKZOMBIE74 on 1/22/2016.
 */
public class ICE implements Listener {

    @EventHandler
    public void clickI(InventoryClickEvent e) {

        if (e.getInventory().getName().equalsIgnoreCase(ChatColor.translateAlternateColorCodes('&', Selector.getInstance().getConfig().getString("menu_name")))) {

            Player p = (Player) e.getWhoClicked();


            if (e.getCurrentItem() == null || e.getCurrentItem().getType() == Material.AIR || !e.getCurrentItem().hasItemMeta()) {
                p.closeInventory();
                return;
            }
            switch (e.getCurrentItem().getType()) {
                default:
                    p.performCommand("ss");
                    p.closeInventory();
                    break;
            }
        }

    }
}

@@ -888,16 +888,528 @@
 efault:%0A
+                    for (String key : Selector.getInstance().getSectionKeys()) %7B%0A                        int sl = Selector.getInstance().getConfig().getInt(%22Servers.%22+key+%22.slot%22);%0A                        String name = Selector.getInstance().getConfig().getString(%22Servers.%22+key+%22.name%22);%0A                        if (e.getSlot()==sl) %7B%0A                            Selector.getInstance().getSelected().put(p.getUniqueId(), name);%0A                            break;%0A                        %7D%0A                    %7D%0A
         

Update ICE.java