Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.appromode.CustomItem;
- import java.util.ArrayList;
- import org.bukkit.Material;
- import org.bukkit.entity.Player;
- import org.bukkit.event.Listener;
- import org.bukkit.inventory.Inventory;
- import org.bukkit.inventory.ItemFlag;
- import org.bukkit.inventory.ItemStack;
- import org.bukkit.inventory.meta.ItemMeta;
- import com.google.inject.Inject;
- import net.md_5.bungee.api.ChatColor;
- public class CustomInventory implements Listener{
- @Inject
- private Core plugin;
- public void newInventory(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Help Menu");
- ItemStack helpmenucore1 = new ItemStack(Material.BOOK, 1);
- ItemMeta helpmenucore1Meta = helpmenucore1.getItemMeta();
- helpmenucore1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Useful Commands");
- ArrayList<String> helpmenucore1lore = new ArrayList<String>();
- helpmenucore1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucore1lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some useful commands!");
- helpmenucore1lore.add(ChatColor.WHITE + "There are several sections in the commands menu");
- helpmenucore1lore.add(ChatColor.WHITE + "that cover the most common aspects of " + ChatColor.DARK_PURPLE
- + "Atlas" + ChatColor.LIGHT_PURPLE + "MC");
- helpmenucore1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucore1Meta.setLore(helpmenucore1lore);
- helpmenucore1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucore1.setItemMeta(helpmenucore1Meta);
- ItemStack helpmenucore2 = new ItemStack(Material.INK_SACK, 1);
- ItemMeta helpmenucore2Meta = helpmenucore2.getItemMeta();
- helpmenucore2Meta.setDisplayName(ChatColor.DARK_PURPLE + "Rules");
- ArrayList<String> helpmenucore2lore = new ArrayList<String>();
- helpmenucore2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucore2lore.add(ChatColor.DARK_PURPLE + "Right click me to find out the rules of the server!");
- helpmenucore2lore.add(ChatColor.WHITE + "There are many rules in place that help to keep");
- helpmenucore2lore.add(ChatColor.WHITE + "the server running smoothly and to keep players");
- helpmenucore2lore.add(ChatColor.WHITE + "happy. If any of these are broken, punishments");
- helpmenucore2lore.add(ChatColor.WHITE + "will be given accordingly.");
- helpmenucore2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucore2Meta.setLore(helpmenucore2lore);
- helpmenucore2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucore2.setItemMeta(helpmenucore2Meta);
- ItemStack helpmenucoreempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucoreemptyMeta = helpmenucoreempty.getItemMeta();
- helpmenucoreemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucoreemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucoreempty.setItemMeta(helpmenucoreemptyMeta);
- i.setItem(0, helpmenucoreempty);
- i.setItem(1, helpmenucoreempty);
- i.setItem(2, helpmenucoreempty);
- i.setItem(3, helpmenucoreempty);
- i.setItem(4, helpmenucoreempty);
- i.setItem(5, helpmenucoreempty);
- i.setItem(6, helpmenucoreempty);
- i.setItem(7, helpmenucoreempty);
- i.setItem(8, helpmenucoreempty);
- i.setItem(9, helpmenucoreempty);
- i.setItem(10, helpmenucoreempty);
- i.setItem(11, helpmenucore1);
- i.setItem(12, helpmenucoreempty);
- i.setItem(13, helpmenucoreempty);
- i.setItem(14, helpmenucoreempty);
- i.setItem(15, helpmenucore2);
- i.setItem(16, helpmenucoreempty);
- i.setItem(17, helpmenucoreempty);
- i.setItem(18, helpmenucoreempty);
- i.setItem(19, helpmenucoreempty);
- i.setItem(20, helpmenucoreempty);
- i.setItem(21, helpmenucoreempty);
- i.setItem(22, helpmenucoreempty);
- i.setItem(23, helpmenucoreempty);
- i.setItem(24, helpmenucoreempty);
- i.setItem(25, helpmenucoreempty);
- i.setItem(26, helpmenucoreempty);
- player.openInventory(i);
- // Core help menu
- }
- public void newInventory2(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Commands");
- ItemStack helpmenucommands1 = new ItemStack(Material.GRASS, 1);
- ItemMeta helpmenucommands1Meta = helpmenucommands1.getItemMeta();
- helpmenucommands1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Skyblock Commands");
- ArrayList<String> helpmenucommands1lore = new ArrayList<String>();
- helpmenucommands1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands1lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some skyblock");
- helpmenucommands1lore.add(ChatColor.DARK_PURPLE + "commands!");
- helpmenucommands1lore.add(ChatColor.WHITE + "In this section, skyblock commands are listed");
- helpmenucommands1lore.add(ChatColor.WHITE + "that cover the most common aspects of playing");
- helpmenucommands1lore.add(ChatColor.WHITE + "skyblock.");
- helpmenucommands1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands1Meta.setLore(helpmenucommands1lore);
- helpmenucommands1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommands1.setItemMeta(helpmenucommands1Meta);
- ItemStack helpmenucommands2 = new ItemStack(Material.DIAMOND_SWORD, 1);
- ItemMeta helpmenucommands2Meta = helpmenucommands2.getItemMeta();
- helpmenucommands2Meta.setDisplayName(ChatColor.DARK_PURPLE + "PvP Commands");
- ArrayList<String> helpmenucommands2lore = new ArrayList<String>();
- helpmenucommands2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands2lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some PvP commands!");
- helpmenucommands2lore.add(ChatColor.WHITE + "In this section, PvP commands are listed");
- helpmenucommands2lore.add(ChatColor.WHITE + "that cover how to PvP on " + ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC");
- helpmenucommands2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands2Meta.setLore(helpmenucommands2lore);
- helpmenucommands2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommands2.setItemMeta(helpmenucommands2Meta);
- ItemStack helpmenucommands3 = new ItemStack(Material.COMPASS, 1);
- ItemMeta helpmenucommands3Meta = helpmenucommands3.getItemMeta();
- helpmenucommands3Meta.setDisplayName(ChatColor.DARK_PURPLE + "Warp Commands");
- ArrayList<String> helpmenucommands3lore = new ArrayList<String>();
- helpmenucommands3lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands3lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some warp commands!");
- helpmenucommands3lore.add(ChatColor.WHITE + "In this section, warp commands are listed");
- helpmenucommands3lore.add(ChatColor.WHITE + "which are available so that players can travel");
- helpmenucommands3lore.add(ChatColor.WHITE + "around the server.");
- helpmenucommands3lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands3Meta.setLore(helpmenucommands3lore);
- helpmenucommands3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommands3.setItemMeta(helpmenucommands3Meta);
- ItemStack helpmenucommands4 = new ItemStack(Material.BEACON, 1);
- ItemMeta helpmenucommands4Meta = helpmenucommands4.getItemMeta();
- helpmenucommands4Meta.setDisplayName(ChatColor.DARK_PURPLE + "Shop Commands");
- ArrayList<String> helpmenucommands4lore = new ArrayList<String>();
- helpmenucommands4lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands4lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some shop commands!");
- helpmenucommands4lore.add(ChatColor.WHITE + "In this section, shop commands are listed");
- helpmenucommands4lore.add(ChatColor.WHITE + "that cover how to sell and purchase items using");
- helpmenucommands4lore.add(ChatColor.WHITE + "different methods.");
- helpmenucommands4lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands4Meta.setLore(helpmenucommands4lore);
- helpmenucommands4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommands4.setItemMeta(helpmenucommands4Meta);
- ItemStack helpmenucommands5 = new ItemStack(Material.MOB_SPAWNER, 1);
- ItemMeta helpmenucommands5Meta = helpmenucommands5.getItemMeta();
- helpmenucommands5Meta.setDisplayName(ChatColor.DARK_PURPLE + "Spawner Commands");
- ArrayList<String> helpmenucommands5lore = new ArrayList<String>();
- helpmenucommands5lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands5lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some spawner");
- helpmenucommands1lore.add(ChatColor.DARK_PURPLE + "commands!");
- helpmenucommands5lore.add(ChatColor.WHITE + "In this section, spawner commands are listed");
- helpmenucommands5lore.add(ChatColor.WHITE + "which cover how spawners.");
- helpmenucommands5lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommands5Meta.setLore(helpmenucommands5lore);
- helpmenucommands5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommands5.setItemMeta(helpmenucommands5Meta);
- ItemStack helpmenucommandsempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandsemptyMeta = helpmenucommandsempty.getItemMeta();
- helpmenucommandsemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandsemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsempty.setItemMeta(helpmenucommandsemptyMeta);
- ItemStack helpmenucommandsback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandsbackMeta = helpmenucommandsback.getItemMeta();
- helpmenucommandsbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandsbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsback.setItemMeta(helpmenucommandsbackMeta);
- i.setItem(0, helpmenucommandsempty);
- i.setItem(1, helpmenucommandsempty);
- i.setItem(2, helpmenucommandsempty);
- i.setItem(3, helpmenucommandsempty);
- i.setItem(4, helpmenucommandsempty);
- i.setItem(5, helpmenucommandsempty);
- i.setItem(6, helpmenucommandsempty);
- i.setItem(7, helpmenucommandsempty);
- i.setItem(8, helpmenucommandsempty);
- i.setItem(9, helpmenucommandsempty);
- i.setItem(10, helpmenucommands1);
- i.setItem(11, helpmenucommandsempty);
- i.setItem(12, helpmenucommandsempty);
- i.setItem(13, helpmenucommands2);
- i.setItem(14, helpmenucommandsempty);
- i.setItem(15, helpmenucommandsempty);
- i.setItem(16, helpmenucommands3);
- i.setItem(17, helpmenucommandsempty);
- i.setItem(18, helpmenucommandsempty);
- i.setItem(19, helpmenucommandsempty);
- i.setItem(20, helpmenucommandsempty);
- i.setItem(21, helpmenucommands4);
- i.setItem(22, helpmenucommandsempty);
- i.setItem(23, helpmenucommands5);
- i.setItem(24, helpmenucommandsempty);
- i.setItem(25, helpmenucommandsempty);
- i.setItem(26, helpmenucommandsempty);
- i.setItem(27, helpmenucommandsback);
- i.setItem(28, helpmenucommandsempty);
- i.setItem(29, helpmenucommandsempty);
- i.setItem(30, helpmenucommandsempty);
- i.setItem(31, helpmenucommandsempty);
- i.setItem(32, helpmenucommandsempty);
- i.setItem(33, helpmenucommandsempty);
- i.setItem(34, helpmenucommandsempty);
- i.setItem(35, helpmenucommandsempty);
- player.openInventory(i);
- // Commands - help menu
- }
- public void newInventory3(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Rules");
- ItemStack helpmenurules1 = new ItemStack(Material.DIAMOND, 1);
- ItemMeta helpmenurules1Meta = helpmenurules1.getItemMeta();
- helpmenurules1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Server Rules");
- ArrayList<String> helpmenurules1lore = new ArrayList<String>();
- helpmenurules1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules1lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some server rules!");
- helpmenurules1lore.add(ChatColor.WHITE + "These rules need to be followed on the sever");
- helpmenurules1lore.add(ChatColor.WHITE + "otherwise punishments will be given out");
- helpmenurules1lore.add(ChatColor.WHITE + "accordingly.");
- helpmenurules1lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules1Meta.setLore(helpmenurules1lore);
- helpmenurules1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurules1.setItemMeta(helpmenurules1Meta);
- ItemStack helpmenurules2 = new ItemStack(Material.BOOK, 1);
- ItemMeta helpmenurules2Meta = helpmenurules2.getItemMeta();
- helpmenurules2Meta.setDisplayName(ChatColor.DARK_PURPLE + "Other platform Rules");
- ArrayList<String> helpmenurules2lore = new ArrayList<String>();
- helpmenurules2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules2lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some other rules!");
- helpmenurules2lore.add(ChatColor.WHITE + "These rules will be enforced on platforms such as");
- helpmenurules2lore.add(ChatColor.WHITE + "discord.");
- helpmenurules2lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules2Meta.setLore(helpmenurules2lore);
- helpmenurules2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurules2.setItemMeta(helpmenurules2Meta);
- ItemStack helpmenurules3 = new ItemStack(Material.EMERALD, 1);
- ItemMeta helpmenurules3Meta = helpmenurules3.getItemMeta();
- helpmenurules3Meta.setDisplayName(ChatColor.DARK_PURPLE + "Website Rules");
- ArrayList<String> helpmenurules3lore = new ArrayList<String>();
- helpmenurules3lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules3lore.add(ChatColor.DARK_PURPLE + "Right click me to find out some website rules!");
- helpmenurules3lore.add(ChatColor.WHITE + "These rules will be enforced on the website to");
- helpmenurules3lore.add(ChatColor.WHITE + "make sure that it is a friendly place open to");
- helpmenurules3lore.add(ChatColor.WHITE + "everyone.");
- helpmenurules3lore.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurules3Meta.setLore(helpmenurules3lore);
- helpmenurules3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurules3.setItemMeta(helpmenurules3Meta);
- ItemStack helpmenurulesempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenurulesemptyMeta = helpmenurulesempty.getItemMeta();
- helpmenurulesemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenurulesemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesempty.setItemMeta(helpmenurulesemptyMeta);
- ItemStack helpmenurulesback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenurulesbackMeta = helpmenurulesback.getItemMeta();
- helpmenurulesbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenurulesbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesback.setItemMeta(helpmenurulesbackMeta);
- i.setItem(0, helpmenurulesempty);
- i.setItem(1, helpmenurulesempty);
- i.setItem(2, helpmenurulesempty);
- i.setItem(3, helpmenurulesempty);
- i.setItem(4, helpmenurulesempty);
- i.setItem(5, helpmenurulesempty);
- i.setItem(6, helpmenurulesempty);
- i.setItem(7, helpmenurulesempty);
- i.setItem(8, helpmenurulesempty);
- i.setItem(9, helpmenurulesempty);
- i.setItem(10, helpmenurulesempty);
- i.setItem(11, helpmenurules1);
- i.setItem(12, helpmenurulesempty);
- i.setItem(13, helpmenurules2);
- i.setItem(14, helpmenurulesempty);
- i.setItem(15, helpmenurules3);
- i.setItem(16, helpmenurulesempty);
- i.setItem(17, helpmenurulesempty);
- i.setItem(18, helpmenurulesback);
- i.setItem(19, helpmenurulesempty);
- i.setItem(20, helpmenurulesempty);
- i.setItem(21, helpmenurulesempty);
- i.setItem(22, helpmenurulesempty);
- i.setItem(23, helpmenurulesempty);
- i.setItem(24, helpmenurulesempty);
- i.setItem(25, helpmenurulesempty);
- i.setItem(26, helpmenurulesempty);
- player.openInventory(i);
- // Rules - help menu
- }
- public void newInventory4(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36, ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Skyblock Commands");
- ItemStack helpmenucommandsskyblock1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock1Meta = helpmenucommandsskyblock1.getItemMeta();
- helpmenucommandsskyblock1Meta
- .setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " /is [/island]");
- ArrayList<String> helpmenucommandsskyblocklore1 = new ArrayList<String>();
- helpmenucommandsskyblocklore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore1.add(ChatColor.WHITE + "Creates an empty island if one is not already");
- helpmenucommandsskyblocklore1.add(ChatColor.WHITE + "created. You will have a choice when creating");
- helpmenucommandsskyblocklore1.add(ChatColor.WHITE + "and island.");
- helpmenucommandsskyblocklore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock1Meta.setLore(helpmenucommandsskyblocklore1);
- helpmenucommandsskyblock1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock1.setItemMeta(helpmenucommandsskyblock1Meta);
- ItemStack helpmenucommandsskyblock2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock2Meta = helpmenucommandsskyblock2.getItemMeta();
- helpmenucommandsskyblock2Meta
- .setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " /is controlpanel [/is cp]");
- ArrayList<String> helpmenucommandsskyblocklore2 = new ArrayList<String>();
- helpmenucommandsskyblocklore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore2.add(ChatColor.WHITE + "Opens the island control panel. This can control");
- helpmenucommandsskyblocklore2.add(ChatColor.WHITE + "many settings for both visitors and owners of the");
- helpmenucommandsskyblocklore2.add(ChatColor.WHITE + "island.");
- helpmenucommandsskyblocklore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock2Meta.setLore(helpmenucommandsskyblocklore2);
- helpmenucommandsskyblock2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock2.setItemMeta(helpmenucommandsskyblock2Meta);
- ItemStack helpmenucommandsskyblock3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock3Meta = helpmenucommandsskyblock3.getItemMeta();
- helpmenucommandsskyblock3Meta
- .setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " /is reset [2 resets]");
- ArrayList<String> helpmenucommandsskyblocklore3 = new ArrayList<String>();
- helpmenucommandsskyblocklore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore3.add(ChatColor.WHITE + "Resets the island to it's original state. Each");
- helpmenucommandsskyblocklore3.add(ChatColor.WHITE + "player only gets a few resets so use these");
- helpmenucommandsskyblocklore3.add(ChatColor.WHITE + "wisely.");
- helpmenucommandsskyblocklore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock3Meta.setLore(helpmenucommandsskyblocklore3);
- helpmenucommandsskyblock3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock3.setItemMeta(helpmenucommandsskyblock3Meta);
- ItemStack helpmenucommandsskyblock4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock4Meta = helpmenucommandsskyblock4.getItemMeta();
- helpmenucommandsskyblock4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " /is sethome");
- ArrayList<String> helpmenucommandsskyblocklore4 = new ArrayList<String>();
- helpmenucommandsskyblocklore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore4.add(ChatColor.WHITE + "Use this command to set a home on your island.");
- helpmenucommandsskyblocklore4.add(ChatColor.WHITE + "This will change the position that you spawn on");
- helpmenucommandsskyblocklore4.add(ChatColor.WHITE + "your island.");
- helpmenucommandsskyblocklore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock4Meta.setLore(helpmenucommandsskyblocklore4);
- helpmenucommandsskyblock4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock4.setItemMeta(helpmenucommandsskyblock4Meta);
- ItemStack helpmenucommandsskyblock5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock5Meta = helpmenucommandsskyblock4.getItemMeta();
- helpmenucommandsskyblock5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " /is top");
- ArrayList<String> helpmenucommandsskyblocklore5 = new ArrayList<String>();
- helpmenucommandsskyblocklore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore5.add(ChatColor.WHITE + "Will display the top 10 islands on the server.");
- helpmenucommandsskyblocklore5.add(ChatColor.WHITE + "These scores are based off of the amount of");
- helpmenucommandsskyblocklore5.add(ChatColor.WHITE + "blocks and money that the owner has amassed.");
- helpmenucommandsskyblocklore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock5Meta.setLore(helpmenucommandsskyblocklore5);
- helpmenucommandsskyblock5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock5.setItemMeta(helpmenucommandsskyblock5Meta);
- ItemStack helpmenucommandsskyblock6 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock6Meta = helpmenucommandsskyblock6.getItemMeta();
- helpmenucommandsskyblock6Meta.setDisplayName(ChatColor.WHITE + "[6]" + ChatColor.DARK_PURPLE + " /is warps");
- ArrayList<String> helpmenucommandsskyblocklore6 = new ArrayList<String>();
- helpmenucommandsskyblocklore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore6.add(ChatColor.WHITE + "This will list all the player islands that you can");
- helpmenucommandsskyblocklore6.add(ChatColor.WHITE + "warp to.");
- helpmenucommandsskyblocklore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock6Meta.setLore(helpmenucommandsskyblocklore6);
- helpmenucommandsskyblock6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock6.setItemMeta(helpmenucommandsskyblock6Meta);
- ItemStack helpmenucommandsskyblock7 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock7Meta = helpmenucommandsskyblock7.getItemMeta();
- helpmenucommandsskyblock7Meta.setDisplayName(ChatColor.WHITE + "[7]" + ChatColor.DARK_PURPLE + " /is team");
- ArrayList<String> helpmenucommandsskyblocklore7 = new ArrayList<String>();
- helpmenucommandsskyblocklore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore7.add(ChatColor.WHITE + "This command will list the players that are apart");
- helpmenucommandsskyblocklore7.add(ChatColor.WHITE + "of an island.");
- helpmenucommandsskyblocklore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock7Meta.setLore(helpmenucommandsskyblocklore7);
- helpmenucommandsskyblock7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock7.setItemMeta(helpmenucommandsskyblock7Meta);
- ItemStack helpmenucommandsskyblock8 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock8Meta = helpmenucommandsskyblock8.getItemMeta();
- helpmenucommandsskyblock8Meta.setDisplayName(ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " /is invite");
- ArrayList<String> helpmenucommandsskyblocklore8 = new ArrayList<String>();
- helpmenucommandsskyblocklore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore8.add(ChatColor.WHITE + "To invite a player to an island, this command");
- helpmenucommandsskyblocklore8.add(ChatColor.WHITE + "must be used.");
- helpmenucommandsskyblocklore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock8Meta.setLore(helpmenucommandsskyblocklore8);
- helpmenucommandsskyblock8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock8.setItemMeta(helpmenucommandsskyblock8Meta);
- ItemStack helpmenucommandsskyblock9 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock9Meta = helpmenucommandsskyblock9.getItemMeta();
- helpmenucommandsskyblock9Meta.setDisplayName(ChatColor.WHITE + "[9]" + ChatColor.DARK_PURPLE + " /is leave");
- ArrayList<String> helpmenucommandsskyblocklore9 = new ArrayList<String>();
- helpmenucommandsskyblocklore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore9.add(ChatColor.WHITE + "This command is used to leave an island. This");
- helpmenucommandsskyblocklore9.add(ChatColor.WHITE + "will remove all items from the players inventory.");
- helpmenucommandsskyblocklore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock9Meta.setLore(helpmenucommandsskyblocklore9);
- helpmenucommandsskyblock9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock9.setItemMeta(helpmenucommandsskyblock9Meta);
- ItemStack helpmenucommandsskyblock10 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock10Meta = helpmenucommandsskyblock10.getItemMeta();
- helpmenucommandsskyblock10Meta.setDisplayName(ChatColor.WHITE + "[10]" + ChatColor.DARK_PURPLE + " /is kick");
- ArrayList<String> helpmenucommandsskyblocklore10 = new ArrayList<String>();
- helpmenucommandsskyblocklore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore10.add(ChatColor.WHITE + "This command is used to kick players from an island");
- helpmenucommandsskyblocklore10.add(ChatColor.WHITE + "island only the owner of an island can use this");
- helpmenucommandsskyblocklore10.add(ChatColor.WHITE + "command.");
- helpmenucommandsskyblocklore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock10Meta.setLore(helpmenucommandsskyblocklore10);
- helpmenucommandsskyblock10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock10.setItemMeta(helpmenucommandsskyblock10Meta);
- ItemStack helpmenucommandsskyblock11 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock11Meta = helpmenucommandsskyblock11.getItemMeta();
- helpmenucommandsskyblock11Meta
- .setDisplayName(ChatColor.WHITE + "[11]" + ChatColor.DARK_PURPLE + " /is makeleader");
- ArrayList<String> helpmenucommandsskyblocklore11 = new ArrayList<String>();
- helpmenucommandsskyblocklore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore11.add(ChatColor.WHITE + "This command is used to make another player");
- helpmenucommandsskyblocklore11.add(ChatColor.WHITE + "on an island the leader of said island. This");
- helpmenucommandsskyblocklore11.add(ChatColor.WHITE + "command can only be used by the island leader.");
- helpmenucommandsskyblocklore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock11Meta.setLore(helpmenucommandsskyblocklore11);
- helpmenucommandsskyblock11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock11.setItemMeta(helpmenucommandsskyblock11Meta);
- ItemStack helpmenucommandsskyblock12 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock12Meta = helpmenucommandsskyblock12.getItemMeta();
- helpmenucommandsskyblock12Meta.setDisplayName(ChatColor.WHITE + "[12]" + ChatColor.DARK_PURPLE + " /is expel");
- ArrayList<String> helpmenucommandsskyblocklore12 = new ArrayList<String>();
- helpmenucommandsskyblocklore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore12.add(ChatColor.WHITE + "Used to remove specific visitors from an island.");
- helpmenucommandsskyblocklore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock12Meta.setLore(helpmenucommandsskyblocklore12);
- helpmenucommandsskyblock12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock12.setItemMeta(helpmenucommandsskyblock12Meta);
- ItemStack helpmenucommandsskyblock13 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock13Meta = helpmenucommandsskyblock13.getItemMeta();
- helpmenucommandsskyblock13Meta.setDisplayName(ChatColor.WHITE + "[13]" + ChatColor.DARK_PURPLE + " /is ban");
- ArrayList<String> helpmenucommandsskyblocklore13 = new ArrayList<String>();
- helpmenucommandsskyblocklore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore13.add(ChatColor.WHITE + "Used to ban specific players from an island.");
- helpmenucommandsskyblocklore13.add(ChatColor.WHITE + "This can be used so that 'annoying' players");
- helpmenucommandsskyblocklore13.add(ChatColor.WHITE + "cannot access an island anymore.");
- helpmenucommandsskyblocklore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock13Meta.setLore(helpmenucommandsskyblocklore13);
- helpmenucommandsskyblock13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock13.setItemMeta(helpmenucommandsskyblock13Meta);
- ItemStack helpmenucommandsskyblock14 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsskyblock14Meta = helpmenucommandsskyblock14.getItemMeta();
- helpmenucommandsskyblock14Meta
- .setDisplayName(ChatColor.WHITE + "[14]" + ChatColor.DARK_PURPLE + " /is settings");
- ArrayList<String> helpmenucommandsskyblocklore14 = new ArrayList<String>();
- helpmenucommandsskyblocklore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblocklore14.add(ChatColor.WHITE + "This command is used to alter island settings");
- helpmenucommandsskyblocklore14.add(ChatColor.WHITE + "for visitors and members of the island alike.");
- helpmenucommandsskyblocklore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandsskyblock14Meta.setLore(helpmenucommandsskyblocklore14);
- helpmenucommandsskyblock14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblock14.setItemMeta(helpmenucommandsskyblock14Meta);
- ItemStack helpmenucommandsskyblockback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandsskyblockbackMeta = helpmenucommandsskyblockback.getItemMeta();
- helpmenucommandsskyblockbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandsskyblockbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblockback.setItemMeta(helpmenucommandsskyblockbackMeta);
- ItemStack helpmenucommandsskyblockempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandsskyblockemptyMeta = helpmenucommandsskyblockempty.getItemMeta();
- helpmenucommandsskyblockemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandsskyblockemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsskyblockempty.setItemMeta(helpmenucommandsskyblockemptyMeta);
- i.setItem(0, helpmenucommandsskyblockempty);
- i.setItem(1, helpmenucommandsskyblockempty);
- i.setItem(2, helpmenucommandsskyblockempty);
- i.setItem(3, helpmenucommandsskyblockempty);
- i.setItem(4, helpmenucommandsskyblockempty);
- i.setItem(5, helpmenucommandsskyblockempty);
- i.setItem(6, helpmenucommandsskyblockempty);
- i.setItem(7, helpmenucommandsskyblockempty);
- i.setItem(8, helpmenucommandsskyblockempty);
- i.setItem(9, helpmenucommandsskyblockempty);
- i.setItem(10, helpmenucommandsskyblock1);
- i.setItem(11, helpmenucommandsskyblock2);
- i.setItem(12, helpmenucommandsskyblock3);
- i.setItem(13, helpmenucommandsskyblock4);
- i.setItem(14, helpmenucommandsskyblock5);
- i.setItem(15, helpmenucommandsskyblock6);
- i.setItem(16, helpmenucommandsskyblock7);
- i.setItem(17, helpmenucommandsskyblockempty);
- i.setItem(18, helpmenucommandsskyblockempty);
- i.setItem(19, helpmenucommandsskyblock8);
- i.setItem(20, helpmenucommandsskyblock9);
- i.setItem(21, helpmenucommandsskyblock10);
- i.setItem(22, helpmenucommandsskyblock11);
- i.setItem(23, helpmenucommandsskyblock12);
- i.setItem(24, helpmenucommandsskyblock13);
- i.setItem(25, helpmenucommandsskyblock14);
- i.setItem(26, helpmenucommandsskyblockempty);
- i.setItem(27, helpmenucommandsskyblockback);
- i.setItem(28, helpmenucommandsskyblockempty);
- i.setItem(29, helpmenucommandsskyblockempty);
- i.setItem(30, helpmenucommandsskyblockempty);
- i.setItem(31, helpmenucommandsskyblockempty);
- i.setItem(32, helpmenucommandsskyblockempty);
- i.setItem(33, helpmenucommandsskyblockempty);
- i.setItem(34, helpmenucommandsskyblockempty);
- i.setItem(35, helpmenucommandsskyblockempty);
- player.openInventory(i);
- // Commands 1 - help menu
- }
- public void newInventory5(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " PvP Commands");
- ItemStack helpmenucommandspvp1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandspvp1Meta = helpmenucommandspvp1.getItemMeta();
- helpmenucommandspvp1Meta.setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " /duel");
- ArrayList<String> helpmenucommandspvplore1 = new ArrayList<String>();
- helpmenucommandspvplore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvplore1.add(ChatColor.WHITE + "This is the core command to duel other players");
- helpmenucommandspvplore1.add(ChatColor.WHITE + "on the server. You will be told to choose a kit");
- helpmenucommandspvplore1.add(ChatColor.WHITE + "and then teleport to the duels arena.");
- helpmenucommandspvplore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvp1Meta.setLore(helpmenucommandspvplore1);
- helpmenucommandspvp1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvp1.setItemMeta(helpmenucommandspvp1Meta);
- ItemStack helpmenucommandspvp2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandspvp2Meta = helpmenucommandspvp2.getItemMeta();
- helpmenucommandspvp2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " /ct");
- ArrayList<String> helpmenucommandspvplore2 = new ArrayList<String>();
- helpmenucommandspvplore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvplore2.add(ChatColor.WHITE + "This command is used to check whether you are in");
- helpmenucommandspvplore2.add(ChatColor.WHITE + "combat or not. It will also describe how long");
- helpmenucommandspvplore2.add(ChatColor.WHITE + "until the combat tag expires.");
- helpmenucommandspvplore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvp2Meta.setLore(helpmenucommandspvplore2);
- helpmenucommandspvp2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvp2.setItemMeta(helpmenucommandspvp2Meta);
- ItemStack helpmenucommandspvp3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandspvp3Meta = helpmenucommandspvp3.getItemMeta();
- helpmenucommandspvp3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " /duel accept");
- ArrayList<String> helpmenucommandspvplore3 = new ArrayList<String>();
- helpmenucommandspvplore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvplore3.add(ChatColor.WHITE + "This command is used to accept duels from other");
- helpmenucommandspvplore3.add(ChatColor.WHITE + "players.");
- helpmenucommandspvplore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvp3Meta.setLore(helpmenucommandspvplore3);
- helpmenucommandspvp3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvp3.setItemMeta(helpmenucommandspvp3Meta);
- ItemStack helpmenucommandspvp4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandspvp4Meta = helpmenucommandspvp4.getItemMeta();
- helpmenucommandspvp4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " /duel deny");
- ArrayList<String> helpmenucommandspvplore4 = new ArrayList<String>();
- helpmenucommandspvplore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvplore4.add(ChatColor.WHITE + "This command is used to deny duels from other");
- helpmenucommandspvplore4.add(ChatColor.WHITE + "players.");
- helpmenucommandspvplore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenucommandspvp4Meta.setLore(helpmenucommandspvplore4);
- helpmenucommandspvp4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvp4.setItemMeta(helpmenucommandspvp4Meta);
- ItemStack helpmenucommandspvp5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandspvp5Meta = helpmenucommandspvp5.getItemMeta();
- helpmenucommandspvp5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " [TBD]");
- helpmenucommandspvp5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvp5.setItemMeta(helpmenucommandspvp5Meta);
- ItemStack helpmenucommandspvpback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandspvpbackMeta = helpmenucommandspvpback.getItemMeta();
- helpmenucommandspvpbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandspvpbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvpback.setItemMeta(helpmenucommandspvpbackMeta);
- ItemStack helpmenucommandspvpempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandspvpemptyMeta = helpmenucommandspvpempty.getItemMeta();
- helpmenucommandspvpemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandspvpemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandspvpempty.setItemMeta(helpmenucommandspvpemptyMeta);
- i.setItem(0, helpmenucommandspvpempty);
- i.setItem(1, helpmenucommandspvpempty);
- i.setItem(2, helpmenucommandspvpempty);
- i.setItem(3, helpmenucommandspvpempty);
- i.setItem(4, helpmenucommandspvpempty);
- i.setItem(5, helpmenucommandspvpempty);
- i.setItem(6, helpmenucommandspvpempty);
- i.setItem(7, helpmenucommandspvpempty);
- i.setItem(8, helpmenucommandspvpempty);
- i.setItem(9, helpmenucommandspvpempty);
- i.setItem(10, helpmenucommandspvpempty);
- i.setItem(11, helpmenucommandspvp1);
- i.setItem(12, helpmenucommandspvp2);
- i.setItem(13, helpmenucommandspvp3);
- i.setItem(14, helpmenucommandspvp4);
- i.setItem(15, helpmenucommandspvp5);
- i.setItem(16, helpmenucommandspvpempty);
- i.setItem(17, helpmenucommandspvpempty);
- i.setItem(18, helpmenucommandspvpback);
- i.setItem(19, helpmenucommandspvpempty);
- i.setItem(20, helpmenucommandspvpempty);
- i.setItem(21, helpmenucommandspvpempty);
- i.setItem(22, helpmenucommandspvpempty);
- i.setItem(23, helpmenucommandspvpempty);
- i.setItem(24, helpmenucommandspvpempty);
- i.setItem(25, helpmenucommandspvpempty);
- i.setItem(26, helpmenucommandspvpempty);
- player.openInventory(i);
- // Commands 2 - help menu
- }
- public void newInventory6(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Warp Commands");
- ItemStack helpmenucommandswarp1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandswarp1Meta = helpmenucommandswarp1.getItemMeta();
- helpmenucommandswarp1Meta.setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " /warp spawn");
- helpmenucommandswarp1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarp1.setItemMeta(helpmenucommandswarp1Meta);
- ItemStack helpmenucommandswarp2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandswarp2Meta = helpmenucommandswarp2.getItemMeta();
- helpmenucommandswarp2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " /warp warzone");
- helpmenucommandswarp2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarp2.setItemMeta(helpmenucommandswarp2Meta);
- ItemStack helpmenucommandswarp3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandswarp3Meta = helpmenucommandswarp3.getItemMeta();
- helpmenucommandswarp3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " /warp duellobby");
- helpmenucommandswarp3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarp3.setItemMeta(helpmenucommandswarp3Meta);
- ItemStack helpmenucommandswarp4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandswarp4Meta = helpmenucommandswarp4.getItemMeta();
- helpmenucommandswarp4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " /warp parkour");
- helpmenucommandswarp4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarp4.setItemMeta(helpmenucommandswarp4Meta);
- ItemStack helpmenucommandswarp5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandswarp5Meta = helpmenucommandswarp5.getItemMeta();
- helpmenucommandswarp5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " [TBD]");
- helpmenucommandswarp5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarp5.setItemMeta(helpmenucommandswarp5Meta);
- ItemStack helpmenucommandswarpback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandswarpbackMeta = helpmenucommandswarpback.getItemMeta();
- helpmenucommandswarpbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandswarpbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarpback.setItemMeta(helpmenucommandswarpbackMeta);
- ItemStack helpmenucommandswarpempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandswarpemptyMeta = helpmenucommandswarpempty.getItemMeta();
- helpmenucommandswarpemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandswarpemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandswarpempty.setItemMeta(helpmenucommandswarpemptyMeta);
- i.setItem(0, helpmenucommandswarpempty);
- i.setItem(1, helpmenucommandswarpempty);
- i.setItem(2, helpmenucommandswarpempty);
- i.setItem(3, helpmenucommandswarpempty);
- i.setItem(4, helpmenucommandswarpempty);
- i.setItem(5, helpmenucommandswarpempty);
- i.setItem(6, helpmenucommandswarpempty);
- i.setItem(7, helpmenucommandswarpempty);
- i.setItem(8, helpmenucommandswarpempty);
- i.setItem(9, helpmenucommandswarpempty);
- i.setItem(10, helpmenucommandswarpempty);
- i.setItem(11, helpmenucommandswarp1);
- i.setItem(12, helpmenucommandswarp2);
- i.setItem(13, helpmenucommandswarp3);
- i.setItem(14, helpmenucommandswarp4);
- i.setItem(15, helpmenucommandswarp5);
- i.setItem(16, helpmenucommandswarpempty);
- i.setItem(17, helpmenucommandswarpempty);
- i.setItem(18, helpmenucommandswarpback);
- i.setItem(19, helpmenucommandswarpempty);
- i.setItem(20, helpmenucommandswarpempty);
- i.setItem(21, helpmenucommandswarpempty);
- i.setItem(22, helpmenucommandswarpempty);
- i.setItem(23, helpmenucommandswarpempty);
- i.setItem(24, helpmenucommandswarpempty);
- i.setItem(25, helpmenucommandswarpempty);
- i.setItem(26, helpmenucommandswarpempty);
- player.openInventory(i);
- // Commands 3 - help menu
- }
- public void newInventory7(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Shop Commands");
- ItemStack helpmenucommandsshop1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop1Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop1Meta.setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " /ah");
- helpmenucommandsshop1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop1.setItemMeta(helpmenucommandsshop1Meta);
- ItemStack helpmenucommandsshop2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop2Meta = helpmenucommandsshop2.getItemMeta();
- helpmenucommandsshop2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " /ah view");
- helpmenucommandsshop2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop2.setItemMeta(helpmenucommandsshop2Meta);
- ItemStack helpmenucommandsshop3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop3Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " /ah sell [price]");
- helpmenucommandsshop3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop3.setItemMeta(helpmenucommandsshop3Meta);
- ItemStack helpmenucommandsshop4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop4Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " /ah bid [price]");
- helpmenucommandsshop4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop4.setItemMeta(helpmenucommandsshop4Meta);
- ItemStack helpmenucommandsshop5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop5Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " /ah expired");
- helpmenucommandsshop5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop5.setItemMeta(helpmenucommandsshop5Meta);
- ItemStack helpmenucommandsshop6 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop6Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop6Meta.setDisplayName(ChatColor.WHITE + "[6]" + ChatColor.DARK_PURPLE + " /ah collect");
- helpmenucommandsshop6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop6.setItemMeta(helpmenucommandsshop6Meta);
- ItemStack helpmenucommandsshop7 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsshop7Meta = helpmenucommandsshop1.getItemMeta();
- helpmenucommandsshop7Meta.setDisplayName(ChatColor.WHITE + "[7]" + ChatColor.DARK_PURPLE + " /ah listed");
- helpmenucommandsshop7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshop7.setItemMeta(helpmenucommandsshop7Meta);
- ItemStack helpmenucommandsshopback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandsshopbackMeta = helpmenucommandsshopback.getItemMeta();
- helpmenucommandsshopbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandsshopbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshopback.setItemMeta(helpmenucommandsshopbackMeta);
- ItemStack helpmenucommandsshopempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandsshopemptyMeta = helpmenucommandsshopempty.getItemMeta();
- helpmenucommandsshopemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandsshopemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsshopempty.setItemMeta(helpmenucommandsshopemptyMeta);
- i.setItem(0, helpmenucommandsshopempty);
- i.setItem(1, helpmenucommandsshopempty);
- i.setItem(2, helpmenucommandsshopempty);
- i.setItem(3, helpmenucommandsshopempty);
- i.setItem(4, helpmenucommandsshopempty);
- i.setItem(5, helpmenucommandsshopempty);
- i.setItem(6, helpmenucommandsshopempty);
- i.setItem(7, helpmenucommandsshopempty);
- i.setItem(8, helpmenucommandsshopempty);
- i.setItem(9, helpmenucommandsshopempty);
- i.setItem(10, helpmenucommandsshop1);
- i.setItem(11, helpmenucommandsshop2);
- i.setItem(12, helpmenucommandsshop3);
- i.setItem(13, helpmenucommandsshop4);
- i.setItem(14, helpmenucommandsshop5);
- i.setItem(15, helpmenucommandsshop6);
- i.setItem(16, helpmenucommandsshop7);
- i.setItem(17, helpmenucommandsshopempty);
- i.setItem(18, helpmenucommandsshopback);
- i.setItem(19, helpmenucommandsshopempty);
- i.setItem(20, helpmenucommandsshopempty);
- i.setItem(21, helpmenucommandsshopempty);
- i.setItem(22, helpmenucommandsshopempty);
- i.setItem(23, helpmenucommandsshopempty);
- i.setItem(24, helpmenucommandsshopempty);
- i.setItem(25, helpmenucommandsshopempty);
- i.setItem(26, helpmenucommandsshopempty);
- player.openInventory(i);
- // Commands 4 - help menu
- }
- public void newInventory8(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27, ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Spawner Commands");
- ItemStack helpmenucommandsspawner1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsspawner1Meta = helpmenucommandsspawner1.getItemMeta();
- helpmenucommandsspawner1Meta.setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " /spawnershop");
- helpmenucommandsspawner1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawner1.setItemMeta(helpmenucommandsspawner1Meta);
- ItemStack helpmenucommandsspawner2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsspawner2Meta = helpmenucommandsspawner2.getItemMeta();
- helpmenucommandsspawner2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " /spawnerstats");
- helpmenucommandsspawner2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawner2.setItemMeta(helpmenucommandsspawner2Meta);
- ItemStack helpmenucommandsspawner3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsspawner3Meta = helpmenucommandsspawner1.getItemMeta();
- helpmenucommandsspawner3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " /es help");
- helpmenucommandsspawner3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawner3.setItemMeta(helpmenucommandsspawner3Meta);
- ItemStack helpmenucommandsspawner4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsspawner4Meta = helpmenucommandsspawner1.getItemMeta();
- helpmenucommandsspawner4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " /es editor");
- helpmenucommandsspawner4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawner4.setItemMeta(helpmenucommandsspawner4Meta);
- ItemStack helpmenucommandsspawner5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenucommandsspawner5Meta = helpmenucommandsspawner1.getItemMeta();
- helpmenucommandsspawner5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " [TBD]");
- helpmenucommandsspawner5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawner5.setItemMeta(helpmenucommandsspawner5Meta);
- ItemStack helpmenucommandsspawnerback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenucommandsspawnerbackMeta = helpmenucommandsspawnerback.getItemMeta();
- helpmenucommandsspawnerbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenucommandsspawnerbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawnerback.setItemMeta(helpmenucommandsspawnerbackMeta);
- ItemStack helpmenucommandsspawnerempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenucommandsspawneremptyMeta = helpmenucommandsspawnerempty.getItemMeta();
- helpmenucommandsspawneremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenucommandsspawneremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenucommandsspawnerempty.setItemMeta(helpmenucommandsspawneremptyMeta);
- i.setItem(0, helpmenucommandsspawnerempty);
- i.setItem(1, helpmenucommandsspawnerempty);
- i.setItem(2, helpmenucommandsspawnerempty);
- i.setItem(3, helpmenucommandsspawnerempty);
- i.setItem(4, helpmenucommandsspawnerempty);
- i.setItem(5, helpmenucommandsspawnerempty);
- i.setItem(6, helpmenucommandsspawnerempty);
- i.setItem(7, helpmenucommandsspawnerempty);
- i.setItem(8, helpmenucommandsspawnerempty);
- i.setItem(9, helpmenucommandsspawnerempty);
- i.setItem(10, helpmenucommandsspawnerempty);
- i.setItem(11, helpmenucommandsspawner1);
- i.setItem(12, helpmenucommandsspawner2);
- i.setItem(13, helpmenucommandsspawner3);
- i.setItem(14, helpmenucommandsspawner4);
- i.setItem(15, helpmenucommandsspawner5);
- i.setItem(16, helpmenucommandsspawnerempty);
- i.setItem(17, helpmenucommandsspawnerempty);
- i.setItem(18, helpmenucommandsspawnerback);
- i.setItem(19, helpmenucommandsspawnerempty);
- i.setItem(20, helpmenucommandsspawnerempty);
- i.setItem(21, helpmenucommandsspawnerempty);
- i.setItem(22, helpmenucommandsspawnerempty);
- i.setItem(23, helpmenucommandsspawnerempty);
- i.setItem(24, helpmenucommandsspawnerempty);
- i.setItem(25, helpmenucommandsspawnerempty);
- i.setItem(26, helpmenucommandsspawnerempty);
- player.openInventory(i);
- // Commands 5 - help menu
- }
- public void newInventory9(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Server Rules");
- ItemStack helpmenurulesserver1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver1Meta = helpmenurulesserver1.getItemMeta();
- helpmenurulesserver1Meta.setDisplayName(
- ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " Don't ask for 'OP' or free donor / staff ranks");
- ArrayList<String> helpmenurulesserverlore1 = new ArrayList<String>();
- helpmenurulesserverlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore1.add(ChatColor.WHITE + "Please do not ask for donor / staff ranks or OP");
- helpmenurulesserverlore1.add(ChatColor.WHITE + "as this will most likely result in a punishment.");
- helpmenurulesserverlore1.add(ChatColor.WHITE + "If you persist in asking for ranks then you will");
- helpmenurulesserverlore1.add(ChatColor.WHITE + "be banned from this server.");
- helpmenurulesserverlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver1Meta.setLore(helpmenurulesserverlore1);
- helpmenurulesserver1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver1.setItemMeta(helpmenurulesserver1Meta);
- ItemStack helpmenurulesserver2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver2Meta = helpmenurulesserver2.getItemMeta();
- helpmenurulesserver2Meta.setDisplayName(
- ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " Do not attempt to ban / mute evade");
- ArrayList<String> helpmenurulesserverlore2 = new ArrayList<String>();
- helpmenurulesserverlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore2.add(ChatColor.WHITE + "You were banned / muted for a reason so if");
- helpmenurulesserverlore2.add(ChatColor.WHITE + "you attempt to evade these punishments you");
- helpmenurulesserverlore2.add(ChatColor.WHITE + "will get the alternate account permanently muted");
- helpmenurulesserverlore2.add(ChatColor.WHITE + "or banned. Repeatedly doing this will result in an");
- helpmenurulesserverlore2.add(ChatColor.WHITE + "IP ban.");
- helpmenurulesserverlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver2Meta.setLore(helpmenurulesserverlore2);
- helpmenurulesserver2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver2.setItemMeta(helpmenurulesserver2Meta);
- ItemStack helpmenurulesserver3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver3Meta = helpmenurulesserver3.getItemMeta();
- helpmenurulesserver3Meta.setDisplayName(
- ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " Don't hack or use unauthorised mods");
- ArrayList<String> helpmenurulesserverlore3 = new ArrayList<String>();
- helpmenurulesserverlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore3.add(ChatColor.WHITE + "Using a hacked client or unauthorised mod will");
- helpmenurulesserverlore3.add(ChatColor.WHITE + "result in a ban without warning. A list of allowed");
- helpmenurulesserverlore3.add(ChatColor.WHITE + "mods can be found on the website.");
- helpmenurulesserverlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver3Meta.setLore(helpmenurulesserverlore3);
- helpmenurulesserver3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver3.setItemMeta(helpmenurulesserver3Meta);
- ItemStack helpmenurulesserver4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver4Meta = helpmenurulesserver4.getItemMeta();
- helpmenurulesserver4Meta
- .setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " Don't spam in chat");
- ArrayList<String> helpmenurulesserverlore4 = new ArrayList<String>();
- helpmenurulesserverlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore4.add(ChatColor.WHITE + "Don't spam in chat as this becomes annoying");
- helpmenurulesserverlore4.add(ChatColor.WHITE + "and will irritate players on the server. If you");
- helpmenurulesserverlore4.add(ChatColor.WHITE + "manage to spam in chat then you will be punished.");
- helpmenurulesserverlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver4Meta.setLore(helpmenurulesserverlore4);
- helpmenurulesserver4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver4.setItemMeta(helpmenurulesserver4Meta);
- ItemStack helpmenurulesserver5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver5Meta = helpmenurulesserver5.getItemMeta();
- helpmenurulesserver5Meta.setDisplayName(
- ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " Don't exploit server bugs or gitches");
- ArrayList<String> helpmenurulesserverlore5 = new ArrayList<String>();
- helpmenurulesserverlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore5.add(ChatColor.WHITE + "The staff team understands that there will be");
- helpmenurulesserverlore5.add(ChatColor.WHITE + "bugs and exploits but please don't exploit them");
- helpmenurulesserverlore5.add(ChatColor.WHITE + "however tempting it may be. Please report these");
- helpmenurulesserverlore5.add(ChatColor.WHITE + "exploits and bugs to the staff team so they can");
- helpmenurulesserverlore5.add(ChatColor.WHITE + "be dealt with.");
- helpmenurulesserverlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver5Meta.setLore(helpmenurulesserverlore5);
- helpmenurulesserver5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver5.setItemMeta(helpmenurulesserver5Meta);
- ItemStack helpmenurulesserver6 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver6Meta = helpmenurulesserver6.getItemMeta();
- helpmenurulesserver6Meta.setDisplayName(ChatColor.WHITE + "[6]" + ChatColor.DARK_PURPLE + " Don't island farm");
- ArrayList<String> helpmenurulesserverlore6 = new ArrayList<String>();
- helpmenurulesserverlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore6.add(ChatColor.WHITE + "Don't island farm as this will provide an unfair");
- helpmenurulesserverlore6.add(ChatColor.WHITE + "advantage to the player doing the farming.");
- helpmenurulesserverlore6.add(ChatColor.WHITE + "Island farming is the act of restarting an island");
- helpmenurulesserverlore6.add(ChatColor.WHITE + "multiple times to gain resources from the island.");
- helpmenurulesserverlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver6Meta.setLore(helpmenurulesserverlore6);
- helpmenurulesserver6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver6.setItemMeta(helpmenurulesserver6Meta);
- ItemStack helpmenurulesserver7 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver7Meta = helpmenurulesserver7.getItemMeta();
- helpmenurulesserver7Meta.setDisplayName(
- ChatColor.WHITE + "[7]" + ChatColor.DARK_PURPLE + " Don't issue threats towards other players");
- ArrayList<String> helpmenurulesserverlore7 = new ArrayList<String>();
- helpmenurulesserverlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore7.add(ChatColor.WHITE + "Don't threaten other players such as Doxing or");
- helpmenurulesserverlore7.add(ChatColor.WHITE + "Ddosing. These acts will result in a mute being");
- helpmenurulesserverlore7.add(ChatColor.WHITE + "issued depending on the severity of the threat or");
- helpmenurulesserverlore7.add(ChatColor.WHITE + "the action. The act of Ddosing is illegal in most");
- helpmenurulesserverlore7.add(ChatColor.WHITE + "if not all countries currently.");
- helpmenurulesserverlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver7Meta.setLore(helpmenurulesserverlore7);
- helpmenurulesserver7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver7.setItemMeta(helpmenurulesserver7Meta);
- ItemStack helpmenurulesserver8 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver8Meta = helpmenurulesserver8.getItemMeta();
- helpmenurulesserver8Meta
- .setDisplayName(ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " Don't make offensive or explicit builds");
- ArrayList<String> helpmenurulesserverlore8 = new ArrayList<String>();
- helpmenurulesserverlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore8.add(ChatColor.WHITE + "Making offensive or explicit builds may be fun");
- helpmenurulesserverlore8.add(ChatColor.WHITE + "but are punishable by a kick for a first offence");
- helpmenurulesserverlore8.add(ChatColor.WHITE + "and then a ban for the next offence as the");
- helpmenurulesserverlore8.add(ChatColor.WHITE + "server needs to be child friendly.");
- helpmenurulesserverlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver8Meta.setLore(helpmenurulesserverlore8);
- helpmenurulesserver8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver8.setItemMeta(helpmenurulesserver8Meta);
- ItemStack helpmenurulesserver9 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver9Meta = helpmenurulesserver9.getItemMeta();
- helpmenurulesserver9Meta
- .setDisplayName(ChatColor.WHITE + "[9]" + ChatColor.DARK_PURPLE + " AFK machines are not allowed");
- ArrayList<String> helpmenurulesserverlore9 = new ArrayList<String>();
- helpmenurulesserverlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore9.add(ChatColor.WHITE + "AFK pools and machines are not allowed due to");
- helpmenurulesserverlore9.add(ChatColor.WHITE + "them giving an unfair advantage and rendering");
- helpmenurulesserverlore9.add(ChatColor.WHITE + "chunks on the server that do not need to be rendered");
- helpmenurulesserverlore9.add(ChatColor.WHITE + "if the player is AFKing. This causes unnecassary");
- helpmenurulesserverlore9.add(ChatColor.WHITE + "lag for other players.");
- helpmenurulesserverlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver9Meta.setLore(helpmenurulesserverlore9);
- helpmenurulesserver9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver9.setItemMeta(helpmenurulesserver9Meta);
- ItemStack helpmenurulesserver10 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver10Meta = helpmenurulesserver10.getItemMeta();
- helpmenurulesserver10Meta.setDisplayName(
- ChatColor.WHITE + "[10]" + ChatColor.DARK_PURPLE + " Don't make redstone contraptions intended to cause lag");
- ArrayList<String> helpmenurulesserverlore10 = new ArrayList<String>();
- helpmenurulesserverlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore10.add(ChatColor.WHITE + "These contraptions will likely result in the");
- helpmenurulesserverlore10.add(ChatColor.WHITE + "player who made it getting banned. Lagging the");
- helpmenurulesserverlore10.add(ChatColor.WHITE + "server intentionally makes it less enjoyable");
- helpmenurulesserverlore10.add(ChatColor.WHITE + "for others who want to play.");
- helpmenurulesserverlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver10Meta.setLore(helpmenurulesserverlore10);
- helpmenurulesserver10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver10.setItemMeta(helpmenurulesserver10Meta);
- ItemStack helpmenurulesserver11 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver11Meta = helpmenurulesserver11.getItemMeta();
- helpmenurulesserver11Meta
- .setDisplayName(ChatColor.WHITE + "[11]" + ChatColor.DARK_PURPLE + " Donor abuse is not allowed");
- ArrayList<String> helpmenurulesserverlore11 = new ArrayList<String>();
- helpmenurulesserverlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore11.add(ChatColor.WHITE + "Donor abuse such as spawning animals for");
- helpmenurulesserverlore11.add(ChatColor.WHITE + "other players who do not have a rank or fixing");
- helpmenurulesserverlore11.add(ChatColor.WHITE + "their items. These perks are only available to");
- helpmenurulesserverlore11.add(ChatColor.WHITE + "those who bought the rank or perk.");
- helpmenurulesserverlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver11Meta.setLore(helpmenurulesserverlore11);
- helpmenurulesserver11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver11.setItemMeta(helpmenurulesserver11Meta);
- ItemStack helpmenurulesserver12 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver12Meta = helpmenurulesserver12.getItemMeta();
- helpmenurulesserver12Meta
- .setDisplayName(ChatColor.WHITE + "[12]" + ChatColor.DARK_PURPLE + " Don't discriminate or be racist");
- ArrayList<String> helpmenurulesserverlore12 = new ArrayList<String>();
- helpmenurulesserverlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore12.add(ChatColor.WHITE + "Discrimination, racism and hate speech of any kind");
- helpmenurulesserverlore12.add(ChatColor.WHITE + "is not tolerated and will be punished accordingly.");
- helpmenurulesserverlore12.add(ChatColor.WHITE + "The server needs to be kept child friendly which");
- helpmenurulesserverlore12.add(ChatColor.WHITE + "means that this kind of behaviour needs to be");
- helpmenurulesserverlore12.add(ChatColor.WHITE + "stopped.");
- helpmenurulesserverlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver12Meta.setLore(helpmenurulesserverlore12);
- helpmenurulesserver12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver12.setItemMeta(helpmenurulesserver12Meta);
- ItemStack helpmenurulesserver13 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver13Meta = helpmenurulesserver13.getItemMeta();
- helpmenurulesserver13Meta
- .setDisplayName(ChatColor.WHITE + "[13]" + ChatColor.DARK_PURPLE + " Don't impersonate staff members");
- ArrayList<String> helpmenurulesserverlore13 = new ArrayList<String>();
- helpmenurulesserverlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore13.add(ChatColor.WHITE + "Impersonating staff members is not allowed");
- helpmenurulesserverlore13.add(ChatColor.WHITE + "which includes nicknames, saying you are an alt");
- helpmenurulesserverlore13.add(ChatColor.WHITE + "of a staff member and any other impersonation");
- helpmenurulesserverlore13.add(ChatColor.WHITE + "method.");
- helpmenurulesserverlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver13Meta.setLore(helpmenurulesserverlore13);
- helpmenurulesserver13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver13.setItemMeta(helpmenurulesserver13Meta);
- ItemStack helpmenurulesserver14 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesserver14Meta = helpmenurulesserver14.getItemMeta();
- helpmenurulesserver14Meta.setDisplayName(
- ChatColor.WHITE + "[14]" + ChatColor.DARK_PURPLE + " A full list of rules can be found on our website");
- ArrayList<String> helpmenurulesserverlore14 = new ArrayList<String>();
- helpmenurulesserverlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserverlore14.add(ChatColor.WHITE + "[Insert Website Address Here]");
- helpmenurulesserverlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesserver14Meta.setLore(helpmenurulesserverlore14);
- helpmenurulesserver14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserver14.setItemMeta(helpmenurulesserver14Meta);
- ItemStack helpmenurulesserverback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenurulesserverbackMeta = helpmenurulesserverback.getItemMeta();
- helpmenurulesserverbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenurulesserverbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserverback.setItemMeta(helpmenurulesserverbackMeta);
- ItemStack helpmenurulesserverempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenurulesserveremptyMeta = helpmenurulesserverempty.getItemMeta();
- helpmenurulesserveremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenurulesserveremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesserverempty.setItemMeta(helpmenurulesserveremptyMeta);
- i.setItem(0, helpmenurulesserverempty);
- i.setItem(1, helpmenurulesserverempty);
- i.setItem(2, helpmenurulesserverempty);
- i.setItem(3, helpmenurulesserverempty);
- i.setItem(4, helpmenurulesserverempty);
- i.setItem(5, helpmenurulesserverempty);
- i.setItem(6, helpmenurulesserverempty);
- i.setItem(7, helpmenurulesserverempty);
- i.setItem(8, helpmenurulesserverempty);
- i.setItem(9, helpmenurulesserverempty);
- i.setItem(10, helpmenurulesserver1);
- i.setItem(11, helpmenurulesserver2);
- i.setItem(12, helpmenurulesserver3);
- i.setItem(13, helpmenurulesserver4);
- i.setItem(14, helpmenurulesserver5);
- i.setItem(15, helpmenurulesserver6);
- i.setItem(16, helpmenurulesserver7);
- i.setItem(17, helpmenurulesserverempty);
- i.setItem(18, helpmenurulesserverempty);
- i.setItem(19, helpmenurulesserver8);
- i.setItem(20, helpmenurulesserver9);
- i.setItem(21, helpmenurulesserver10);
- i.setItem(22, helpmenurulesserver11);
- i.setItem(23, helpmenurulesserver12);
- i.setItem(24, helpmenurulesserver13);
- i.setItem(25, helpmenurulesserver14);
- i.setItem(26, helpmenurulesserverempty);
- i.setItem(27, helpmenurulesserverback);
- i.setItem(28, helpmenurulesserverempty);
- i.setItem(29, helpmenurulesserverempty);
- i.setItem(30, helpmenurulesserverempty);
- i.setItem(31, helpmenurulesserverempty);
- i.setItem(32, helpmenurulesserverempty);
- i.setItem(33, helpmenurulesserverempty);
- i.setItem(34, helpmenurulesserverempty);
- i.setItem(35, helpmenurulesserverempty);
- player.openInventory(i);
- // Rules 1 - help menu
- }
- public void newInventory10(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Other Platform Rules");
- ItemStack helpmenurulesother1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother1Meta = helpmenurulesother1.getItemMeta();
- helpmenurulesother1Meta
- .setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " Respecting Community Members");
- ArrayList<String> helpmenurulesotherlore1 = new ArrayList<String>();
- helpmenurulesotherlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "Please remain respectful when speaking in our");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "community chats such as on Discord and the");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "server. We would like to keep this community");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "free of inappropriate behaviour and disrespect");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "but we do understand that this is not always");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "possible. Please be aware of how you are treating");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "others and make sure to keep inappropriate");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "language to a minimum. A large proportion of our");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "community are young children or adults and the ");
- helpmenurulesotherlore1.add(ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " staff team want to make sure that our");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "services stay professional. Discrimination,");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "harassment and toxicity will not be tolerated and");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "depending on the severity, the user could be");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "verbally warned or permanently removed from");
- helpmenurulesotherlore1.add(ChatColor.WHITE + "our community.");
- helpmenurulesotherlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother1Meta.setLore(helpmenurulesotherlore1);
- helpmenurulesother1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother1.setItemMeta(helpmenurulesother1Meta);
- ItemStack helpmenurulesother2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother2Meta = helpmenurulesother2.getItemMeta();
- helpmenurulesother2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " Account Security");
- ArrayList<String> helpmenurulesotherlore2 = new ArrayList<String>();
- helpmenurulesotherlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "Make sure that you have full control over");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "your account. You will be held accountable");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "for any inappropriate action that any other");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "user does while using your account. If you hold");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "an " + ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " official staff rank then you are");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "required to use two factor authentication");
- helpmenurulesotherlore2.add(ChatColor.WHITE + "which must be enabled at all times.");
- helpmenurulesotherlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother2Meta.setLore(helpmenurulesotherlore2);
- helpmenurulesother2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother2.setItemMeta(helpmenurulesother2Meta);
- ItemStack helpmenurulesother3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother3Meta = helpmenurulesother3.getItemMeta();
- helpmenurulesother3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " File sharing (Direct uploads)");
- ArrayList<String> helpmenurulesotherlore3 = new ArrayList<String>();
- helpmenurulesotherlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "Only images or gifs should be shared in the");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "discord. Any other type of file will be treated");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "as malicious. Any files that members want to");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "upload can be reviewed by a moderator. Any");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "malicious or inappropriate images or files will");
- helpmenurulesotherlore3.add(ChatColor.WHITE + "result in the user getting banned.");
- helpmenurulesotherlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother3Meta.setLore(helpmenurulesotherlore3);
- helpmenurulesother3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother3.setItemMeta(helpmenurulesother3Meta);
- ItemStack helpmenurulesother4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother4Meta = helpmenurulesother4.getItemMeta();
- helpmenurulesother4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " Giveaways");
- ArrayList<String> helpmenurulesotherlore4 = new ArrayList<String>();
- helpmenurulesotherlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore4.add(ChatColor.WHITE + "No giveaways are to be done via the discord");
- helpmenurulesotherlore4.add(ChatColor.WHITE + "besides official " + ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " giveaways. These are");
- helpmenurulesotherlore4.add(ChatColor.WHITE + "not guarenteed to be held but could happen.");
- helpmenurulesotherlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother4Meta.setLore(helpmenurulesotherlore4);
- helpmenurulesother4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother4.setItemMeta(helpmenurulesother4Meta);
- ItemStack helpmenurulesother5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother5Meta = helpmenurulesother5.getItemMeta();
- helpmenurulesother5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " Help / Support Channels");
- ArrayList<String> helpmenurulesotherlore5 = new ArrayList<String>();
- helpmenurulesotherlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore5.add(ChatColor.WHITE + "Please do not spam help and support channels.");
- helpmenurulesotherlore5.add(ChatColor.WHITE + "These channels are to be used for concerns");
- helpmenurulesotherlore5.add(ChatColor.WHITE + "and questions only about our platforms.");
- helpmenurulesotherlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother5Meta.setLore(helpmenurulesotherlore5);
- helpmenurulesother5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother5.setItemMeta(helpmenurulesother5Meta);
- ItemStack helpmenurulesother6 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother6Meta = helpmenurulesother6.getItemMeta();
- helpmenurulesother6Meta.setDisplayName(ChatColor.WHITE + "[6]" + ChatColor.DARK_PURPLE + " Link / URL Sharing");
- ArrayList<String> helpmenurulesotherlore6 = new ArrayList<String>();
- helpmenurulesotherlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "We ask that you keep any and all links shared");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "free from inappropriate and harmful content");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "that we do not deem PG. Any members sharing");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "inappropriate or harmful URLs will be removed");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "from the discord without question. Depending");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "on the severity we will also further revoke");
- helpmenurulesotherlore6.add(ChatColor.WHITE + "access to either or both the server and forums.");
- helpmenurulesotherlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother6Meta.setLore(helpmenurulesotherlore6);
- helpmenurulesother6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother6.setItemMeta(helpmenurulesother6Meta);
- ItemStack helpmenurulesother7 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother7Meta = helpmenurulesother7.getItemMeta();
- helpmenurulesother7Meta.setDisplayName(ChatColor.WHITE + "[7]" + ChatColor.DARK_PURPLE + " Punishment Related Concerns");
- ArrayList<String> helpmenurulesotherlore7 = new ArrayList<String>();
- helpmenurulesotherlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "The " + ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " staff team do not discuss");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "punishments on the discord and will not engage");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "in any discussions about 'wrongful' punishments.");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "These matters are to be handled only on");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "the " + ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " official forums. Any user found");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "spamming, tagging or causing issues regarding");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "their punishment may be punished further and");
- helpmenurulesotherlore7.add(ChatColor.WHITE + "have their appeal overlooked.");
- helpmenurulesotherlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother7Meta.setLore(helpmenurulesotherlore7);
- helpmenurulesother7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother7.setItemMeta(helpmenurulesother7Meta);
- ItemStack helpmenurulesother8 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother8Meta = helpmenurulesother8.getItemMeta();
- helpmenurulesother8Meta.setDisplayName(ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " Respecting Community Members");
- ArrayList<String> helpmenurulesotherlore8 = new ArrayList<String>();
- helpmenurulesotherlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore8.add(ChatColor.WHITE + "");
- helpmenurulesotherlore8.add(ChatColor.WHITE + "");
- helpmenurulesotherlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother8Meta.setLore(helpmenurulesotherlore8);
- helpmenurulesother8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother8.setItemMeta(helpmenurulesother8Meta);
- ItemStack helpmenurulesother9 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother9Meta = helpmenurulesother9.getItemMeta();
- helpmenurulesother9Meta.setDisplayName(ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " Staff Impersonations");
- ArrayList<String> helpmenurulesotherlore9 = new ArrayList<String>();
- helpmenurulesotherlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "Please do not impersonate or pretend to be a");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "staff member under any circumstance. If you");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "cannot deal with an issue you are having or");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "another user is having then you can contact");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "a helper, moderator or admin. If the issue");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "still cannot be solved then another member of");
- helpmenurulesotherlore9.add(ChatColor.WHITE + "staff will be contacted.");
- helpmenurulesotherlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother9Meta.setLore(helpmenurulesotherlore9);
- helpmenurulesother9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother9.setItemMeta(helpmenurulesother9Meta);
- ItemStack helpmenurulesother10 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother10Meta = helpmenurulesother10.getItemMeta();
- helpmenurulesother10Meta.setDisplayName(ChatColor.WHITE + "[9]" + ChatColor.DARK_PURPLE + " Tagging Staff");
- ArrayList<String> helpmenurulesotherlore10 = new ArrayList<String>();
- helpmenurulesotherlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore10.add(ChatColor.WHITE + "Please do not harass staff members for any reason");
- helpmenurulesotherlore10.add(ChatColor.WHITE + "what so ever. We are here to help and have");
- helpmenurulesotherlore10.add(ChatColor.WHITE + "provided methods of which you can contact us");
- helpmenurulesotherlore10.add(ChatColor.WHITE + "with but tagging staff unnecessarily does not");
- helpmenurulesotherlore10.add(ChatColor.WHITE + "help anyone. Please keep it to a minimum.");
- helpmenurulesotherlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother10Meta.setLore(helpmenurulesotherlore10);
- helpmenurulesother10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother10.setItemMeta(helpmenurulesother10Meta);
- ItemStack helpmenurulesother11 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother11Meta = helpmenurulesother11.getItemMeta();
- helpmenurulesother11Meta.setDisplayName(ChatColor.WHITE + "[10]" + ChatColor.DARK_PURPLE + " Voice Channels");
- ArrayList<String> helpmenurulesotherlore11 = new ArrayList<String>();
- helpmenurulesotherlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore11.add(ChatColor.WHITE + "Those participating in voice chats and found to");
- helpmenurulesotherlore11.add(ChatColor.WHITE + "be disruptive or disrespectful will have this");
- helpmenurulesotherlore11.add(ChatColor.WHITE + "priviledge revoked. Depending on the severity");
- helpmenurulesotherlore11.add(ChatColor.WHITE + "other priviledges will be revoked as well.");
- helpmenurulesotherlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother11Meta.setLore(helpmenurulesotherlore11);
- helpmenurulesother11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother11.setItemMeta(helpmenurulesother11Meta);
- ItemStack helpmenurulesother12 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother12Meta = helpmenurulesother12.getItemMeta();
- helpmenurulesother12Meta.setDisplayName(ChatColor.WHITE + "[11]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesotherlore12 = new ArrayList<String>();
- helpmenurulesotherlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore12.add(ChatColor.WHITE + "");
- helpmenurulesotherlore12.add(ChatColor.WHITE + "");
- helpmenurulesotherlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother12Meta.setLore(helpmenurulesotherlore12);
- helpmenurulesother12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother12.setItemMeta(helpmenurulesother12Meta);
- ItemStack helpmenurulesother13 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother13Meta = helpmenurulesother13.getItemMeta();
- helpmenurulesother13Meta.setDisplayName(ChatColor.WHITE + "[13]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesotherlore13 = new ArrayList<String>();
- helpmenurulesotherlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesotherlore13.add(ChatColor.WHITE + "");
- helpmenurulesotherlore13.add(ChatColor.WHITE + "");
- helpmenurulesotherlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesother13Meta.setLore(helpmenurulesotherlore13);
- helpmenurulesother13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother13.setItemMeta(helpmenurulesother13Meta);
- ItemStack helpmenurulesother14 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesother14Meta = helpmenurulesother14.getItemMeta();
- helpmenurulesother14Meta.setDisplayName(
- ChatColor.WHITE + "[11]" + ChatColor.DARK_PURPLE + " A full list of rules can be found on our website");
- ArrayList<String> helpmenurulesotherlore14 = new ArrayList<String>();
- helpmenurulesotherlore14.add(ChatColor.WHITE + "[Insert Website Address Here]");
- helpmenurulesother14Meta.setLore(helpmenurulesotherlore14);
- helpmenurulesother14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesother14.setItemMeta(helpmenurulesother14Meta);
- ItemStack helpmenurulesotherback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenurulesotherbackMeta = helpmenurulesotherback.getItemMeta();
- helpmenurulesotherbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenurulesotherbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesotherback.setItemMeta(helpmenurulesotherbackMeta);
- ItemStack helpmenurulesotherempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenurulesotheremptyMeta = helpmenurulesotherempty.getItemMeta();
- helpmenurulesotheremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenurulesotheremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesotherempty.setItemMeta(helpmenurulesotheremptyMeta);
- i.setItem(0, helpmenurulesotherempty);
- i.setItem(1, helpmenurulesotherempty);
- i.setItem(2, helpmenurulesotherempty);
- i.setItem(3, helpmenurulesotherempty);
- i.setItem(4, helpmenurulesotherempty);
- i.setItem(5, helpmenurulesotherempty);
- i.setItem(6, helpmenurulesotherempty);
- i.setItem(7, helpmenurulesotherempty);
- i.setItem(8, helpmenurulesotherempty);
- i.setItem(9, helpmenurulesotherempty);
- i.setItem(10, helpmenurulesother1);
- i.setItem(11, helpmenurulesother2);
- i.setItem(12, helpmenurulesother3);
- i.setItem(13, helpmenurulesother4);
- i.setItem(14, helpmenurulesother5);
- i.setItem(15, helpmenurulesother6);
- i.setItem(16, helpmenurulesother7);
- i.setItem(17, helpmenurulesotherempty);
- i.setItem(18, helpmenurulesotherempty);
- i.setItem(19, helpmenurulesother9);
- i.setItem(20, helpmenurulesother10);
- i.setItem(21, helpmenurulesother11);
- i.setItem(22, helpmenurulesother14);
- i.setItem(23, helpmenurulesotherempty);
- i.setItem(24, helpmenurulesotherempty);
- i.setItem(25, helpmenurulesotherempty);
- i.setItem(26, helpmenurulesotherempty);
- i.setItem(27, helpmenurulesotherback);
- i.setItem(28, helpmenurulesotherempty);
- i.setItem(29, helpmenurulesotherempty);
- i.setItem(30, helpmenurulesotherempty);
- i.setItem(31, helpmenurulesotherempty);
- i.setItem(32, helpmenurulesotherempty);
- i.setItem(33, helpmenurulesotherempty);
- i.setItem(34, helpmenurulesotherempty);
- i.setItem(35, helpmenurulesotherempty);
- player.openInventory(i);
- // Rules 2 - help menu
- }
- public void newInventory11(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Website Rules");
- ItemStack helpmenurulesdiscord1 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord1Meta = helpmenurulesdiscord1.getItemMeta();
- helpmenurulesdiscord1Meta
- .setDisplayName(ChatColor.WHITE + "[1]" + ChatColor.DARK_PURPLE + " Reporting Players");
- ArrayList<String> helpmenurulesdiscordlore1 = new ArrayList<String>();
- helpmenurulesdiscordlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "When reporting a player, please follow the");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "correct format. This makes it easier for staff");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "members to handle the report. Sufficient");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "evidence needs to be uploaded when making a");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "report otherwise nothing can be done about");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "it. There are guieds on the forums on how");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "to report players, the format and what");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "evidence is sufficient for staff members to");
- helpmenurulesdiscordlore1.add(ChatColor.WHITE + "act upon.");
- helpmenurulesdiscordlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord1Meta.setLore(helpmenurulesdiscordlore1);
- helpmenurulesdiscord1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord1.setItemMeta(helpmenurulesdiscord1Meta);
- ItemStack helpmenurulesdiscord2 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord2Meta = helpmenurulesdiscord2.getItemMeta();
- helpmenurulesdiscord2Meta.setDisplayName(ChatColor.WHITE + "[2]" + ChatColor.DARK_PURPLE + " Shoutbox");
- ArrayList<String> helpmenurulesdiscordlore2 = new ArrayList<String>();
- helpmenurulesdiscordlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore2.add(ChatColor.WHITE + "Server chat rules apply here. Please be respectful");
- helpmenurulesdiscordlore2.add(ChatColor.WHITE + "and treat others how you would like to be");
- helpmenurulesdiscordlore2.add(ChatColor.WHITE + "treated. ");
- helpmenurulesdiscordlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord2Meta.setLore(helpmenurulesdiscordlore2);
- helpmenurulesdiscord2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord2.setItemMeta(helpmenurulesdiscord2Meta);
- ItemStack helpmenurulesdiscord3 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord3Meta = helpmenurulesdiscord3.getItemMeta();
- helpmenurulesdiscord3Meta.setDisplayName(ChatColor.WHITE + "[3]" + ChatColor.DARK_PURPLE + " Double+ Posting");
- ArrayList<String> helpmenurulesdiscordlore3 = new ArrayList<String>();
- helpmenurulesdiscordlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore3.add(ChatColor.WHITE + "Double posting is the act of posting two or more");
- helpmenurulesdiscordlore3.add(ChatColor.WHITE + "responses on a thread. There is an edit button");
- helpmenurulesdiscordlore3.add(ChatColor.WHITE + "that can be used if anything needs to be added");
- helpmenurulesdiscordlore3.add(ChatColor.WHITE + "to a previous message.");
- helpmenurulesdiscordlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord3Meta.setLore(helpmenurulesdiscordlore3);
- helpmenurulesdiscord3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord3.setItemMeta(helpmenurulesdiscord3Meta);
- ItemStack helpmenurulesdiscord4 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord4Meta = helpmenurulesdiscord4.getItemMeta();
- helpmenurulesdiscord4Meta.setDisplayName(ChatColor.WHITE + "[4]" + ChatColor.DARK_PURPLE + " Respect Other Users");
- ArrayList<String> helpmenurulesdiscordlore4 = new ArrayList<String>();
- helpmenurulesdiscordlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "Please remain respectful when speaking in our");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "community chats such as on the website and the");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "server. We would like to keep this community");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "free of inappropriate behaviour and disrespect");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "but we do understand that this is not always");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "possible. Please be aware of how you are treating");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "others and make sure to keep inappropriate");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "language to a minimum. A large proportion of our");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "community are young children or adults and the ");
- helpmenurulesdiscordlore4.add(ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " staff team want to make sure that our");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "services stay professional. Discrimination,");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "harassment and toxicity will not be tolerated and");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "depending on the severity, the user could be");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "verbally warned or permanently removed from");
- helpmenurulesdiscordlore4.add(ChatColor.WHITE + "our community.");
- helpmenurulesdiscordlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord4Meta.setLore(helpmenurulesdiscordlore4);
- helpmenurulesdiscord4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord4.setItemMeta(helpmenurulesdiscord4Meta);
- ItemStack helpmenurulesdiscord5 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord5Meta = helpmenurulesdiscord5.getItemMeta();
- helpmenurulesdiscord5Meta.setDisplayName(ChatColor.WHITE + "[5]" + ChatColor.DARK_PURPLE + " Advertising");
- ArrayList<String> helpmenurulesdiscordlore5 = new ArrayList<String>();
- helpmenurulesdiscordlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "Please do not advertise other server's ip");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "addresses while on the forums. This will");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "result in being removed from the forums");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "permanently. Mentioning server names in");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "private message is perfectly fine but abuse of");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "this or mentioning server names in public chat");
- helpmenurulesdiscordlore5.add(ChatColor.WHITE + "/ posts will result in punishment.");
- helpmenurulesdiscordlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord5Meta.setLore(helpmenurulesdiscordlore5);
- helpmenurulesdiscord5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord5.setItemMeta(helpmenurulesdiscord5Meta);
- ItemStack helpmenurulesdiscord6 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord6Meta = helpmenurulesdiscord6.getItemMeta();
- helpmenurulesdiscord6Meta.setDisplayName(ChatColor.WHITE + "[6]" + ChatColor.DARK_PURPLE + " Criticsm / opinion");
- ArrayList<String> helpmenurulesdiscordlore6 = new ArrayList<String>();
- helpmenurulesdiscordlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "Criticsm and opinion are perfectly fine but");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "attacking a member or staff member");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "unecassarily or continually will result");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "in punishment. Similarly unecassary negative");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "language such as repeatedly posting 'This");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "server is so dead' will also result in a");
- helpmenurulesdiscordlore6.add(ChatColor.WHITE + "punishment.");
- helpmenurulesdiscordlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord6Meta.setLore(helpmenurulesdiscordlore6);
- helpmenurulesdiscord6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord6.setItemMeta(helpmenurulesdiscord6Meta);
- ItemStack helpmenurulesdiscord7 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord7Meta = helpmenurulesdiscord7.getItemMeta();
- helpmenurulesdiscord7Meta.setDisplayName(ChatColor.WHITE + "[7]" + ChatColor.DARK_PURPLE + " Stealing threads");
- ArrayList<String> helpmenurulesdiscordlore7 = new ArrayList<String>();
- helpmenurulesdiscordlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore7.add(ChatColor.WHITE + "Please do not hijack other user's threads");
- helpmenurulesdiscordlore7.add(ChatColor.WHITE + "to steer the conversation away from the");
- helpmenurulesdiscordlore7.add(ChatColor.WHITE + "original topic to your issue. Please make");
- helpmenurulesdiscordlore7.add(ChatColor.WHITE + "your own thread and it will be dealt with");
- helpmenurulesdiscordlore7.add(ChatColor.WHITE + "equally.");
- helpmenurulesdiscordlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord7Meta.setLore(helpmenurulesdiscordlore7);
- helpmenurulesdiscord7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord7.setItemMeta(helpmenurulesdiscord7Meta);
- ItemStack helpmenurulesdiscord8 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord8Meta = helpmenurulesdiscord8.getItemMeta();
- helpmenurulesdiscord8Meta.setDisplayName(ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " Reviving Dead Threads");
- ArrayList<String> helpmenurulesdiscordlore8 = new ArrayList<String>();
- helpmenurulesdiscordlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "If a thread has not had a reply in more than a");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "month then it is classed as 'dead'. Revival of");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "said threads are allowed but as long as the post");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "adds meaningful content to the thread. Posting");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "useless content to a dead thread will result");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "in punishment. If you cannot be sure that the");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "post will add anything meaningful to the thread");
- helpmenurulesdiscordlore8.add(ChatColor.WHITE + "then do not post it.");
- helpmenurulesdiscordlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord8Meta.setLore(helpmenurulesdiscordlore8);
- helpmenurulesdiscord8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord8.setItemMeta(helpmenurulesdiscord8Meta);
- ItemStack helpmenurulesdiscord9 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord9Meta = helpmenurulesdiscord9.getItemMeta();
- helpmenurulesdiscord9Meta.setDisplayName(ChatColor.WHITE + "[9]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesdiscordlore9 = new ArrayList<String>();
- helpmenurulesdiscordlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore9.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore9.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord9Meta.setLore(helpmenurulesdiscordlore9);
- helpmenurulesdiscord9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord9.setItemMeta(helpmenurulesdiscord9Meta);
- ItemStack helpmenurulesdiscord10 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord10Meta = helpmenurulesdiscord10.getItemMeta();
- helpmenurulesdiscord10Meta.setDisplayName(ChatColor.WHITE + "[10]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesdiscordlore10 = new ArrayList<String>();
- helpmenurulesdiscordlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore10.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore10.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord10Meta.setLore(helpmenurulesdiscordlore10);
- helpmenurulesdiscord10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord10.setItemMeta(helpmenurulesdiscord10Meta);
- ItemStack helpmenurulesdiscord11 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord11Meta = helpmenurulesdiscord11.getItemMeta();
- helpmenurulesdiscord11Meta.setDisplayName(ChatColor.WHITE + "[11]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesdiscordlore11 = new ArrayList<String>();
- helpmenurulesdiscordlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore11.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore11.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord11Meta.setLore(helpmenurulesdiscordlore11);
- helpmenurulesdiscord11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord11.setItemMeta(helpmenurulesdiscord11Meta);
- ItemStack helpmenurulesdiscord12 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord12Meta = helpmenurulesdiscord12.getItemMeta();
- helpmenurulesdiscord12Meta.setDisplayName(ChatColor.WHITE + "[12]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesdiscordlore12 = new ArrayList<String>();
- helpmenurulesdiscordlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore12.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore12.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord12Meta.setLore(helpmenurulesdiscordlore12);
- helpmenurulesdiscord12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord12.setItemMeta(helpmenurulesdiscord12Meta);
- ItemStack helpmenurulesdiscord13 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord13Meta = helpmenurulesdiscord13.getItemMeta();
- helpmenurulesdiscord13Meta.setDisplayName(ChatColor.WHITE + "[13]" + ChatColor.DARK_PURPLE + " [TBD]");
- ArrayList<String> helpmenurulesdiscordlore13 = new ArrayList<String>();
- helpmenurulesdiscordlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscordlore13.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore13.add(ChatColor.WHITE + "");
- helpmenurulesdiscordlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- helpmenurulesdiscord13Meta.setLore(helpmenurulesdiscordlore13);
- helpmenurulesdiscord13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord13.setItemMeta(helpmenurulesdiscord13Meta);
- ItemStack helpmenurulesdiscord14 = new ItemStack(Material.PAPER, 1);
- ItemMeta helpmenurulesdiscord14Meta = helpmenurulesdiscord14.getItemMeta();
- helpmenurulesdiscord14Meta.setDisplayName(
- ChatColor.WHITE + "[8]" + ChatColor.DARK_PURPLE + " A full list of rules can be found on our website");
- ArrayList<String> helpmenurulesdiscordlore14 = new ArrayList<String>();
- helpmenurulesdiscordlore14.add(ChatColor.WHITE + "[Insert Website Address Here]");
- helpmenurulesdiscord14Meta.setLore(helpmenurulesdiscordlore14);
- helpmenurulesdiscord14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscord14.setItemMeta(helpmenurulesdiscord14Meta);
- ItemStack helpmenurulesdiscordback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta helpmenurulesdiscordbackMeta = helpmenurulesdiscordback.getItemMeta();
- helpmenurulesdiscordbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- helpmenurulesdiscordbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscordback.setItemMeta(helpmenurulesdiscordbackMeta);
- ItemStack helpmenurulesdiscordempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta helpmenurulesdiscordemptyMeta = helpmenurulesdiscordempty.getItemMeta();
- helpmenurulesdiscordemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- helpmenurulesdiscordemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- helpmenurulesdiscordempty.setItemMeta(helpmenurulesdiscordemptyMeta);
- i.setItem(0, helpmenurulesdiscordempty);
- i.setItem(1, helpmenurulesdiscordempty);
- i.setItem(2, helpmenurulesdiscordempty);
- i.setItem(3, helpmenurulesdiscordempty);
- i.setItem(4, helpmenurulesdiscordempty);
- i.setItem(5, helpmenurulesdiscordempty);
- i.setItem(6, helpmenurulesdiscordempty);
- i.setItem(7, helpmenurulesdiscordempty);
- i.setItem(8, helpmenurulesdiscordempty);
- i.setItem(9, helpmenurulesdiscordempty);
- i.setItem(10, helpmenurulesdiscord1);
- i.setItem(11, helpmenurulesdiscord2);
- i.setItem(12, helpmenurulesdiscord3);
- i.setItem(13, helpmenurulesdiscord4);
- i.setItem(14, helpmenurulesdiscord5);
- i.setItem(15, helpmenurulesdiscord6);
- i.setItem(16, helpmenurulesdiscord7);
- i.setItem(17, helpmenurulesdiscordempty);
- i.setItem(18, helpmenurulesdiscordempty);
- i.setItem(19, helpmenurulesdiscord8);
- i.setItem(20, helpmenurulesdiscord14);
- i.setItem(21, helpmenurulesdiscordempty);
- i.setItem(22, helpmenurulesdiscordempty);
- i.setItem(23, helpmenurulesdiscordempty);
- i.setItem(24, helpmenurulesdiscordempty);
- i.setItem(25, helpmenurulesdiscordempty);
- i.setItem(26, helpmenurulesdiscordempty);
- i.setItem(27, helpmenurulesdiscordback);
- i.setItem(28, helpmenurulesdiscordempty);
- i.setItem(29, helpmenurulesdiscordempty);
- i.setItem(30, helpmenurulesdiscordempty);
- i.setItem(31, helpmenurulesdiscordempty);
- i.setItem(32, helpmenurulesdiscordempty);
- i.setItem(33, helpmenurulesdiscordempty);
- i.setItem(34, helpmenurulesdiscordempty);
- i.setItem(35, helpmenurulesdiscordempty);
- player.openInventory(i);
- // rules 3 - help menu
- }
- public void newInventory12(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Staff Help Menu");
- ItemStack shelpmenucore1 = new ItemStack(Material.LEATHER, 1);
- ItemMeta shelpmenucore1Meta = shelpmenucore1.getItemMeta();
- shelpmenucore1Meta.setDisplayName(ChatColor.WHITE + "Helper" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore1.setItemMeta(shelpmenucore1Meta);
- ItemStack shelpmenucore2 = new ItemStack(Material.COAL, 1);
- ItemMeta shelpmenucore2Meta = shelpmenucore2.getItemMeta();
- shelpmenucore2Meta.setDisplayName(ChatColor.WHITE + "Moderator" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore2.setItemMeta(shelpmenucore2Meta);
- ItemStack shelpmenucore3 = new ItemStack(Material.IRON_INGOT, 1);
- ItemMeta shelpmenucore3Meta = shelpmenucore3.getItemMeta();
- shelpmenucore3Meta.setDisplayName(ChatColor.WHITE + "Administrator" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore3.setItemMeta(shelpmenucore3Meta);
- ItemStack shelpmenucore4 = new ItemStack(Material.GOLD_INGOT, 1);
- ItemMeta shelpmenucore4Meta = shelpmenucore1.getItemMeta();
- shelpmenucore4Meta.setDisplayName(ChatColor.WHITE + "Operator" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore4.setItemMeta(shelpmenucore4Meta);
- ItemStack shelpmenucore5 = new ItemStack(Material.DIAMOND, 1);
- ItemMeta shelpmenucore5Meta = shelpmenucore5.getItemMeta();
- shelpmenucore5Meta.setDisplayName(ChatColor.WHITE + "Manager" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore5.setItemMeta(shelpmenucore5Meta);
- ItemStack shelpmenucore6 = new ItemStack(Material.EMERALD, 1);
- ItemMeta shelpmenucore6Meta = shelpmenucore6.getItemMeta();
- shelpmenucore6Meta.setDisplayName(ChatColor.WHITE + "Developer" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore6.setItemMeta(shelpmenucore6Meta);
- ItemStack shelpmenucore7 = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenucore7Meta = shelpmenucore7.getItemMeta();
- shelpmenucore7Meta.setDisplayName(ChatColor.WHITE + "Owner" + ChatColor.DARK_PURPLE + " Menu");
- shelpmenucore7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucore7.setItemMeta(shelpmenucore7Meta);
- ItemStack shelpmenucoreempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenucoreemptyMeta = shelpmenucoreempty.getItemMeta();
- shelpmenucoreemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenucoreemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenucoreempty.setItemMeta(shelpmenucoreemptyMeta);
- i.setItem(0, shelpmenucoreempty);
- i.setItem(1, shelpmenucoreempty);
- i.setItem(2, shelpmenucoreempty);
- i.setItem(3, shelpmenucoreempty);
- i.setItem(4, shelpmenucoreempty);
- i.setItem(5, shelpmenucoreempty);
- i.setItem(6, shelpmenucoreempty);
- i.setItem(7, shelpmenucoreempty);
- i.setItem(8, shelpmenucoreempty);
- i.setItem(9, shelpmenucoreempty);
- i.setItem(10, shelpmenucore1);
- i.setItem(11, shelpmenucore2);
- i.setItem(12, shelpmenucore3);
- i.setItem(13, shelpmenucore4);
- i.setItem(14, shelpmenucore5);
- i.setItem(15, shelpmenucore6);
- i.setItem(16, shelpmenucore7);
- i.setItem(17, shelpmenucoreempty);
- i.setItem(18, shelpmenucoreempty);
- i.setItem(19, shelpmenucoreempty);
- i.setItem(20, shelpmenucoreempty);
- i.setItem(21, shelpmenucoreempty);
- i.setItem(22, shelpmenucoreempty);
- i.setItem(23, shelpmenucoreempty);
- i.setItem(24, shelpmenucoreempty);
- i.setItem(25, shelpmenucoreempty);
- i.setItem(26, shelpmenucoreempty);
- player.openInventory(i);
- // Staff Help menu
- }
- public void newInventory13(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Helper Menu");
- ItemStack shelpmenuhelper1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenuhelper1Meta = shelpmenuhelper1.getItemMeta();
- shelpmenuhelper1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenuhelperlore1 = new ArrayList<String>();
- shelpmenuhelperlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the");
- shelpmenuhelperlore1.add(ChatColor.DARK_PURPLE + "Helper " + ChatColor.WHITE + "rank!" + ChatColor.WHITE + " This is a big responsibility as");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "this is the route to becoming a full member of");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "the staff team. As you have shown interest in");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "becoming a staff member you need to prove that");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "you can act responsibly and maturely to be a");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "role model to every player on the server.");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "Listed in this menu are a few commands that");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "you now have access to and some rules which");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "you need to follow. This is not a complete!");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "list which can be found in the staff chat");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "if requested if not pinned in the chat.");
- shelpmenuhelperlore1.add(ChatColor.WHITE + "Good Luck!");
- shelpmenuhelperlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper1Meta.setLore(shelpmenuhelperlore1);
- shelpmenuhelper1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper1.setItemMeta(shelpmenuhelper1Meta);
- ItemStack shelpmenuhelper2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper2Meta = shelpmenuhelper2.getItemMeta();
- shelpmenuhelper2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenuhelperlore2 = new ArrayList<String>();
- shelpmenuhelperlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore2.add(ChatColor.WHITE + "This command will warn the desired player");
- shelpmenuhelperlore2.add(ChatColor.WHITE + "and do so in public chat. You must provide");
- shelpmenuhelperlore2.add(ChatColor.WHITE + "a reason for the warn.");
- shelpmenuhelperlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper2Meta.setLore(shelpmenuhelperlore2);
- shelpmenuhelper2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper2.setItemMeta(shelpmenuhelper2Meta);
- ItemStack shelpmenuhelper3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper3Meta = shelpmenuhelper3.getItemMeta();
- shelpmenuhelper3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenuhelperlore3 = new ArrayList<String>();
- shelpmenuhelperlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore3.add(ChatColor.WHITE + "This command will kick the desired player");
- shelpmenuhelperlore3.add(ChatColor.WHITE + "from the server. You must provide a reason");
- shelpmenuhelperlore3.add(ChatColor.WHITE + "for the kick. You will be notified about the");
- shelpmenuhelperlore3.add(ChatColor.WHITE + "kick if one is performed.");
- shelpmenuhelperlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper3Meta.setLore(shelpmenuhelperlore3);
- shelpmenuhelper3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper3.setItemMeta(shelpmenuhelper3Meta);
- ItemStack shelpmenuhelper4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper4Meta = shelpmenuhelper1.getItemMeta();
- shelpmenuhelper4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /helpop");
- ArrayList<String> shelpmenuhelperlore4 = new ArrayList<String>();
- shelpmenuhelperlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore4.add(ChatColor.WHITE + "You will now be able to communicate with");
- shelpmenuhelperlore4.add(ChatColor.WHITE + "staff using helpop. You will receive messages");
- shelpmenuhelperlore4.add(ChatColor.WHITE + "and be able to send them using helpop. Players");
- shelpmenuhelperlore4.add(ChatColor.WHITE + "will communicate using helpop but will not");
- shelpmenuhelperlore4.add(ChatColor.WHITE + "be able to receive messages.");
- shelpmenuhelperlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper4Meta.setLore(shelpmenuhelperlore4);
- shelpmenuhelper4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper4.setItemMeta(shelpmenuhelper4Meta);
- ItemStack shelpmenuhelper5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper5Meta = shelpmenuhelper5.getItemMeta();
- shelpmenuhelper5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuhelperlore5 = new ArrayList<String>();
- shelpmenuhelperlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore5.add(ChatColor.WHITE + "");
- shelpmenuhelperlore5.add(ChatColor.WHITE + "");
- shelpmenuhelperlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper5Meta.setLore(shelpmenuhelperlore5);
- shelpmenuhelper5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper5.setItemMeta(shelpmenuhelper5Meta);
- ItemStack shelpmenuhelper6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper6Meta = shelpmenuhelper6.getItemMeta();
- shelpmenuhelper6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuhelperlore6 = new ArrayList<String>();
- shelpmenuhelperlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore6.add(ChatColor.WHITE + "");
- shelpmenuhelperlore6.add(ChatColor.WHITE + "");
- shelpmenuhelperlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper6Meta.setLore(shelpmenuhelperlore6);
- shelpmenuhelper6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper6.setItemMeta(shelpmenuhelper6Meta);
- ItemStack shelpmenuhelper7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuhelper7Meta = shelpmenuhelper7.getItemMeta();
- shelpmenuhelper7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuhelperlore7 = new ArrayList<String>();
- shelpmenuhelperlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore7.add(ChatColor.WHITE + "");
- shelpmenuhelperlore7.add(ChatColor.WHITE + "");
- shelpmenuhelperlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper7Meta.setLore(shelpmenuhelperlore7);
- shelpmenuhelper7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper7.setItemMeta(shelpmenuhelper7Meta);
- ItemStack shelpmenuhelper8 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper8Meta = shelpmenuhelper8.getItemMeta();
- shelpmenuhelper8Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [1]" + ChatColor.DARK_PURPLE + " Maturity");
- ArrayList<String> shelpmenuhelperlore8 = new ArrayList<String>();
- shelpmenuhelperlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore8.add(ChatColor.WHITE + "Maturity is key when becoming a staff member.");
- shelpmenuhelperlore8.add(ChatColor.WHITE + "");
- shelpmenuhelperlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper8Meta.setLore(shelpmenuhelperlore8);
- shelpmenuhelper8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper8.setItemMeta(shelpmenuhelper8Meta);
- ItemStack shelpmenuhelper9 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper9Meta = shelpmenuhelper9.getItemMeta();
- shelpmenuhelper9Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [2]" + ChatColor.DARK_PURPLE + " Responsibility");
- ArrayList<String> shelpmenuhelperlore9 = new ArrayList<String>();
- shelpmenuhelperlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore9.add(ChatColor.WHITE + "");
- shelpmenuhelperlore9.add(ChatColor.WHITE + "");
- shelpmenuhelperlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper9Meta.setLore(shelpmenuhelperlore9);
- shelpmenuhelper9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper9.setItemMeta(shelpmenuhelper9Meta);
- ItemStack shelpmenuhelper10 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper10Meta = shelpmenuhelper10.getItemMeta();
- shelpmenuhelper10Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [3]" + ChatColor.DARK_PURPLE + " Commands");
- ArrayList<String> shelpmenuhelperlore10 = new ArrayList<String>();
- shelpmenuhelperlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore10.add(ChatColor.WHITE + "");
- shelpmenuhelperlore10.add(ChatColor.WHITE + "");
- shelpmenuhelperlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper10Meta.setLore(shelpmenuhelperlore10);
- shelpmenuhelper10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper10.setItemMeta(shelpmenuhelper10Meta);
- ItemStack shelpmenuhelper11 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper11Meta = shelpmenuhelper11.getItemMeta();
- shelpmenuhelper11Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [4]" + ChatColor.DARK_PURPLE + " Asking For Help");
- ArrayList<String> shelpmenuhelperlore11 = new ArrayList<String>();
- shelpmenuhelperlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore11.add(ChatColor.WHITE + "");
- shelpmenuhelperlore11.add(ChatColor.WHITE + "");
- shelpmenuhelperlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper11Meta.setLore(shelpmenuhelperlore11);
- shelpmenuhelper11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper11.setItemMeta(shelpmenuhelper11Meta);
- ItemStack shelpmenuhelper12 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper12Meta = shelpmenuhelper12.getItemMeta();
- shelpmenuhelper12Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [5]" + ChatColor.DARK_PURPLE + " Abuse");
- ArrayList<String> shelpmenuhelperlore12 = new ArrayList<String>();
- shelpmenuhelperlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore12.add(ChatColor.WHITE + "");
- shelpmenuhelperlore12.add(ChatColor.WHITE + "");
- shelpmenuhelperlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper12Meta.setLore(shelpmenuhelperlore12);
- shelpmenuhelper12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper12.setItemMeta(shelpmenuhelper12Meta);
- ItemStack shelpmenuhelper13 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper13Meta = shelpmenuhelper13.getItemMeta();
- shelpmenuhelper13Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [6]" + ChatColor.DARK_PURPLE + " Promotions / Moderator");
- ArrayList<String> shelpmenuhelperlore13 = new ArrayList<String>();
- shelpmenuhelperlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore13.add(ChatColor.WHITE + "");
- shelpmenuhelperlore13.add(ChatColor.WHITE + "");
- shelpmenuhelperlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper13Meta.setLore(shelpmenuhelperlore13);
- shelpmenuhelper13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper13.setItemMeta(shelpmenuhelper13Meta);
- ItemStack shelpmenuhelper14 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuhelper14Meta = shelpmenuhelper14.getItemMeta();
- shelpmenuhelper14Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [7]" + ChatColor.DARK_PURPLE + " Enjoyment");
- ArrayList<String> shelpmenuhelperlore14 = new ArrayList<String>();
- shelpmenuhelperlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelperlore14.add(ChatColor.WHITE + "");
- shelpmenuhelperlore14.add(ChatColor.WHITE + "");
- shelpmenuhelperlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuhelper14Meta.setLore(shelpmenuhelperlore14);
- shelpmenuhelper14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelper14.setItemMeta(shelpmenuhelper14Meta);
- ItemStack shelpmenuhelperempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenuhelperemptyMeta = shelpmenuhelperempty.getItemMeta();
- shelpmenuhelperemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenuhelperemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelperempty.setItemMeta(shelpmenuhelperemptyMeta);
- ItemStack shelpmenuhelperback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenuhelperbackMeta = shelpmenuhelperback.getItemMeta();
- shelpmenuhelperbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenuhelperbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuhelperback.setItemMeta(shelpmenuhelperbackMeta);
- i.setItem(0, shelpmenuhelperempty);
- i.setItem(1, shelpmenuhelperempty);
- i.setItem(2, shelpmenuhelperempty);
- i.setItem(3, shelpmenuhelperempty);
- i.setItem(4, shelpmenuhelperempty);
- i.setItem(5, shelpmenuhelperempty);
- i.setItem(6, shelpmenuhelperempty);
- i.setItem(7, shelpmenuhelperempty);
- i.setItem(8, shelpmenuhelperempty);
- i.setItem(9, shelpmenuhelperempty);
- i.setItem(10, shelpmenuhelper1);
- i.setItem(11, shelpmenuhelper2);
- i.setItem(12, shelpmenuhelper3);
- i.setItem(13, shelpmenuhelper4);
- i.setItem(14, shelpmenuhelper5);
- i.setItem(15, shelpmenuhelper6);
- i.setItem(16, shelpmenuhelper7);
- i.setItem(17, shelpmenuhelperempty);
- i.setItem(18, shelpmenuhelperempty);
- i.setItem(19, shelpmenuhelper8);
- i.setItem(20, shelpmenuhelper9);
- i.setItem(21, shelpmenuhelper10);
- i.setItem(22, shelpmenuhelper11);
- i.setItem(23, shelpmenuhelper12);
- i.setItem(24, shelpmenuhelper13);
- i.setItem(25, shelpmenuhelper14);
- i.setItem(26, shelpmenuhelperempty);
- i.setItem(27, shelpmenuhelperback);
- i.setItem(28, shelpmenuhelperempty);
- i.setItem(29, shelpmenuhelperempty);
- i.setItem(30, shelpmenuhelperempty);
- i.setItem(31, shelpmenuhelperempty);
- i.setItem(32, shelpmenuhelperempty);
- i.setItem(33, shelpmenuhelperempty);
- i.setItem(34, shelpmenuhelperempty);
- i.setItem(35, shelpmenuhelperempty);
- player.openInventory(i);
- // Staff Help menu - Helper commands/Rules
- }
- public void newInventory14(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Moderator Menu");
- ItemStack shelpmenumod1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenumod1Meta = shelpmenumod1.getItemMeta();
- shelpmenumod1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenumodlore1 = new ArrayList<String>();
- shelpmenumodlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Moderator " + ChatColor.WHITE + "rank!");
- shelpmenumodlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenumodlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenumodlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenumodlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenumodlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenumodlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenumodlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenumodlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenumodlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenumodlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod1Meta.setLore(shelpmenumodlore1);
- shelpmenumod1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod1.setItemMeta(shelpmenumod1Meta);
- ItemStack shelpmenumod2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod2Meta = shelpmenumod2.getItemMeta();
- shelpmenumod2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenumodlore2 = new ArrayList<String>();
- shelpmenumodlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore2.add(ChatColor.WHITE + "");
- shelpmenumodlore2.add(ChatColor.WHITE + "");
- shelpmenumodlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod2Meta.setLore(shelpmenumodlore2);
- shelpmenumod2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod2.setItemMeta(shelpmenumod2Meta);
- ItemStack shelpmenumod3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod3Meta = shelpmenumod3.getItemMeta();
- shelpmenumod3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenumodlore3 = new ArrayList<String>();
- shelpmenumodlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore3.add(ChatColor.WHITE + "");
- shelpmenumodlore3.add(ChatColor.WHITE + "");
- shelpmenumodlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod3Meta.setLore(shelpmenumodlore3);
- shelpmenumod3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod3.setItemMeta(shelpmenumod3Meta);
- ItemStack shelpmenumod4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod4Meta = shelpmenumod1.getItemMeta();
- shelpmenumod4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumodlore4 = new ArrayList<String>();
- shelpmenumodlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore4.add(ChatColor.WHITE + "");
- shelpmenumodlore4.add(ChatColor.WHITE + "");
- shelpmenumodlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod4Meta.setLore(shelpmenumodlore4);
- shelpmenumod4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod4.setItemMeta(shelpmenumod4Meta);
- ItemStack shelpmenumod5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod5Meta = shelpmenumod5.getItemMeta();
- shelpmenumod5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumodlore5 = new ArrayList<String>();
- shelpmenumodlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore5.add(ChatColor.WHITE + "");
- shelpmenumodlore5.add(ChatColor.WHITE + "");
- shelpmenumodlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod5Meta.setLore(shelpmenumodlore5);
- shelpmenumod5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod5.setItemMeta(shelpmenumod5Meta);
- ItemStack shelpmenumod6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod6Meta = shelpmenumod6.getItemMeta();
- shelpmenumod6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumodlore6 = new ArrayList<String>();
- shelpmenumodlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore6.add(ChatColor.WHITE + "");
- shelpmenumodlore6.add(ChatColor.WHITE + "");
- shelpmenumodlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod6Meta.setLore(shelpmenumodlore6);
- shelpmenumod6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod6.setItemMeta(shelpmenumod6Meta);
- ItemStack shelpmenumod7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumod7Meta = shelpmenumod7.getItemMeta();
- shelpmenumod7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumodlore7 = new ArrayList<String>();
- shelpmenumodlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore7.add(ChatColor.WHITE + "");
- shelpmenumodlore7.add(ChatColor.WHITE + "");
- shelpmenumodlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod7Meta.setLore(shelpmenumodlore7);
- shelpmenumod7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod7.setItemMeta(shelpmenumod7Meta);
- ItemStack shelpmenumod8 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod8Meta = shelpmenumod8.getItemMeta();
- shelpmenumod8Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [1]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore8 = new ArrayList<String>();
- shelpmenumodlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore8.add(ChatColor.WHITE + "");
- shelpmenumodlore8.add(ChatColor.WHITE + "");
- shelpmenumodlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod8Meta.setLore(shelpmenumodlore8);
- shelpmenumod8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod8.setItemMeta(shelpmenumod8Meta);
- ItemStack shelpmenumod9 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod9Meta = shelpmenumod9.getItemMeta();
- shelpmenumod9Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [2]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore9 = new ArrayList<String>();
- shelpmenumodlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore9.add(ChatColor.WHITE + "");
- shelpmenumodlore9.add(ChatColor.WHITE + "");
- shelpmenumodlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod9Meta.setLore(shelpmenumodlore9);
- shelpmenumod9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod9.setItemMeta(shelpmenumod9Meta);
- ItemStack shelpmenumod10 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod10Meta = shelpmenumod10.getItemMeta();
- shelpmenumod10Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [3]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore10 = new ArrayList<String>();
- shelpmenumodlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore10.add(ChatColor.WHITE + "");
- shelpmenumodlore10.add(ChatColor.WHITE + "");
- shelpmenumodlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod10Meta.setLore(shelpmenumodlore10);
- shelpmenumod10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod10.setItemMeta(shelpmenumod10Meta);
- ItemStack shelpmenumod11 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod11Meta = shelpmenumod11.getItemMeta();
- shelpmenumod11Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [4]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore11 = new ArrayList<String>();
- shelpmenumodlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore11.add(ChatColor.WHITE + "");
- shelpmenumodlore11.add(ChatColor.WHITE + "");
- shelpmenumodlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod11Meta.setLore(shelpmenumodlore11);
- shelpmenumod11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod11.setItemMeta(shelpmenumod11Meta);
- ItemStack shelpmenumod12 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod12Meta = shelpmenumod12.getItemMeta();
- shelpmenumod12Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [5]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore12 = new ArrayList<String>();
- shelpmenumodlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore12.add(ChatColor.WHITE + "");
- shelpmenumodlore12.add(ChatColor.WHITE + "");
- shelpmenumodlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod12Meta.setLore(shelpmenumodlore12);
- shelpmenumod12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod12.setItemMeta(shelpmenumod12Meta);
- ItemStack shelpmenumod13 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod13Meta = shelpmenumod13.getItemMeta();
- shelpmenumod13Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [6]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore13 = new ArrayList<String>();
- shelpmenumodlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore13.add(ChatColor.WHITE + "");
- shelpmenumodlore13.add(ChatColor.WHITE + "");
- shelpmenumodlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod13Meta.setLore(shelpmenumodlore13);
- shelpmenumod13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod13.setItemMeta(shelpmenumod13Meta);
- ItemStack shelpmenumod14 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenumod14Meta = shelpmenumod14.getItemMeta();
- shelpmenumod14Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [7]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenumodlore14 = new ArrayList<String>();
- shelpmenumodlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumodlore14.add(ChatColor.WHITE + "");
- shelpmenumodlore14.add(ChatColor.WHITE + "");
- shelpmenumodlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumod14Meta.setLore(shelpmenumodlore14);
- shelpmenumod14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumod14.setItemMeta(shelpmenumod14Meta);
- ItemStack shelpmenumodempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenumodemptyMeta = shelpmenumodempty.getItemMeta();
- shelpmenumodemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenumodemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumodempty.setItemMeta(shelpmenumodemptyMeta);
- ItemStack shelpmenumodback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenumodbackMeta = shelpmenumodback.getItemMeta();
- shelpmenumodbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenumodbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumodback.setItemMeta(shelpmenumodbackMeta);
- i.setItem(0, shelpmenumodempty);
- i.setItem(1, shelpmenumodempty);
- i.setItem(2, shelpmenumodempty);
- i.setItem(3, shelpmenumodempty);
- i.setItem(4, shelpmenumodempty);
- i.setItem(5, shelpmenumodempty);
- i.setItem(6, shelpmenumodempty);
- i.setItem(7, shelpmenumodempty);
- i.setItem(8, shelpmenumodempty);
- i.setItem(9, shelpmenumodempty);
- i.setItem(10, shelpmenumod1);
- i.setItem(11, shelpmenumod2);
- i.setItem(12, shelpmenumod3);
- i.setItem(13, shelpmenumod4);
- i.setItem(14, shelpmenumod5);
- i.setItem(15, shelpmenumod6);
- i.setItem(16, shelpmenumod7);
- i.setItem(17, shelpmenumodempty);
- i.setItem(18, shelpmenumodempty);
- i.setItem(19, shelpmenumod8);
- i.setItem(20, shelpmenumod9);
- i.setItem(21, shelpmenumod10);
- i.setItem(22, shelpmenumod11);
- i.setItem(23, shelpmenumod12);
- i.setItem(24, shelpmenumod13);
- i.setItem(25, shelpmenumod14);
- i.setItem(26, shelpmenumodempty);
- i.setItem(27, shelpmenumodback);
- i.setItem(28, shelpmenumodempty);
- i.setItem(29, shelpmenumodempty);
- i.setItem(30, shelpmenumodempty);
- i.setItem(31, shelpmenumodempty);
- i.setItem(32, shelpmenumodempty);
- i.setItem(33, shelpmenumodempty);
- i.setItem(34, shelpmenumodempty);
- i.setItem(35, shelpmenumodempty);
- player.openInventory(i);
- // Staff Help menu - Mod commands/rules
- }
- public void newInventory15(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36, ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Administrator Menu");
- ItemStack shelpmenuadmin1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenuadmin1Meta = shelpmenuadmin1.getItemMeta();
- shelpmenuadmin1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenuadminlore1 = new ArrayList<String>();
- shelpmenuadminlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Administrator " + ChatColor.WHITE + "rank!");
- shelpmenuadminlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenuadminlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenuadminlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenuadminlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenuadminlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenuadminlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenuadminlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenuadminlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenuadminlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenuadminlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin1Meta.setLore(shelpmenuadminlore1);
- shelpmenuadmin1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin1.setItemMeta(shelpmenuadmin1Meta);
- ItemStack shelpmenuadmin2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin2Meta = shelpmenuadmin2.getItemMeta();
- shelpmenuadmin2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenuadminlore2 = new ArrayList<String>();
- shelpmenuadminlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore2.add(ChatColor.WHITE + "");
- shelpmenuadminlore2.add(ChatColor.WHITE + "");
- shelpmenuadminlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin2Meta.setLore(shelpmenuadminlore2);
- shelpmenuadmin2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin2.setItemMeta(shelpmenuadmin2Meta);
- ItemStack shelpmenuadmin3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin3Meta = shelpmenuadmin3.getItemMeta();
- shelpmenuadmin3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenuadminlore3 = new ArrayList<String>();
- shelpmenuadminlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore3.add(ChatColor.WHITE + "");
- shelpmenuadminlore3.add(ChatColor.WHITE + "");
- shelpmenuadminlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin3Meta.setLore(shelpmenuadminlore3);
- shelpmenuadmin3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin3.setItemMeta(shelpmenuadmin3Meta);
- ItemStack shelpmenuadmin4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin4Meta = shelpmenuadmin1.getItemMeta();
- shelpmenuadmin4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuadminlore4 = new ArrayList<String>();
- shelpmenuadminlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore4.add(ChatColor.WHITE + "");
- shelpmenuadminlore4.add(ChatColor.WHITE + "");
- shelpmenuadminlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin4Meta.setLore(shelpmenuadminlore4);
- shelpmenuadmin4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin4.setItemMeta(shelpmenuadmin4Meta);
- ItemStack shelpmenuadmin5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin5Meta = shelpmenuadmin5.getItemMeta();
- shelpmenuadmin5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuadminlore5 = new ArrayList<String>();
- shelpmenuadminlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore5.add(ChatColor.WHITE + "");
- shelpmenuadminlore5.add(ChatColor.WHITE + "");
- shelpmenuadminlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin5Meta.setLore(shelpmenuadminlore5);
- shelpmenuadmin5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin5.setItemMeta(shelpmenuadmin5Meta);
- ItemStack shelpmenuadmin6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin6Meta = shelpmenuadmin6.getItemMeta();
- shelpmenuadmin6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuadminlore6 = new ArrayList<String>();
- shelpmenuadminlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore6.add(ChatColor.WHITE + "");
- shelpmenuadminlore6.add(ChatColor.WHITE + "");
- shelpmenuadminlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin6Meta.setLore(shelpmenuadminlore6);
- shelpmenuadmin6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin6.setItemMeta(shelpmenuadmin6Meta);
- ItemStack shelpmenuadmin7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuadmin7Meta = shelpmenuadmin7.getItemMeta();
- shelpmenuadmin7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuadminlore7 = new ArrayList<String>();
- shelpmenuadminlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore7.add(ChatColor.WHITE + "");
- shelpmenuadminlore7.add(ChatColor.WHITE + "");
- shelpmenuadminlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin7Meta.setLore(shelpmenuadminlore7);
- shelpmenuadmin7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin7.setItemMeta(shelpmenuadmin7Meta);
- ItemStack shelpmenuadmin8 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin8Meta = shelpmenuadmin8.getItemMeta();
- shelpmenuadmin8Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [1]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore8 = new ArrayList<String>();
- shelpmenuadminlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore8.add(ChatColor.WHITE + "");
- shelpmenuadminlore8.add(ChatColor.WHITE + "");
- shelpmenuadminlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin8Meta.setLore(shelpmenuadminlore8);
- shelpmenuadmin8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin8.setItemMeta(shelpmenuadmin8Meta);
- ItemStack shelpmenuadmin9 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin9Meta = shelpmenuadmin9.getItemMeta();
- shelpmenuadmin9Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [2]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore9 = new ArrayList<String>();
- shelpmenuadminlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore9.add(ChatColor.WHITE + "");
- shelpmenuadminlore9.add(ChatColor.WHITE + "");
- shelpmenuadminlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin9Meta.setLore(shelpmenuadminlore9);
- shelpmenuadmin9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin9.setItemMeta(shelpmenuadmin9Meta);
- ItemStack shelpmenuadmin10 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin10Meta = shelpmenuadmin10.getItemMeta();
- shelpmenuadmin10Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [3]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore10 = new ArrayList<String>();
- shelpmenuadminlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore10.add(ChatColor.WHITE + "");
- shelpmenuadminlore10.add(ChatColor.WHITE + "");
- shelpmenuadminlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin10Meta.setLore(shelpmenuadminlore10);
- shelpmenuadmin10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin10.setItemMeta(shelpmenuadmin10Meta);
- ItemStack shelpmenuadmin11 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin11Meta = shelpmenuadmin11.getItemMeta();
- shelpmenuadmin11Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [4]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore11 = new ArrayList<String>();
- shelpmenuadminlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore11.add(ChatColor.WHITE + "");
- shelpmenuadminlore11.add(ChatColor.WHITE + "");
- shelpmenuadminlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin11Meta.setLore(shelpmenuadminlore11);
- shelpmenuadmin11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin11.setItemMeta(shelpmenuadmin11Meta);
- ItemStack shelpmenuadmin12 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin12Meta = shelpmenuadmin12.getItemMeta();
- shelpmenuadmin12Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [5]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore12 = new ArrayList<String>();
- shelpmenuadminlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore12.add(ChatColor.WHITE + "");
- shelpmenuadminlore12.add(ChatColor.WHITE + "");
- shelpmenuadminlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin12Meta.setLore(shelpmenuadminlore12);
- shelpmenuadmin12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin12.setItemMeta(shelpmenuadmin12Meta);
- ItemStack shelpmenuadmin13 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin13Meta = shelpmenuadmin13.getItemMeta();
- shelpmenuadmin13Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [6]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore13 = new ArrayList<String>();
- shelpmenuadminlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore13.add(ChatColor.WHITE + "");
- shelpmenuadminlore13.add(ChatColor.WHITE + "");
- shelpmenuadminlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin13Meta.setLore(shelpmenuadminlore13);
- shelpmenuadmin13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin13.setItemMeta(shelpmenuadmin13Meta);
- ItemStack shelpmenuadmin14 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuadmin14Meta = shelpmenuadmin14.getItemMeta();
- shelpmenuadmin14Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [7]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuadminlore14 = new ArrayList<String>();
- shelpmenuadminlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadminlore14.add(ChatColor.WHITE + "");
- shelpmenuadminlore14.add(ChatColor.WHITE + "");
- shelpmenuadminlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuadmin14Meta.setLore(shelpmenuadminlore14);
- shelpmenuadmin14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadmin14.setItemMeta(shelpmenuadmin14Meta);
- ItemStack shelpmenuadminempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenuadminemptyMeta = shelpmenuadminempty.getItemMeta();
- shelpmenuadminemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenuadminemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadminempty.setItemMeta(shelpmenuadminemptyMeta);
- ItemStack shelpmenuadminback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenuadminbackMeta = shelpmenuadminback.getItemMeta();
- shelpmenuadminbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenuadminbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuadminback.setItemMeta(shelpmenuadminbackMeta);
- i.setItem(0, shelpmenuadminempty);
- i.setItem(1, shelpmenuadminempty);
- i.setItem(2, shelpmenuadminempty);
- i.setItem(3, shelpmenuadminempty);
- i.setItem(4, shelpmenuadminempty);
- i.setItem(5, shelpmenuadminempty);
- i.setItem(6, shelpmenuadminempty);
- i.setItem(7, shelpmenuadminempty);
- i.setItem(8, shelpmenuadminempty);
- i.setItem(9, shelpmenuadminempty);
- i.setItem(10, shelpmenuadmin1);
- i.setItem(11, shelpmenuadmin2);
- i.setItem(12, shelpmenuadmin3);
- i.setItem(13, shelpmenuadmin4);
- i.setItem(14, shelpmenuadmin5);
- i.setItem(15, shelpmenuadmin6);
- i.setItem(16, shelpmenuadmin7);
- i.setItem(17, shelpmenuadminempty);
- i.setItem(18, shelpmenuadminempty);
- i.setItem(19, shelpmenuadmin8);
- i.setItem(20, shelpmenuadmin9);
- i.setItem(21, shelpmenuadmin10);
- i.setItem(22, shelpmenuadmin11);
- i.setItem(23, shelpmenuadmin12);
- i.setItem(24, shelpmenuadmin13);
- i.setItem(25, shelpmenuadmin14);
- i.setItem(26, shelpmenuadminempty);
- i.setItem(27, shelpmenuadminback);
- i.setItem(28, shelpmenuadminempty);
- i.setItem(29, shelpmenuadminempty);
- i.setItem(30, shelpmenuadminempty);
- i.setItem(31, shelpmenuadminempty);
- i.setItem(32, shelpmenuadminempty);
- i.setItem(33, shelpmenuadminempty);
- i.setItem(34, shelpmenuadminempty);
- i.setItem(35, shelpmenuadminempty);
- player.openInventory(i);
- // Staff Help menu - Admin commands/rules
- }
- public void newInventory16(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 36,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Operator Menu");
- ItemStack shelpmenuoperator1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenuoperator1Meta = shelpmenuoperator1.getItemMeta();
- shelpmenuoperator1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenuoperatorlore1 = new ArrayList<String>();
- shelpmenuoperatorlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Operator " + ChatColor.WHITE + "rank!");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenuoperatorlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenuoperatorlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator1Meta.setLore(shelpmenuoperatorlore1);
- shelpmenuoperator1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator1.setItemMeta(shelpmenuoperator1Meta);
- ItemStack shelpmenuoperator2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator2Meta = shelpmenuoperator2.getItemMeta();
- shelpmenuoperator2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenuoperatorlore2 = new ArrayList<String>();
- shelpmenuoperatorlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore2.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore2.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator2Meta.setLore(shelpmenuoperatorlore2);
- shelpmenuoperator2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator2.setItemMeta(shelpmenuoperator2Meta);
- ItemStack shelpmenuoperator3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator3Meta = shelpmenuoperator3.getItemMeta();
- shelpmenuoperator3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenuoperatorlore3 = new ArrayList<String>();
- shelpmenuoperatorlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore3.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore3.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator3Meta.setLore(shelpmenuoperatorlore3);
- shelpmenuoperator3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator3.setItemMeta(shelpmenuoperator3Meta);
- ItemStack shelpmenuoperator4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator4Meta = shelpmenuoperator1.getItemMeta();
- shelpmenuoperator4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuoperatorlore4 = new ArrayList<String>();
- shelpmenuoperatorlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore4.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore4.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator4Meta.setLore(shelpmenuoperatorlore4);
- shelpmenuoperator4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator4.setItemMeta(shelpmenuoperator4Meta);
- ItemStack shelpmenuoperator5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator5Meta = shelpmenuoperator5.getItemMeta();
- shelpmenuoperator5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuoperatorlore5 = new ArrayList<String>();
- shelpmenuoperatorlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore5.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore5.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator5Meta.setLore(shelpmenuoperatorlore5);
- shelpmenuoperator5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator5.setItemMeta(shelpmenuoperator5Meta);
- ItemStack shelpmenuoperator6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator6Meta = shelpmenuoperator6.getItemMeta();
- shelpmenuoperator6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuoperatorlore6 = new ArrayList<String>();
- shelpmenuoperatorlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore6.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore6.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator6Meta.setLore(shelpmenuoperatorlore6);
- shelpmenuoperator6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator6.setItemMeta(shelpmenuoperator6Meta);
- ItemStack shelpmenuoperator7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuoperator7Meta = shelpmenuoperator7.getItemMeta();
- shelpmenuoperator7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuoperatorlore7 = new ArrayList<String>();
- shelpmenuoperatorlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore7.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore7.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator7Meta.setLore(shelpmenuoperatorlore7);
- shelpmenuoperator7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator7.setItemMeta(shelpmenuoperator7Meta);
- ItemStack shelpmenuoperator8 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator8Meta = shelpmenuoperator8.getItemMeta();
- shelpmenuoperator8Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [1]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore8 = new ArrayList<String>();
- shelpmenuoperatorlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore8.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore8.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore8.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator8Meta.setLore(shelpmenuoperatorlore8);
- shelpmenuoperator8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator8.setItemMeta(shelpmenuoperator8Meta);
- ItemStack shelpmenuoperator9 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator9Meta = shelpmenuoperator9.getItemMeta();
- shelpmenuoperator9Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [2]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore9 = new ArrayList<String>();
- shelpmenuoperatorlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore9.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore9.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore9.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator9Meta.setLore(shelpmenuoperatorlore9);
- shelpmenuoperator9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator9.setItemMeta(shelpmenuoperator9Meta);
- ItemStack shelpmenuoperator10 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator10Meta = shelpmenuoperator10.getItemMeta();
- shelpmenuoperator10Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [3]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore10 = new ArrayList<String>();
- shelpmenuoperatorlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore10.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore10.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore10.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator10Meta.setLore(shelpmenuoperatorlore10);
- shelpmenuoperator10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator10.setItemMeta(shelpmenuoperator10Meta);
- ItemStack shelpmenuoperator11 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator11Meta = shelpmenuoperator11.getItemMeta();
- shelpmenuoperator11Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [4]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore11 = new ArrayList<String>();
- shelpmenuoperatorlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore11.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore11.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore11.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator11Meta.setLore(shelpmenuoperatorlore11);
- shelpmenuoperator11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator11.setItemMeta(shelpmenuoperator11Meta);
- ItemStack shelpmenuoperator12 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator12Meta = shelpmenuoperator12.getItemMeta();
- shelpmenuoperator12Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [5]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore12 = new ArrayList<String>();
- shelpmenuoperatorlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore12.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore12.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore12.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator12Meta.setLore(shelpmenuoperatorlore12);
- shelpmenuoperator12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator12.setItemMeta(shelpmenuoperator12Meta);
- ItemStack shelpmenuoperator13 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator13Meta = shelpmenuoperator13.getItemMeta();
- shelpmenuoperator13Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [6]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore13 = new ArrayList<String>();
- shelpmenuoperatorlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore13.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore13.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore13.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator13Meta.setLore(shelpmenuoperatorlore13);
- shelpmenuoperator13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator13.setItemMeta(shelpmenuoperator13Meta);
- ItemStack shelpmenuoperator14 = new ItemStack(Material.BOOK, 1);
- ItemMeta shelpmenuoperator14Meta = shelpmenuoperator14.getItemMeta();
- shelpmenuoperator14Meta.setDisplayName(ChatColor.WHITE + "Rule/Tip [7]" + ChatColor.DARK_PURPLE + " ");
- ArrayList<String> shelpmenuoperatorlore14 = new ArrayList<String>();
- shelpmenuoperatorlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperatorlore14.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore14.add(ChatColor.WHITE + "");
- shelpmenuoperatorlore14.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuoperator14Meta.setLore(shelpmenuoperatorlore14);
- shelpmenuoperator14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperator14.setItemMeta(shelpmenuoperator14Meta);
- ItemStack shelpmenuoperatorempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenuoperatoremptyMeta = shelpmenuoperatorempty.getItemMeta();
- shelpmenuoperatoremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenuoperatoremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperatorempty.setItemMeta(shelpmenuoperatoremptyMeta);
- ItemStack shelpmenuoperatorback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenuoperatorbackMeta = shelpmenuoperatorback.getItemMeta();
- shelpmenuoperatorbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenuoperatorbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuoperatorback.setItemMeta(shelpmenuoperatorbackMeta);
- i.setItem(0, shelpmenuoperatorempty);
- i.setItem(1, shelpmenuoperatorempty);
- i.setItem(2, shelpmenuoperatorempty);
- i.setItem(3, shelpmenuoperatorempty);
- i.setItem(4, shelpmenuoperatorempty);
- i.setItem(5, shelpmenuoperatorempty);
- i.setItem(6, shelpmenuoperatorempty);
- i.setItem(7, shelpmenuoperatorempty);
- i.setItem(8, shelpmenuoperatorempty);
- i.setItem(9, shelpmenuoperatorempty);
- i.setItem(10, shelpmenuoperator1);
- i.setItem(11, shelpmenuoperator2);
- i.setItem(12, shelpmenuoperator3);
- i.setItem(13, shelpmenuoperator4);
- i.setItem(14, shelpmenuoperator5);
- i.setItem(15, shelpmenuoperator6);
- i.setItem(16, shelpmenuoperator7);
- i.setItem(17, shelpmenuoperatorempty);
- i.setItem(18, shelpmenuoperatorempty);
- i.setItem(19, shelpmenuoperator8);
- i.setItem(20, shelpmenuoperator9);
- i.setItem(21, shelpmenuoperator10);
- i.setItem(22, shelpmenuoperator11);
- i.setItem(23, shelpmenuoperator12);
- i.setItem(24, shelpmenuoperator13);
- i.setItem(25, shelpmenuoperator14);
- i.setItem(26, shelpmenuoperatorempty);
- i.setItem(27, shelpmenuoperatorback);
- i.setItem(28, shelpmenuoperatorempty);
- i.setItem(29, shelpmenuoperatorempty);
- i.setItem(30, shelpmenuoperatorempty);
- i.setItem(31, shelpmenuoperatorempty);
- i.setItem(32, shelpmenuoperatorempty);
- i.setItem(33, shelpmenuoperatorempty);
- i.setItem(34, shelpmenuoperatorempty);
- i.setItem(35, shelpmenuoperatorempty);
- player.openInventory(i);
- // Staff Help menu - Operator commands/rules
- }
- public void newInventory17(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Manager Menu");
- ItemStack shelpmenumanager1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenumanager1Meta = shelpmenumanager1.getItemMeta();
- shelpmenumanager1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenumanagerlore1 = new ArrayList<String>();
- shelpmenumanagerlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Manager " + ChatColor.WHITE + "rank!");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenumanagerlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenumanagerlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager1Meta.setLore(shelpmenumanagerlore1);
- shelpmenumanager1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager1.setItemMeta(shelpmenumanager1Meta);
- ItemStack shelpmenumanager2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager2Meta = shelpmenumanager2.getItemMeta();
- shelpmenumanager2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenumanagerlore2 = new ArrayList<String>();
- shelpmenumanagerlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore2.add(ChatColor.WHITE + "");
- shelpmenumanagerlore2.add(ChatColor.WHITE + "");
- shelpmenumanagerlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager2Meta.setLore(shelpmenumanagerlore2);
- shelpmenumanager2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager2.setItemMeta(shelpmenumanager2Meta);
- ItemStack shelpmenumanager3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager3Meta = shelpmenumanager3.getItemMeta();
- shelpmenumanager3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenumanagerlore3 = new ArrayList<String>();
- shelpmenumanagerlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore3.add(ChatColor.WHITE + "");
- shelpmenumanagerlore3.add(ChatColor.WHITE + "");
- shelpmenumanagerlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager3Meta.setLore(shelpmenumanagerlore3);
- shelpmenumanager3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager3.setItemMeta(shelpmenumanager3Meta);
- ItemStack shelpmenumanager4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager4Meta = shelpmenumanager1.getItemMeta();
- shelpmenumanager4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumanagerlore4 = new ArrayList<String>();
- shelpmenumanagerlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore4.add(ChatColor.WHITE + "");
- shelpmenumanagerlore4.add(ChatColor.WHITE + "");
- shelpmenumanagerlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager4Meta.setLore(shelpmenumanagerlore4);
- shelpmenumanager4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager4.setItemMeta(shelpmenumanager4Meta);
- ItemStack shelpmenumanager5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager5Meta = shelpmenumanager5.getItemMeta();
- shelpmenumanager5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumanagerlore5 = new ArrayList<String>();
- shelpmenumanagerlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore5.add(ChatColor.WHITE + "");
- shelpmenumanagerlore5.add(ChatColor.WHITE + "");
- shelpmenumanagerlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager5Meta.setLore(shelpmenumanagerlore5);
- shelpmenumanager5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager5.setItemMeta(shelpmenumanager5Meta);
- ItemStack shelpmenumanager6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager6Meta = shelpmenumanager6.getItemMeta();
- shelpmenumanager6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumanagerlore6 = new ArrayList<String>();
- shelpmenumanagerlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore6.add(ChatColor.WHITE + "");
- shelpmenumanagerlore6.add(ChatColor.WHITE + "");
- shelpmenumanagerlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager6Meta.setLore(shelpmenumanagerlore6);
- shelpmenumanager6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager6.setItemMeta(shelpmenumanager6Meta);
- ItemStack shelpmenumanager7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenumanager7Meta = shelpmenumanager7.getItemMeta();
- shelpmenumanager7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenumanagerlore7 = new ArrayList<String>();
- shelpmenumanagerlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanagerlore7.add(ChatColor.WHITE + "");
- shelpmenumanagerlore7.add(ChatColor.WHITE + "");
- shelpmenumanagerlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenumanager7Meta.setLore(shelpmenumanagerlore7);
- shelpmenumanager7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanager7.setItemMeta(shelpmenumanager7Meta);
- ItemStack shelpmenumanagerempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenumanageremptyMeta = shelpmenumanagerempty.getItemMeta();
- shelpmenumanageremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenumanageremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanagerempty.setItemMeta(shelpmenumanageremptyMeta);
- ItemStack shelpmenumanagerback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenumanagerbackMeta = shelpmenumanagerback.getItemMeta();
- shelpmenumanagerbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenumanagerbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenumanagerback.setItemMeta(shelpmenumanagerbackMeta);
- i.setItem(0, shelpmenumanagerempty);
- i.setItem(1, shelpmenumanagerempty);
- i.setItem(2, shelpmenumanagerempty);
- i.setItem(3, shelpmenumanagerempty);
- i.setItem(4, shelpmenumanagerempty);
- i.setItem(5, shelpmenumanagerempty);
- i.setItem(6, shelpmenumanagerempty);
- i.setItem(7, shelpmenumanagerempty);
- i.setItem(8, shelpmenumanagerempty);
- i.setItem(9, shelpmenumanagerempty);
- i.setItem(10, shelpmenumanager1);
- i.setItem(11, shelpmenumanager2);
- i.setItem(12, shelpmenumanager3);
- i.setItem(13, shelpmenumanager4);
- i.setItem(14, shelpmenumanager5);
- i.setItem(15, shelpmenumanager6);
- i.setItem(16, shelpmenumanager7);
- i.setItem(17, shelpmenumanagerempty);
- i.setItem(18, shelpmenumanagerback);
- i.setItem(19, shelpmenumanagerempty);
- i.setItem(20, shelpmenumanagerempty);
- i.setItem(21, shelpmenumanagerempty);
- i.setItem(22, shelpmenumanagerempty);
- i.setItem(23, shelpmenumanagerempty);
- i.setItem(24, shelpmenumanagerempty);
- i.setItem(25, shelpmenumanagerempty);
- i.setItem(26, shelpmenumanagerempty);
- player.openInventory(i);
- // Staff Help menu - Manager commands/rules
- }
- public void newInventory18(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Developer Menu");
- ItemStack shelpmenudev1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenudev1Meta = shelpmenudev1.getItemMeta();
- shelpmenudev1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenudevlore1 = new ArrayList<String>();
- shelpmenudevlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Developer " + ChatColor.WHITE + "rank!");
- shelpmenudevlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenudevlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenudevlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenudevlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenudevlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenudevlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenudevlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenudevlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenudevlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenudevlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev1Meta.setLore(shelpmenudevlore1);
- shelpmenudev1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev1.setItemMeta(shelpmenudev1Meta);
- ItemStack shelpmenudev2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev2Meta = shelpmenudev2.getItemMeta();
- shelpmenudev2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenudevlore2 = new ArrayList<String>();
- shelpmenudevlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore2.add(ChatColor.WHITE + "");
- shelpmenudevlore2.add(ChatColor.WHITE + "");
- shelpmenudevlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev2Meta.setLore(shelpmenudevlore2);
- shelpmenudev2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev2.setItemMeta(shelpmenudev2Meta);
- ItemStack shelpmenudev3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev3Meta = shelpmenudev3.getItemMeta();
- shelpmenudev3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenudevlore3 = new ArrayList<String>();
- shelpmenudevlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore3.add(ChatColor.WHITE + "");
- shelpmenudevlore3.add(ChatColor.WHITE + "");
- shelpmenudevlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev3Meta.setLore(shelpmenudevlore3);
- shelpmenudev3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev3.setItemMeta(shelpmenudev3Meta);
- ItemStack shelpmenudev4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev4Meta = shelpmenudev1.getItemMeta();
- shelpmenudev4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenudevlore4 = new ArrayList<String>();
- shelpmenudevlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore4.add(ChatColor.WHITE + "");
- shelpmenudevlore4.add(ChatColor.WHITE + "");
- shelpmenudevlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev4Meta.setLore(shelpmenudevlore4);
- shelpmenudev4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev4.setItemMeta(shelpmenudev4Meta);
- ItemStack shelpmenudev5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev5Meta = shelpmenudev5.getItemMeta();
- shelpmenudev5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenudevlore5 = new ArrayList<String>();
- shelpmenudevlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore5.add(ChatColor.WHITE + "");
- shelpmenudevlore5.add(ChatColor.WHITE + "");
- shelpmenudevlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev5Meta.setLore(shelpmenudevlore5);
- shelpmenudev5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev5.setItemMeta(shelpmenudev5Meta);
- ItemStack shelpmenudev6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev6Meta = shelpmenudev6.getItemMeta();
- shelpmenudev6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenudevlore6 = new ArrayList<String>();
- shelpmenudevlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore6.add(ChatColor.WHITE + "");
- shelpmenudevlore6.add(ChatColor.WHITE + "");
- shelpmenudevlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev6Meta.setLore(shelpmenudevlore6);
- shelpmenudev6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev6.setItemMeta(shelpmenudev6Meta);
- ItemStack shelpmenudev7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenudev7Meta = shelpmenudev7.getItemMeta();
- shelpmenudev7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenudevlore7 = new ArrayList<String>();
- shelpmenudevlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudevlore7.add(ChatColor.WHITE + "");
- shelpmenudevlore7.add(ChatColor.WHITE + "");
- shelpmenudevlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenudev7Meta.setLore(shelpmenudevlore7);
- shelpmenudev7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudev7.setItemMeta(shelpmenudev7Meta);
- ItemStack shelpmenudevempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenudevemptyMeta = shelpmenudevempty.getItemMeta();
- shelpmenudevemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenudevemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudevempty.setItemMeta(shelpmenudevemptyMeta);
- ItemStack shelpmenudevback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenudevbackMeta = shelpmenudevback.getItemMeta();
- shelpmenudevbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenudevbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenudevback.setItemMeta(shelpmenudevbackMeta);
- i.setItem(0, shelpmenudevempty);
- i.setItem(1, shelpmenudevempty);
- i.setItem(2, shelpmenudevempty);
- i.setItem(3, shelpmenudevempty);
- i.setItem(4, shelpmenudevempty);
- i.setItem(5, shelpmenudevempty);
- i.setItem(6, shelpmenudevempty);
- i.setItem(7, shelpmenudevempty);
- i.setItem(8, shelpmenudevempty);
- i.setItem(9, shelpmenudevempty);
- i.setItem(10, shelpmenudev1);
- i.setItem(11, shelpmenudev2);
- i.setItem(12, shelpmenudev3);
- i.setItem(13, shelpmenudev4);
- i.setItem(14, shelpmenudev5);
- i.setItem(15, shelpmenudev6);
- i.setItem(16, shelpmenudev7);
- i.setItem(17, shelpmenudevempty);
- i.setItem(18, shelpmenudevback);
- i.setItem(19, shelpmenudevempty);
- i.setItem(20, shelpmenudevempty);
- i.setItem(21, shelpmenudevempty);
- i.setItem(22, shelpmenudevempty);
- i.setItem(23, shelpmenudevempty);
- i.setItem(24, shelpmenudevempty);
- i.setItem(25, shelpmenudevempty);
- i.setItem(26, shelpmenudevempty);
- player.openInventory(i);
- // Staff Help menu - Developer commands/rules
- }
- public void newInventory19(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " Owner Menu");
- ItemStack shelpmenuowner1 = new ItemStack(Material.EXP_BOTTLE, 1);
- ItemMeta shelpmenuowner1Meta = shelpmenuowner1.getItemMeta();
- shelpmenuowner1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Introduction");
- ArrayList<String> shelpmenuownerlore1 = new ArrayList<String>();
- shelpmenuownerlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore1.add(ChatColor.WHITE + "Congratulations you have been awarded the" + ChatColor.DARK_PURPLE
- + " Owner " + ChatColor.WHITE + "rank!");
- shelpmenuownerlore1.add(ChatColor.WHITE + "This is a big responsibility as this is the route to");
- shelpmenuownerlore1.add(ChatColor.WHITE + "becoming a full member of the staff team. As you have");
- shelpmenuownerlore1.add(ChatColor.WHITE + "shown interest in becoming a staff member you need to");
- shelpmenuownerlore1.add(ChatColor.WHITE + "prove that you can act responsiblely and maturely to be");
- shelpmenuownerlore1.add(ChatColor.WHITE + "a role model to every player on the server. Listed in this");
- shelpmenuownerlore1.add(ChatColor.WHITE + "menu are a few commands that you now have access to and");
- shelpmenuownerlore1.add(ChatColor.WHITE + "some rules which you need to follow. This is not a complete");
- shelpmenuownerlore1.add(ChatColor.WHITE + "list which can be found in the staff chat if requested if");
- shelpmenuownerlore1.add(ChatColor.WHITE + "not pinned in the chat. Good Luck!");
- shelpmenuownerlore1.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner1Meta.setLore(shelpmenuownerlore1);
- shelpmenuowner1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner1.setItemMeta(shelpmenuowner1Meta);
- ItemStack shelpmenuowner2 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner2Meta = shelpmenuowner2.getItemMeta();
- shelpmenuowner2Meta
- .setDisplayName(ChatColor.WHITE + "Command [1]" + ChatColor.DARK_PURPLE + " /kick [player] [reason]");
- ArrayList<String> shelpmenuownerlore2 = new ArrayList<String>();
- shelpmenuownerlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore2.add(ChatColor.WHITE + "");
- shelpmenuownerlore2.add(ChatColor.WHITE + "");
- shelpmenuownerlore2.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner2Meta.setLore(shelpmenuownerlore2);
- shelpmenuowner2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner2.setItemMeta(shelpmenuowner2Meta);
- ItemStack shelpmenuowner3 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner3Meta = shelpmenuowner3.getItemMeta();
- shelpmenuowner3Meta
- .setDisplayName(ChatColor.WHITE + "Command [2]" + ChatColor.DARK_PURPLE + " /warn [player] [reason]");
- ArrayList<String> shelpmenuownerlore3 = new ArrayList<String>();
- shelpmenuownerlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore3.add(ChatColor.WHITE + "");
- shelpmenuownerlore3.add(ChatColor.WHITE + "");
- shelpmenuownerlore3.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner3Meta.setLore(shelpmenuownerlore3);
- shelpmenuowner3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner3.setItemMeta(shelpmenuowner3Meta);
- ItemStack shelpmenuowner4 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner4Meta = shelpmenuowner1.getItemMeta();
- shelpmenuowner4Meta.setDisplayName(ChatColor.WHITE + "Command [3]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuownerlore4 = new ArrayList<String>();
- shelpmenuownerlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore4.add(ChatColor.WHITE + "");
- shelpmenuownerlore4.add(ChatColor.WHITE + "");
- shelpmenuownerlore4.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner4Meta.setLore(shelpmenuownerlore4);
- shelpmenuowner4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner4.setItemMeta(shelpmenuowner4Meta);
- ItemStack shelpmenuowner5 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner5Meta = shelpmenuowner5.getItemMeta();
- shelpmenuowner5Meta.setDisplayName(ChatColor.WHITE + "Command [4]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuownerlore5 = new ArrayList<String>();
- shelpmenuownerlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore5.add(ChatColor.WHITE + "");
- shelpmenuownerlore5.add(ChatColor.WHITE + "");
- shelpmenuownerlore5.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner5Meta.setLore(shelpmenuownerlore5);
- shelpmenuowner5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner5.setItemMeta(shelpmenuowner5Meta);
- ItemStack shelpmenuowner6 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner6Meta = shelpmenuowner6.getItemMeta();
- shelpmenuowner6Meta.setDisplayName(ChatColor.WHITE + "Command [5]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuownerlore6 = new ArrayList<String>();
- shelpmenuownerlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore6.add(ChatColor.WHITE + "");
- shelpmenuownerlore6.add(ChatColor.WHITE + "");
- shelpmenuownerlore6.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner6Meta.setLore(shelpmenuownerlore6);
- shelpmenuowner6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner6.setItemMeta(shelpmenuowner6Meta);
- ItemStack shelpmenuowner7 = new ItemStack(Material.PAPER, 1);
- ItemMeta shelpmenuowner7Meta = shelpmenuowner7.getItemMeta();
- shelpmenuowner7Meta.setDisplayName(ChatColor.WHITE + "Command [6]" + ChatColor.DARK_PURPLE + " /");
- ArrayList<String> shelpmenuownerlore7 = new ArrayList<String>();
- shelpmenuownerlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuownerlore7.add(ChatColor.WHITE + "");
- shelpmenuownerlore7.add(ChatColor.WHITE + "");
- shelpmenuownerlore7.add(ChatColor.LIGHT_PURPLE + "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- shelpmenuowner7Meta.setLore(shelpmenuownerlore7);
- shelpmenuowner7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuowner7.setItemMeta(shelpmenuowner7Meta);
- ItemStack shelpmenuownerempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta shelpmenuowneremptyMeta = shelpmenuownerempty.getItemMeta();
- shelpmenuowneremptyMeta.setDisplayName(ChatColor.BLACK + ".");
- shelpmenuowneremptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuownerempty.setItemMeta(shelpmenuowneremptyMeta);
- ItemStack shelpmenuownerback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta shelpmenuownerbackMeta = shelpmenuownerback.getItemMeta();
- shelpmenuownerbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- shelpmenuownerbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- shelpmenuownerback.setItemMeta(shelpmenuownerbackMeta);
- i.setItem(0, shelpmenuownerempty);
- i.setItem(1, shelpmenuownerempty);
- i.setItem(2, shelpmenuownerempty);
- i.setItem(3, shelpmenuownerempty);
- i.setItem(4, shelpmenuownerempty);
- i.setItem(5, shelpmenuownerempty);
- i.setItem(6, shelpmenuownerempty);
- i.setItem(7, shelpmenuownerempty);
- i.setItem(8, shelpmenuownerempty);
- i.setItem(9, shelpmenuownerempty);
- i.setItem(10, shelpmenuowner1);
- i.setItem(11, shelpmenuowner2);
- i.setItem(12, shelpmenuowner3);
- i.setItem(13, shelpmenuowner4);
- i.setItem(14, shelpmenuowner5);
- i.setItem(15, shelpmenuowner6);
- i.setItem(16, shelpmenuowner7);
- i.setItem(17, shelpmenuownerempty);
- i.setItem(18, shelpmenuownerback);
- i.setItem(19, shelpmenuownerempty);
- i.setItem(20, shelpmenuownerempty);
- i.setItem(21, shelpmenuownerempty);
- i.setItem(22, shelpmenuownerempty);
- i.setItem(23, shelpmenuownerempty);
- i.setItem(24, shelpmenuownerempty);
- i.setItem(25, shelpmenuownerempty);
- i.setItem(26, shelpmenuownerempty);
- player.openInventory(i);
- // Staff Help menu - Owner commands/rules
- }
- public void newInventory20(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 27,
- ChatColor.DARK_PURPLE + "Atlas" + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " CI Admin Menu");
- ItemStack cimenucore1 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenucore1Meta = cimenucore1.getItemMeta();
- cimenucore1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Items");
- cimenucore1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenucore1.setItemMeta(cimenucore1Meta);
- ItemStack cimenucore2 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenucore2Meta = cimenucore2.getItemMeta();
- cimenucore2Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematics");
- cimenucore2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenucore2.setItemMeta(cimenucore2Meta);
- ItemStack cimenucoreempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta cimenucoreemptyMeta = cimenucoreempty.getItemMeta();
- cimenucoreemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- cimenucoreemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenucoreempty.setItemMeta(cimenucoreemptyMeta);
- i.setItem(0, cimenucoreempty);
- i.setItem(1, cimenucoreempty);
- i.setItem(2, cimenucoreempty);
- i.setItem(3, cimenucoreempty);
- i.setItem(4, cimenucoreempty);
- i.setItem(5, cimenucoreempty);
- i.setItem(6, cimenucoreempty);
- i.setItem(7, cimenucoreempty);
- i.setItem(8, cimenucoreempty);
- i.setItem(9, cimenucoreempty);
- i.setItem(10, cimenucoreempty);
- i.setItem(11, cimenucore1);
- i.setItem(12, cimenucoreempty);
- i.setItem(13, cimenucoreempty);
- i.setItem(14, cimenucoreempty);
- i.setItem(15, cimenucore2);
- i.setItem(16, cimenucoreempty);
- i.setItem(17, cimenucoreempty);
- i.setItem(18, cimenucoreempty);
- i.setItem(19, cimenucoreempty);
- i.setItem(20, cimenucoreempty);
- i.setItem(21, cimenucoreempty);
- i.setItem(22, cimenucoreempty);
- i.setItem(23, cimenucoreempty);
- i.setItem(24, cimenucoreempty);
- i.setItem(25, cimenucoreempty);
- i.setItem(26, cimenucoreempty);
- player.openInventory(i);
- // CI admin menu
- }
- public void newInventory21(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 45, ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " CI CI Menu");
- ItemStack cimenuitems1 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems1Meta = cimenuitems1.getItemMeta();
- cimenuitems1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 1");
- cimenuitems1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems1.setItemMeta(cimenuitems1Meta);
- ItemStack cimenuitems2 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems2Meta = cimenuitems2.getItemMeta();
- cimenuitems2Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 2");
- cimenuitems2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems2.setItemMeta(cimenuitems2Meta);
- ItemStack cimenuitems3 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems3Meta = cimenuitems3.getItemMeta();
- cimenuitems3Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 3");
- cimenuitems3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems3.setItemMeta(cimenuitems3Meta);
- ItemStack cimenuitems4 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems4Meta = cimenuitems4.getItemMeta();
- cimenuitems4Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 4");
- cimenuitems4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems4.setItemMeta(cimenuitems4Meta);
- ItemStack cimenuitems5 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems5Meta = cimenuitems5.getItemMeta();
- cimenuitems5Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 5");
- cimenuitems5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems5.setItemMeta(cimenuitems5Meta);
- ItemStack cimenuitems6 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems6Meta = cimenuitems6.getItemMeta();
- cimenuitems6Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 6");
- cimenuitems6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems6.setItemMeta(cimenuitems6Meta);
- ItemStack cimenuitems7 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems7Meta = cimenuitems7.getItemMeta();
- cimenuitems7Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 7");
- cimenuitems7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems7.setItemMeta(cimenuitems7Meta);
- ItemStack cimenuitems8 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems8Meta = cimenuitems8.getItemMeta();
- cimenuitems8Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 8");
- cimenuitems8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems8.setItemMeta(cimenuitems8Meta);
- ItemStack cimenuitems9 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems9Meta = cimenuitems9.getItemMeta();
- cimenuitems9Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 9");
- cimenuitems9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems9.setItemMeta(cimenuitems9Meta);
- ItemStack cimenuitems10 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems10Meta = cimenuitems10.getItemMeta();
- cimenuitems10Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 10");
- cimenuitems10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems10.setItemMeta(cimenuitems10Meta);
- ItemStack cimenuitems11 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems11Meta = cimenuitems11.getItemMeta();
- cimenuitems11Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 11");
- cimenuitems11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems11.setItemMeta(cimenuitems11Meta);
- ItemStack cimenuitems12 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems12Meta = cimenuitems12.getItemMeta();
- cimenuitems12Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 12");
- cimenuitems12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems12.setItemMeta(cimenuitems12Meta);
- ItemStack cimenuitems13 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems13Meta = cimenuitems13.getItemMeta();
- cimenuitems13Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 13");
- cimenuitems13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems13.setItemMeta(cimenuitems13Meta);
- ItemStack cimenuitems14 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems14Meta = cimenuitems14.getItemMeta();
- cimenuitems14Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 14");
- cimenuitems14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems14.setItemMeta(cimenuitems14Meta);
- ItemStack cimenuitems15 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems15Meta = cimenuitems15.getItemMeta();
- cimenuitems15Meta.setDisplayName(ChatColor.DARK_PURPLE + "Custom Item 15");
- cimenuitems15Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems15.setItemMeta(cimenuitems15Meta);
- ItemStack cimenuitems16 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuitems16Meta = cimenuitems16.getItemMeta();
- cimenuitems16Meta.setDisplayName(ChatColor.DARK_PURPLE + "[TBD]");
- cimenuitems16Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitems16.setItemMeta(cimenuitems16Meta);
- ItemStack cimenuitemsempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta cimenuitemsemptyMeta = cimenuitemsempty.getItemMeta();
- cimenuitemsemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- cimenuitemsemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitemsempty.setItemMeta(cimenuitemsemptyMeta);
- ItemStack cimenuitemsback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta cimenuitemsbackMeta = cimenuitemsback.getItemMeta();
- cimenuitemsbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- cimenuitemsbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuitemsback.setItemMeta(cimenuitemsbackMeta);
- i.setItem(0, cimenuitemsempty);
- i.setItem(1, cimenuitemsempty);
- i.setItem(2, cimenuitemsempty);
- i.setItem(3, cimenuitemsempty);
- i.setItem(4, cimenuitemsempty);
- i.setItem(5, cimenuitemsempty);
- i.setItem(6, cimenuitemsempty);
- i.setItem(7, cimenuitemsempty);
- i.setItem(8, cimenuitemsempty);
- i.setItem(9, cimenuitemsempty);
- i.setItem(10, cimenuitems1);
- i.setItem(11, cimenuitems2);
- i.setItem(12, cimenuitems3);
- i.setItem(13, cimenuitems4);
- i.setItem(14, cimenuitems5);
- i.setItem(15, cimenuitems6);
- i.setItem(16, cimenuitems7);
- i.setItem(17, cimenuitemsempty);
- i.setItem(18, cimenuitemsempty);
- i.setItem(19, cimenuitems8);
- i.setItem(20, cimenuitems9);
- i.setItem(21, cimenuitems10);
- i.setItem(22, cimenuitems11);
- i.setItem(23, cimenuitems12);
- i.setItem(24, cimenuitems13);
- i.setItem(25, cimenuitems14);
- i.setItem(26, cimenuitemsempty);
- i.setItem(27, cimenuitemsempty);
- i.setItem(28, cimenuitems15);
- i.setItem(29, cimenuitemsempty);
- i.setItem(30, cimenuitemsempty);
- i.setItem(31, cimenuitemsempty);
- i.setItem(32, cimenuitemsempty);
- i.setItem(33, cimenuitemsempty);
- i.setItem(34, cimenuitemsempty);
- i.setItem(35, cimenuitemsempty);
- i.setItem(36, cimenuitemsback);
- i.setItem(37, cimenuitemsempty);
- i.setItem(38, cimenuitemsempty);
- i.setItem(39, cimenuitemsempty);
- i.setItem(40, cimenuitemsempty);
- i.setItem(41, cimenuitemsempty);
- i.setItem(42, cimenuitemsempty);
- i.setItem(43, cimenuitemsempty);
- i.setItem(44, cimenuitemsempty);
- player.openInventory(i);
- // CI admin menu - custom items
- }
- public void newInventory22(Player player) {
- Inventory i = plugin.getServer().createInventory(null, 45, ChatColor.DARK_PURPLE + "Atlas"
- + ChatColor.LIGHT_PURPLE + "MC" + ChatColor.WHITE + " CI Schematics Menu");
- ItemStack cimenuschematics1 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics1Meta = cimenuschematics1.getItemMeta();
- cimenuschematics1Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 1");
- cimenuschematics1Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics1.setItemMeta(cimenuschematics1Meta);
- ItemStack cimenuschematics2 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics2Meta = cimenuschematics2.getItemMeta();
- cimenuschematics2Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 2");
- cimenuschematics2Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics2.setItemMeta(cimenuschematics2Meta);
- ItemStack cimenuschematics3 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics3Meta = cimenuschematics3.getItemMeta();
- cimenuschematics3Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 3");
- cimenuschematics3Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics3.setItemMeta(cimenuschematics3Meta);
- ItemStack cimenuschematics4 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics4Meta = cimenuschematics4.getItemMeta();
- cimenuschematics4Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 4");
- cimenuschematics4Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics4.setItemMeta(cimenuschematics4Meta);
- ItemStack cimenuschematics5 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics5Meta = cimenuschematics5.getItemMeta();
- cimenuschematics5Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 5");
- cimenuschematics5Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics5.setItemMeta(cimenuschematics5Meta);
- ItemStack cimenuschematics6 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics6Meta = cimenuschematics6.getItemMeta();
- cimenuschematics6Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 6");
- cimenuschematics6Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics6.setItemMeta(cimenuschematics6Meta);
- ItemStack cimenuschematics7 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics7Meta = cimenuschematics7.getItemMeta();
- cimenuschematics7Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 7");
- cimenuschematics7Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics7.setItemMeta(cimenuschematics7Meta);
- ItemStack cimenuschematics8 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics8Meta = cimenuschematics8.getItemMeta();
- cimenuschematics8Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 8");
- cimenuschematics8Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics8.setItemMeta(cimenuschematics8Meta);
- ItemStack cimenuschematics9 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics9Meta = cimenuschematics9.getItemMeta();
- cimenuschematics9Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 9");
- cimenuschematics9Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics9.setItemMeta(cimenuschematics9Meta);
- ItemStack cimenuschematics10 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics10Meta = cimenuschematics10.getItemMeta();
- cimenuschematics10Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 10");
- cimenuschematics10Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics10.setItemMeta(cimenuschematics10Meta);
- ItemStack cimenuschematics11 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics11Meta = cimenuschematics11.getItemMeta();
- cimenuschematics11Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 11");
- cimenuschematics11Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics11.setItemMeta(cimenuschematics11Meta);
- ItemStack cimenuschematics12 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics12Meta = cimenuschematics12.getItemMeta();
- cimenuschematics12Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 12");
- cimenuschematics12Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics12.setItemMeta(cimenuschematics12Meta);
- ItemStack cimenuschematics13 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics13Meta = cimenuschematics13.getItemMeta();
- cimenuschematics13Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 13");
- cimenuschematics13Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics13.setItemMeta(cimenuschematics13Meta);
- ItemStack cimenuschematics14 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics14Meta = cimenuschematics14.getItemMeta();
- cimenuschematics14Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 14");
- cimenuschematics14Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics14.setItemMeta(cimenuschematics14Meta);
- ItemStack cimenuschematics15 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics15Meta = cimenuschematics15.getItemMeta();
- cimenuschematics15Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 15");
- cimenuschematics15Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics15.setItemMeta(cimenuschematics15Meta);
- ItemStack cimenuschematics16 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics16Meta = cimenuschematics16.getItemMeta();
- cimenuschematics16Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 16");
- cimenuschematics16Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics16.setItemMeta(cimenuschematics16Meta);
- ItemStack cimenuschematics17 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics17Meta = cimenuschematics17.getItemMeta();
- cimenuschematics17Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 17");
- cimenuschematics17Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics17.setItemMeta(cimenuschematics17Meta);
- ItemStack cimenuschematics18 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics18Meta = cimenuschematics18.getItemMeta();
- cimenuschematics18Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 18");
- cimenuschematics18Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics18.setItemMeta(cimenuschematics18Meta);
- ItemStack cimenuschematics19 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics19Meta = cimenuschematics19.getItemMeta();
- cimenuschematics19Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 19");
- cimenuschematics19Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics19.setItemMeta(cimenuschematics19Meta);
- ItemStack cimenuschematics20 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics20Meta = cimenuschematics20.getItemMeta();
- cimenuschematics20Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 20");
- cimenuschematics20Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics20.setItemMeta(cimenuschematics20Meta);
- ItemStack cimenuschematics21 = new ItemStack(Material.PAPER, 1);
- ItemMeta cimenuschematics21Meta = cimenuschematics21.getItemMeta();
- cimenuschematics21Meta.setDisplayName(ChatColor.DARK_PURPLE + "Schematic 21");
- cimenuschematics21Meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematics21.setItemMeta(cimenuschematics21Meta);
- ItemStack cimenuschematicsempty = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte) 15);
- ItemMeta cimenuschematicsemptyMeta = cimenuschematicsempty.getItemMeta();
- cimenuschematicsemptyMeta.setDisplayName(ChatColor.BLACK + ".");
- cimenuschematicsemptyMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematicsempty.setItemMeta(cimenuschematicsemptyMeta);
- ItemStack cimenuschematicsback = new ItemStack(Material.NETHER_STAR, 1);
- ItemMeta cimenuschematicsbackMeta = cimenuschematicsback.getItemMeta();
- cimenuschematicsbackMeta.setDisplayName(ChatColor.WHITE + "Go Back");
- cimenuschematicsbackMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
- cimenuschematicsback.setItemMeta(cimenuschematicsbackMeta);
- i.setItem(0, cimenuschematicsempty);
- i.setItem(1, cimenuschematicsempty);
- i.setItem(2, cimenuschematicsempty);
- i.setItem(3, cimenuschematicsempty);
- i.setItem(4, cimenuschematicsempty);
- i.setItem(5, cimenuschematicsempty);
- i.setItem(6, cimenuschematicsempty);
- i.setItem(7, cimenuschematicsempty);
- i.setItem(8, cimenuschematicsempty);
- i.setItem(9, cimenuschematicsempty);
- i.setItem(10, cimenuschematics1);
- i.setItem(11, cimenuschematics2);
- i.setItem(12, cimenuschematics3);
- i.setItem(13, cimenuschematics4);
- i.setItem(14, cimenuschematics5);
- i.setItem(15, cimenuschematics6);
- i.setItem(16, cimenuschematics7);
- i.setItem(17, cimenuschematicsempty);
- i.setItem(18, cimenuschematicsempty);
- i.setItem(19, cimenuschematics8);
- i.setItem(20, cimenuschematics9);
- i.setItem(21, cimenuschematics10);
- i.setItem(22, cimenuschematics11);
- i.setItem(23, cimenuschematics12);
- i.setItem(24, cimenuschematics13);
- i.setItem(25, cimenuschematics14);
- i.setItem(26, cimenuschematicsempty);
- i.setItem(27, cimenuschematicsempty);
- i.setItem(28, cimenuschematics15);
- i.setItem(29, cimenuschematics16);
- i.setItem(30, cimenuschematics17);
- i.setItem(31, cimenuschematics18);
- i.setItem(32, cimenuschematics19);
- i.setItem(33, cimenuschematics20);
- i.setItem(34, cimenuschematics21);
- i.setItem(35, cimenuschematicsempty);
- i.setItem(36, cimenuschematicsback);
- i.setItem(37, cimenuschematicsempty);
- i.setItem(38, cimenuschematicsempty);
- i.setItem(39, cimenuschematicsempty);
- i.setItem(40, cimenuschematicsempty);
- i.setItem(41, cimenuschematicsempty);
- i.setItem(42, cimenuschematicsempty);
- i.setItem(43, cimenuschematicsempty);
- i.setItem(44, cimenuschematicsempty);
- player.openInventory(i);
- // CI admin menu - Schematics
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement