@@ -0,0 +1,3001 @@
+package me.AKZOMBIE74;%0A%0A%0Aimport org.bukkit.Bukkit;%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.Material;%0Aimport org.bukkit.inventory.ItemStack;%0Aimport org.bukkit.inventory.meta.ItemMeta;%0A%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.DataOutputStream;%0Aimport java.io.IOException;%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0A/**%0A * Created by AKZOMBIE74 on 6/30/2017.%0A */%0Apublic class ServerData %7B%0A    private Material material;%0A    private ItemMeta itemMeta;%0A    private int slot;%0A    private boolean showcount, playerList;%0A    private String name;%0A    private List%3CString%3E defaultLore;%0A%0A    ServerData(ItemMeta itemMeta, int slot, boolean showcount, boolean playerList, Material material, String name)%7B%0A        this.itemMeta = itemMeta;%0A        defaultLore = this.itemMeta.getLore();%0A        this.slot = slot;%0A        this.showcount = showcount;%0A        this.playerList = playerList;%0A        this.material = material;%0A        this.name = name;%0A    %7D%0A%0A    public void callShowCount()%7B%0A        if (showcount)%7B%0A            ByteArrayOutputStream b = new ByteArrayOutputStream();%0A            DataOutputStream out = new DataOutputStream(b);%0A            List%3CString%3E lore = itemMeta.getLore();%0A            try %7B%0A                out.writeUTF(%22PlayerCount%22);%0A                out.writeUTF(name);%0A                Bukkit.getServer().sendPluginMessage(Selector.getInstance(), %22BungeeCord%22, b.toByteArray());%0A            %7D catch (IOException e)%7B%0A                e.printStackTrace();%0A            %7D%0A            lore.add(%22Players Count: %22 + Selector.getPML().getPc());%0A            itemMeta.setLore(lore);%0A        %7D%0A    %7D%0A%0A    public void callPlayerList()%7B%0A        if (playerList)%7B%0A            ByteArrayOutputStream b = new ByteArrayOutputStream();%0A            DataOutputStream out = new DataOutputStream(b);%0A            List%3CString%3E lore = itemMeta.getLore();%0A            try %7B%0A                out.writeUTF(%22PlayerList%22);%0A                out.writeUTF(name);%0A                Bukkit.getServer().sendPluginMessage(Selector.getInstance(), %22BungeeCord%22, b.toByteArray());%0A            %7D catch (IOException e)%7B%0A                e.printStackTrace();%0A            %7D%0A            lore.add(%22Players Online: %22);%0A            if (Selector.getPML().getPlayerList() != null) %7B%0A                lore%0A                        .addAll(%0A                                Arrays.asList(Selector.getPML().getPlayerList()));%0A            %7D else %7B%0A                lore.add(%22None%22);%0A            %7D%0A            itemMeta.setLore(lore);%0A        %7D%0A    %7D%0A%0A    public ItemStack getStack()%7B%0A        ItemStack is = new ItemStack(material, 1);%0A        List%3CString%3E finalLore = new ArrayList%3C%3E();%0A        itemMeta.getLore().forEach(l -%3E %7B%0A            finalLore.add(ChatColor.translateAlternateColorCodes('&', l));%0A        %7D);%0A        itemMeta.setLore(finalLore);%0A        is.setItemMeta(itemMeta);%0A        itemMeta.setLore(defaultLore);%0A        return is;%0A    %7D%0A%0A    public int getSlot() %7B%0A        return slot;%0A    %7D%0A%7D%0A

Create ServerData.java