Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* */ package me.MrBambusCZ.Lobby;
- /* */
- /* */ import com.google.common.io.ByteArrayDataOutput;
- /* */ import com.google.common.io.ByteStreams;
- /* */ import java.io.ByteArrayOutputStream;
- /* */ import java.io.DataOutputStream;
- /* */ import java.util.ArrayList;
- /* */ import java.util.HashMap;
- /* */ import java.util.Map;
- /* */ import org.bukkit.Bukkit;
- /* */ import org.bukkit.DyeColor;
- /* */ import org.bukkit.Material;
- /* */ import org.bukkit.Server;
- /* */ import org.bukkit.command.Command;
- /* */ import org.bukkit.command.CommandSender;
- /* */ import org.bukkit.configuration.Configuration;
- /* */ 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 org.bukkit.plugin.PluginManager;
- /* */ import org.bukkit.plugin.java.JavaPlugin;
- /* */ import org.bukkit.plugin.messaging.Messenger;
- /* */ import org.bukkit.scoreboard.Scoreboard;
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */
- /* */ public class Lobby
- /* */ extends JavaPlugin
- /* */ implements Listener
- /* */ {
- /* */ private ConfigManager configManager;
- /* */ private Timing timer;
- /* */ public static Lobby lb;
- /* 49 */ private Map<String, Scoreboard> playerScoreboards = new HashMap();
- /* */ private PListener plistener;
- /* 51 */ static ArrayList<String> A = new ArrayList();
- /* 52 */ private static ByteArrayOutputStream b = new ByteArrayOutputStream();
- /* 53 */ private static DataOutputStream out = new DataOutputStream(b);
- /* 54 */ public boolean loteries = true;
- /* */
- /* 56 */ public void onEnable() { PluginManager pm = getServer().getPluginManager();
- /* 57 */ Bukkit.getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
- /* 58 */ this.configManager = new ConfigManager(this);
- /* 59 */ this.configManager.loadConfigFiles(new String[] { "config.yml" });
- /* 60 */ getServer().getPluginManager().registerEvents(this, this);
- /* 61 */ Configuration config = this.configManager.getConfig("config.yml");
- /* 62 */ String host = config.getString("MySQL.host");
- /* 63 */ Integer port = Integer.valueOf(config.getInt("MySQL.port"));
- /* 64 */ String name = config.getString("MySQL.name");
- /* 65 */ String user = config.getString("MySQL.user");
- /* 66 */ String pass = config.getString("MySQL.pass");
- /* 67 */ Coins.connect(host, port, user, pass, name);
- /* 68 */ AnniSQL.connect(host, port, user, pass, name);
- /* 69 */ JumpLeagueSQL.connect(host, port, user, pass, name);
- /* 70 */ OP.connect(host, port, user, pass, name);
- /* 71 */ UHCSQL.connect(host, port, user, pass, name);
- /* */
- /* */
- /* 74 */ this.timer = new Timing(this, 0);
- /* 75 */ this.timer.start();
- /* 76 */ new AnniMenu(this);
- /* 77 */ new PListener(this);
- /* 78 */ new AnniShop(this);
- /* 79 */ new GameSelect(this);
- /* 80 */ new GameATSelect(this);
- /* 81 */ new JumpLeagueMenu(this);
- /* 82 */ new LobbySelector(this);
- /* 83 */ new VIP(this);
- /* 84 */ new Profile(this);
- /* 85 */ new UHCMenu(this);
- /* */ }
- /* */
- /* */
- /* */
- /* */
- /* */ public void onDisable()
- /* */ {
- /* 93 */ Coins.closeConnection();
- /* */
- /* 95 */ AnniSQL.closeConnection();
- /* 96 */ JumpLeagueSQL.closeConnection();
- /* 97 */ OP.closeConnection();
- /* 98 */ UHCSQL.closeConnection();
- /* */ }
- /* */
- /* */ public boolean startTimer()
- /* */ {
- /* 103 */ if (this.timer.isRunning()) {
- /* 104 */ return false;
- /* */ }
- /* 106 */ this.timer.start();
- /* */
- /* */
- /* 109 */ return true;
- /* */ }
- /* */
- /* */ public void getCount(Player player)
- /* */ {
- /* 114 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 115 */ out.writeUTF("PlayerCount");
- /* 116 */ out.writeUTF("ALL");
- /* */
- /* 118 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* */
- /* */ public boolean onCommand(CommandSender sender, Command cmd, String commmandlabel, String[] args)
- /* */ {
- /* 123 */ if ((sender instanceof Player)) {
- /* 124 */ Player player = (Player)sender;
- /* 125 */ if ((args.length == 0) && (cmd.getName().equalsIgnoreCase("annimenu"))) {
- /* 126 */ ItemStack anni3 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation"), (short)DyeColor.RED.getData());
- /* 127 */ ItemMeta metaanni3 = anni3.getItemMeta();
- /* 128 */ metaanni3.setDisplayName("§e§lAnnihilation 1");
- /* 129 */ ArrayList<String> anni3lore = new ArrayList();
- /* 130 */ anni3lore.add("");
- /* 131 */ anni3lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation"));
- /* 132 */ anni3lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation"));
- /* 133 */ anni3lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation").replace("", ""));
- /* 134 */ metaanni3.setLore(anni3lore);
- /* 135 */ anni3.setItemMeta(metaanni3);
- /* 136 */ ItemStack anni2 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation"), (short)DyeColor.YELLOW.getData());
- /* 137 */ ItemMeta metaanni2 = anni2.getItemMeta();
- /* 138 */ metaanni2.setDisplayName("§e§lAnnihilation 1");
- /* 139 */ ArrayList<String> anni2lore = new ArrayList();
- /* 140 */ anni2lore.add("");
- /* 141 */ anni2lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation"));
- /* 142 */ anni2lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation"));
- /* 143 */ anni2lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation").replace("", ""));
- /* 144 */ metaanni2.setLore(anni2lore);
- /* 145 */ anni2.setItemMeta(metaanni2);
- /* 146 */ ItemStack anni1 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation"), (short)DyeColor.GREEN.getData());
- /* 147 */ ItemMeta metaanni1 = anni1.getItemMeta();
- /* 148 */ metaanni1.setDisplayName("§e§lAnnihilation 1");
- /* 149 */ ArrayList<String> anni1lore = new ArrayList();
- /* 150 */ anni1lore.add("");
- /* 151 */ anni1lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation"));
- /* 152 */ anni1lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation"));
- /* 153 */ anni1lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation").replace("", ""));
- /* 154 */ metaanni1.setLore(anni1lore);
- /* 155 */ anni1.setItemMeta(metaanni1);
- /* 156 */ ItemStack anni0 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation"), (short)DyeColor.LIGHT_BLUE.getData());
- /* 157 */ ItemMeta metaanni0 = anni0.getItemMeta();
- /* 158 */ metaanni0.setDisplayName("§e§lAnnihilation 1");
- /* 159 */ ArrayList<String> anni0lore = new ArrayList();
- /* 160 */ anni0lore.add("");
- /* 161 */ anni0lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation"));
- /* 162 */ anni0lore.add("§7Stav§8: §eHlasuje se");
- /* 163 */ metaanni0.setLore(anni0lore);
- /* 164 */ anni0.setItemMeta(metaanni0);
- /* 165 */ ItemStack anni5 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation"), (short)DyeColor.BLACK.getData());
- /* 166 */ ItemMeta metaanni5 = anni5.getItemMeta();
- /* 167 */ metaanni5.setDisplayName("§e§lAnnihilation 1");
- /* 168 */ ArrayList<String> anni5lore = new ArrayList();
- /* 169 */ anni5lore.add("");
- /* 170 */ anni5lore.add("§7Stav§8: §cRestartuje se");
- /* 171 */ metaanni5.setLore(anni5lore);
- /* 172 */ anni5.setItemMeta(metaanni5);
- /* */
- /* */
- /* */
- /* 176 */ ItemStack anni32 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation2"), (short)DyeColor.RED.getData());
- /* 177 */ ItemMeta metaanni32 = anni32.getItemMeta();
- /* 178 */ metaanni32.setDisplayName("§e§lAnnihilation 2");
- /* 179 */ ArrayList<String> anni32lore = new ArrayList();
- /* 180 */ anni32lore.add("");
- /* 181 */ anni32lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation2"));
- /* 182 */ anni32lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation2"));
- /* 183 */ anni32lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation2").replace("", ""));
- /* 184 */ metaanni32.setLore(anni32lore);
- /* 185 */ anni32.setItemMeta(metaanni32);
- /* 186 */ ItemStack anni22 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation2"), (short)DyeColor.YELLOW.getData());
- /* 187 */ ItemMeta metaanni22 = anni22.getItemMeta();
- /* 188 */ metaanni22.setDisplayName("§e§lAnnihilation 2");
- /* 189 */ ArrayList<String> anni22lore = new ArrayList();
- /* 190 */ anni22lore.add("");
- /* 191 */ anni22lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation2"));
- /* 192 */ anni22lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation2"));
- /* 193 */ anni22lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation2").replace("", ""));
- /* 194 */ metaanni22.setLore(anni22lore);
- /* 195 */ anni22.setItemMeta(metaanni22);
- /* 196 */ ItemStack anni12 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation2"), (short)DyeColor.GREEN.getData());
- /* 197 */ ItemMeta metaanni12 = anni12.getItemMeta();
- /* 198 */ metaanni12.setDisplayName("§e§lAnnihilation 2");
- /* 199 */ ArrayList<String> anni12lore = new ArrayList();
- /* 200 */ anni12lore.add("");
- /* 201 */ anni12lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation2"));
- /* 202 */ anni12lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation2"));
- /* 203 */ anni12lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation2").replace("", ""));
- /* 204 */ metaanni12.setLore(anni12lore);
- /* 205 */ anni12.setItemMeta(metaanni12);
- /* 206 */ ItemStack anni02 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation2"), (short)DyeColor.LIGHT_BLUE.getData());
- /* 207 */ ItemMeta metaanni02 = anni02.getItemMeta();
- /* 208 */ metaanni02.setDisplayName("§e§lAnnihilation 2");
- /* 209 */ ArrayList<String> anni02lore = new ArrayList();
- /* 210 */ anni02lore.add("");
- /* 211 */ anni02lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation2"));
- /* 212 */ anni02lore.add("§7Stav§8: §eHlasuje se");
- /* 213 */ metaanni02.setLore(anni02lore);
- /* 214 */ anni02.setItemMeta(metaanni02);
- /* 215 */ ItemStack anni52 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation2"), (short)DyeColor.BLACK.getData());
- /* 216 */ ItemMeta metaanni52 = anni52.getItemMeta();
- /* 217 */ metaanni52.setDisplayName("§e§lAnnihilation 2");
- /* 218 */ ArrayList<String> anni52lore = new ArrayList();
- /* 219 */ anni52lore.add("");
- /* 220 */ anni52lore.add("§7Stav§8: §cRestartuje se");
- /* 221 */ metaanni52.setLore(anni52lore);
- /* 222 */ anni52.setItemMeta(metaanni52);
- /* */
- /* */
- /* */
- /* */
- /* 227 */ ItemStack anni33 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation3"), (short)DyeColor.RED.getData());
- /* 228 */ ItemMeta metaanni33 = anni33.getItemMeta();
- /* 229 */ metaanni33.setDisplayName("§e§lAnnihilation 3");
- /* 230 */ ArrayList<String> anni33lore = new ArrayList();
- /* 231 */ anni33lore.add("");
- /* 232 */ anni33lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation3"));
- /* 233 */ anni33lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation3"));
- /* 234 */ anni33lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation3").replace("", ""));
- /* 235 */ metaanni33.setLore(anni33lore);
- /* 236 */ anni33.setItemMeta(metaanni33);
- /* 237 */ ItemStack anni23 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation3"), (short)DyeColor.YELLOW.getData());
- /* 238 */ ItemMeta metaanni23 = anni23.getItemMeta();
- /* 239 */ metaanni23.setDisplayName("§e§lAnnihilation 3");
- /* 240 */ ArrayList<String> anni23lore = new ArrayList();
- /* 241 */ anni23lore.add("");
- /* 242 */ anni23lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation3"));
- /* 243 */ anni23lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation3"));
- /* 244 */ anni23lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation3").replace("", ""));
- /* 245 */ metaanni23.setLore(anni23lore);
- /* 246 */ anni23.setItemMeta(metaanni23);
- /* 247 */ ItemStack anni13 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation3"), (short)DyeColor.GREEN.getData());
- /* 248 */ ItemMeta metaanni13 = anni13.getItemMeta();
- /* 249 */ metaanni13.setDisplayName("§e§lAnnihilation 3");
- /* 250 */ ArrayList<String> anni13lore = new ArrayList();
- /* 251 */ anni13lore.add("");
- /* 252 */ anni13lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation3"));
- /* 253 */ anni13lore.add("§7Faze§8: §e" + AnniSQL.getPhaseInt("Annihilation3"));
- /* 254 */ anni13lore.add("§7Mapa§8: §e" + AnniSQL.getMap("Annihilation3").replace("", ""));
- /* 255 */ metaanni13.setLore(anni13lore);
- /* 256 */ anni13.setItemMeta(metaanni13);
- /* 257 */ ItemStack anni03 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation3"), (short)DyeColor.LIGHT_BLUE.getData());
- /* 258 */ ItemMeta metaanni03 = anni03.getItemMeta();
- /* 259 */ metaanni03.setDisplayName("§e§lAnnihilation 3");
- /* 260 */ ArrayList<String> anni03lore = new ArrayList();
- /* 261 */ anni03lore.add("");
- /* 262 */ anni03lore.add("§7Hraci§8: §e" + AnniSQL.getOnlinePlayer("Annihilation3"));
- /* 263 */ anni03lore.add("§7Stav§8: §eHlasuje se");
- /* 264 */ metaanni03.setLore(anni03lore);
- /* 265 */ anni03.setItemMeta(metaanni03);
- /* 266 */ ItemStack anni53 = new ItemStack(Material.WOOL, AnniSQL.getOnlinePlayer("Annihilation3"), (short)DyeColor.BLACK.getData());
- /* 267 */ ItemMeta metaanni53 = anni53.getItemMeta();
- /* 268 */ metaanni53.setDisplayName("§e§lAnnihilation 3");
- /* 269 */ ArrayList<String> anni53lore = new ArrayList();
- /* 270 */ anni53lore.add("");
- /* 271 */ anni53lore.add("§7Stav§8: §cRestartuje se");
- /* 272 */ metaanni53.setLore(anni53lore);
- /* 273 */ anni53.setItemMeta(metaanni53);
- /* */
- /* */
- /* 276 */ if (AnniSQL.getPhaseInt("Annihilation") == -1) {
- /* 277 */ AnniMenu.anni.setItem(12, anni5);
- /* 278 */ AnniMenu.anni.remove(anni1);
- /* 279 */ AnniMenu.anni.remove(anni2);
- /* 280 */ AnniMenu.anni.remove(anni3);
- /* 281 */ AnniMenu.anni.remove(anni0);
- /* */ }
- /* 283 */ if (AnniSQL.getPhaseInt("Annihilation2") == -1) {
- /* 284 */ AnniMenu.anni.setItem(13, anni52);
- /* 285 */ AnniMenu.anni.remove(anni12);
- /* 286 */ AnniMenu.anni.remove(anni22);
- /* 287 */ AnniMenu.anni.remove(anni32);
- /* 288 */ AnniMenu.anni.remove(anni02);
- /* */ }
- /* 290 */ if (AnniSQL.getPhaseInt("Annihilation3") == -1) {
- /* 291 */ AnniMenu.anni.setItem(14, anni53);
- /* 292 */ AnniMenu.anni.remove(anni13);
- /* 293 */ AnniMenu.anni.remove(anni23);
- /* 294 */ AnniMenu.anni.remove(anni33);
- /* 295 */ AnniMenu.anni.remove(anni2);
- /* */ }
- /* */
- /* 298 */ if (AnniSQL.getPhaseInt("Annihilation") == 0) {
- /* 299 */ AnniMenu.anni.setItem(12, anni0);
- /* 300 */ AnniMenu.anni.remove(anni1);
- /* 301 */ AnniMenu.anni.remove(anni2);
- /* 302 */ AnniMenu.anni.remove(anni3);
- /* 303 */ AnniMenu.anni.remove(anni5);
- /* */ }
- /* 305 */ if (AnniSQL.getPhaseInt("Annihilation2") == 0) {
- /* 306 */ AnniMenu.anni.setItem(13, anni02);
- /* 307 */ AnniMenu.anni.remove(anni12);
- /* 308 */ AnniMenu.anni.remove(anni22);
- /* 309 */ AnniMenu.anni.remove(anni32);
- /* 310 */ AnniMenu.anni.remove(anni52);
- /* */ }
- /* 312 */ if (AnniSQL.getPhaseInt("Annihilation3") == 0) {
- /* 313 */ AnniMenu.anni.setItem(14, anni03);
- /* 314 */ AnniMenu.anni.remove(anni13);
- /* 315 */ AnniMenu.anni.remove(anni23);
- /* 316 */ AnniMenu.anni.remove(anni33);
- /* 317 */ AnniMenu.anni.remove(anni3);
- /* */ }
- /* */
- /* */
- /* 321 */ if (AnniSQL.getPhaseInt("Annihilation") == 1) {
- /* 322 */ AnniMenu.anni.setItem(12, anni1);
- /* 323 */ AnniMenu.anni.remove(anni0);
- /* 324 */ AnniMenu.anni.remove(anni2);
- /* 325 */ AnniMenu.anni.remove(anni3);
- /* */ }
- /* 327 */ if (AnniSQL.getPhaseInt("Annihilation2") == 1) {
- /* 328 */ AnniMenu.anni.setItem(13, anni12);
- /* 329 */ AnniMenu.anni.remove(anni02);
- /* 330 */ AnniMenu.anni.remove(anni22);
- /* 331 */ AnniMenu.anni.remove(anni32);
- /* */ }
- /* 333 */ if (AnniSQL.getPhaseInt("Annihilation3") == 1) {
- /* 334 */ AnniMenu.anni.setItem(14, anni13);
- /* 335 */ AnniMenu.anni.remove(anni03);
- /* 336 */ AnniMenu.anni.remove(anni23);
- /* 337 */ AnniMenu.anni.remove(anni33);
- /* */ }
- /* */
- /* */
- /* 341 */ if (AnniSQL.getPhaseInt("Annihilation") == 2) {
- /* 342 */ AnniMenu.anni.setItem(12, anni2);
- /* 343 */ AnniMenu.anni.remove(anni0);
- /* 344 */ AnniMenu.anni.remove(anni1);
- /* 345 */ AnniMenu.anni.remove(anni3);
- /* */ }
- /* 347 */ if (AnniSQL.getPhaseInt("Annihilation2") == 2) {
- /* 348 */ AnniMenu.anni.setItem(13, anni22);
- /* 349 */ AnniMenu.anni.remove(anni02);
- /* 350 */ AnniMenu.anni.remove(anni12);
- /* 351 */ AnniMenu.anni.remove(anni32);
- /* */ }
- /* 353 */ if (AnniSQL.getPhaseInt("Annihilation3") == 2) {
- /* 354 */ AnniMenu.anni.setItem(14, anni23);
- /* 355 */ AnniMenu.anni.remove(anni03);
- /* 356 */ AnniMenu.anni.remove(anni13);
- /* 357 */ AnniMenu.anni.remove(anni33);
- /* */ }
- /* */
- /* */
- /* 361 */ if (AnniSQL.getPhaseInt("Annihilation") >= 3) {
- /* 362 */ AnniMenu.anni.setItem(12, anni3);
- /* 363 */ AnniMenu.anni.remove(anni0);
- /* 364 */ AnniMenu.anni.remove(anni1);
- /* 365 */ AnniMenu.anni.remove(anni2);
- /* */ }
- /* 367 */ if (AnniSQL.getPhaseInt("Annihilation2") >= 3) {
- /* 368 */ AnniMenu.anni.setItem(13, anni32);
- /* 369 */ AnniMenu.anni.remove(anni02);
- /* 370 */ AnniMenu.anni.remove(anni12);
- /* 371 */ AnniMenu.anni.remove(anni22);
- /* */ }
- /* 373 */ if (AnniSQL.getPhaseInt("Annihilation3") >= 3) {
- /* 374 */ AnniMenu.anni.setItem(14, anni33);
- /* 375 */ AnniMenu.anni.remove(anni03);
- /* 376 */ AnniMenu.anni.remove(anni13);
- /* 377 */ AnniMenu.anni.remove(anni23);
- /* */ }
- /* */
- /* 380 */ player.openInventory(AnniMenu.anni);
- /* */ }
- /* 382 */ if ((args.length == 0) && (cmd.getName().equalsIgnoreCase("jlmenu"))) {
- /* 383 */ player.openInventory(JumpLeagueMenu.jumpLeague);
- /* 384 */ ItemStack JumpL1W = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague1"), (short)DyeColor.LIME.getData());
- /* 385 */ ItemMeta JumpL1Wm = JumpL1W.getItemMeta();
- /* 386 */ JumpL1Wm.setDisplayName("§e§lJump League 1");
- /* 387 */ ArrayList<String> JumpL1Wl = new ArrayList();
- /* 388 */ JumpL1Wl.add("");
- /* 389 */ JumpL1Wl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague1"));
- /* 390 */ JumpL1Wl.add("§7Stav§8: §eCekani");
- /* 391 */ JumpL1Wm.setLore(JumpL1Wl);
- /* 392 */ JumpL1W.setItemMeta(JumpL1Wm);
- /* */
- /* */
- /* 395 */ ItemStack JumpL1S = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague1"), (short)DyeColor.YELLOW.getData());
- /* 396 */ ItemMeta JumpL1Sm = JumpL1S.getItemMeta();
- /* 397 */ JumpL1Sm.setDisplayName("§e§lJump League 1");
- /* 398 */ ArrayList<String> JumpL1Sl = new ArrayList();
- /* 399 */ JumpL1Sl.add("");
- /* 400 */ JumpL1Sl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague1"));
- /* 401 */ JumpL1Sl.add("§7Stav§8: §eStartuje");
- /* 402 */ JumpL1Sm.setLore(JumpL1Sl);
- /* 403 */ JumpL1S.setItemMeta(JumpL1Sm);
- /* */
- /* 405 */ ItemStack JumpL1I = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague1"), (short)DyeColor.RED.getData());
- /* 406 */ ItemMeta JumpL1Im = JumpL1I.getItemMeta();
- /* 407 */ JumpL1Im.setDisplayName("§e§lJump League 1");
- /* 408 */ ArrayList<String> JumpL1Il = new ArrayList();
- /* 409 */ JumpL1Il.add("");
- /* 410 */ JumpL1Il.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague1"));
- /* 411 */ JumpL1Il.add("§7Stav§8: §eVe Hre");
- /* 412 */ JumpL1Im.setLore(JumpL1Il);
- /* 413 */ JumpL1I.setItemMeta(JumpL1Im);
- /* */
- /* 415 */ ItemStack JumpL1R = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague1"), (short)DyeColor.BLACK.getData());
- /* 416 */ ItemMeta JumpL1Rm = JumpL1R.getItemMeta();
- /* 417 */ JumpL1Rm.setDisplayName("§e§lJump League 1");
- /* 418 */ ArrayList<String> JumpL1Rl = new ArrayList();
- /* 419 */ JumpL1Rl.add("");
- /* 420 */ JumpL1Rl.add("§7Stav§8: §cRestartuje se");
- /* 421 */ JumpL1Rm.setLore(JumpL1Rl);
- /* 422 */ JumpL1R.setItemMeta(JumpL1Rm);
- /* */
- /* */
- /* */
- /* 426 */ ItemStack JumpL2W = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague2"), (short)DyeColor.LIME.getData());
- /* 427 */ ItemMeta JumpL2Wm = JumpL2W.getItemMeta();
- /* 428 */ JumpL2Wm.setDisplayName("§e§lJump League 2");
- /* 429 */ ArrayList<String> JumpL2Wl = new ArrayList();
- /* 430 */ JumpL2Wl.add("");
- /* 431 */ JumpL2Wl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague2"));
- /* 432 */ JumpL2Wl.add("§7Stav§8: §eCekani");
- /* 433 */ JumpL2Wm.setLore(JumpL2Wl);
- /* 434 */ JumpL2W.setItemMeta(JumpL2Wm);
- /* */
- /* */
- /* 437 */ ItemStack JumpL2S = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague2"), (short)DyeColor.YELLOW.getData());
- /* 438 */ ItemMeta JumpL2Sm = JumpL2S.getItemMeta();
- /* 439 */ JumpL2Sm.setDisplayName("§e§lJump League 2");
- /* 440 */ ArrayList<String> JumpL2Sl = new ArrayList();
- /* 441 */ JumpL2Sl.add("");
- /* 442 */ JumpL2Sl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague2"));
- /* 443 */ JumpL2Sl.add("§7Stav§8: §eStartuje");
- /* 444 */ JumpL2Sm.setLore(JumpL2Sl);
- /* 445 */ JumpL2S.setItemMeta(JumpL2Sm);
- /* */
- /* 447 */ ItemStack JumpL2I = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague2"), (short)DyeColor.RED.getData());
- /* 448 */ ItemMeta JumpL2Im = JumpL2I.getItemMeta();
- /* 449 */ JumpL2Im.setDisplayName("§e§lJump League 2");
- /* 450 */ ArrayList<String> JumpL2Il = new ArrayList();
- /* 451 */ JumpL2Il.add("");
- /* 452 */ JumpL2Il.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague2"));
- /* 453 */ JumpL2Il.add("§7Stav§8: §eVe Hre");
- /* 454 */ JumpL2Im.setLore(JumpL2Il);
- /* 455 */ JumpL2I.setItemMeta(JumpL2Im);
- /* */
- /* 457 */ ItemStack JumpL2R = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague2"), (short)DyeColor.BLACK.getData());
- /* 458 */ ItemMeta JumpL2Rm = JumpL2R.getItemMeta();
- /* 459 */ JumpL2Rm.setDisplayName("§e§lJump League 2");
- /* 460 */ ArrayList<String> JumpL2Rl = new ArrayList();
- /* 461 */ JumpL2Rl.add("");
- /* 462 */ JumpL2Rl.add("§7Stav§8: §cRestartuje se");
- /* 463 */ JumpL2Rm.setLore(JumpL2Rl);
- /* 464 */ JumpL2R.setItemMeta(JumpL2Rm);
- /* */
- /* */
- /* */
- /* */
- /* 469 */ ItemStack JumpL3W = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague3"), (short)DyeColor.LIME.getData());
- /* 470 */ ItemMeta JumpL3Wm = JumpL3W.getItemMeta();
- /* 471 */ JumpL3Wm.setDisplayName("§e§lJump League 3");
- /* 472 */ ArrayList<String> JumpL3Wl = new ArrayList();
- /* 473 */ JumpL3Wl.add("");
- /* 474 */ JumpL3Wl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague3"));
- /* 475 */ JumpL3Wl.add("§7Stav§8: §eCekani");
- /* 476 */ JumpL3Wm.setLore(JumpL3Wl);
- /* 477 */ JumpL3W.setItemMeta(JumpL3Wm);
- /* */
- /* */
- /* 480 */ ItemStack JumpL3S = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague3"), (short)DyeColor.YELLOW.getData());
- /* 481 */ ItemMeta JumpL3Sm = JumpL3S.getItemMeta();
- /* 482 */ JumpL3Sm.setDisplayName("§e§lJump League 3");
- /* 483 */ ArrayList<String> JumpL3Sl = new ArrayList();
- /* 484 */ JumpL3Sl.add("");
- /* 485 */ JumpL3Sl.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague3"));
- /* 486 */ JumpL3Sl.add("§7Stav§8: §eStartuje");
- /* 487 */ JumpL3Sm.setLore(JumpL3Sl);
- /* 488 */ JumpL3S.setItemMeta(JumpL3Sm);
- /* */
- /* 490 */ ItemStack JumpL3I = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague3"), (short)DyeColor.RED.getData());
- /* 491 */ ItemMeta JumpL3Im = JumpL3I.getItemMeta();
- /* 492 */ JumpL3Im.setDisplayName("§e§lJump League 3");
- /* 493 */ ArrayList<String> JumpL3Il = new ArrayList();
- /* 494 */ JumpL3Il.add("");
- /* 495 */ JumpL3Il.add("§7Hraci§8: §e" + JumpLeagueSQL.getOnlinePlayer("JumpLeague3"));
- /* 496 */ JumpL3Il.add("§7Stav§8: §eVe Hre");
- /* 497 */ JumpL3Im.setLore(JumpL3Il);
- /* 498 */ JumpL3I.setItemMeta(JumpL3Im);
- /* */
- /* 500 */ ItemStack JumpL3R = new ItemStack(Material.WOOL, JumpLeagueSQL.getOnlinePlayer("JumpLeague3"), (short)DyeColor.BLACK.getData());
- /* 501 */ ItemMeta JumpL3Rm = JumpL3R.getItemMeta();
- /* 502 */ JumpL3Rm.setDisplayName("§e§lJump League 3");
- /* 503 */ ArrayList<String> JumpL3Rl = new ArrayList();
- /* 504 */ JumpL3Rl.add("");
- /* 505 */ JumpL3Rl.add("§7Stav§8: §cRestartuje se");
- /* 506 */ JumpL3Rm.setLore(JumpL3Rl);
- /* 507 */ JumpL3R.setItemMeta(JumpL3Rm);
- /* */
- /* */
- /* */
- /* */
- /* 512 */ if (JumpLeagueSQL.getStav("JumpLeague1").equals("stop")) {
- /* 513 */ JumpLeagueMenu.jumpLeague.setItem(12, JumpL1R);
- /* */ }
- /* 515 */ if (JumpLeagueSQL.getStav("JumpLeague1").equals("wait")) {
- /* 516 */ JumpLeagueMenu.jumpLeague.setItem(12, JumpL1W);
- /* */ }
- /* 518 */ if (JumpLeagueSQL.getStav("JumpLeague1").equals("start")) {
- /* 519 */ JumpLeagueMenu.jumpLeague.setItem(12, JumpL1S);
- /* */ }
- /* 521 */ if (JumpLeagueSQL.getStav("JumpLeague1").equals("ingame")) {
- /* 522 */ JumpLeagueMenu.jumpLeague.setItem(12, JumpL1I);
- /* */ }
- /* */
- /* 525 */ if (JumpLeagueSQL.getStav("JumpLeague2").equals("stop")) {
- /* 526 */ JumpLeagueMenu.jumpLeague.setItem(13, JumpL2R);
- /* */ }
- /* 528 */ if (JumpLeagueSQL.getStav("JumpLeague2").equals("wait")) {
- /* 529 */ JumpLeagueMenu.jumpLeague.setItem(13, JumpL2W);
- /* */ }
- /* 531 */ if (JumpLeagueSQL.getStav("JumpLeague2").equals("start")) {
- /* 532 */ JumpLeagueMenu.jumpLeague.setItem(13, JumpL2S);
- /* */ }
- /* 534 */ if (JumpLeagueSQL.getStav("JumpLeague2").equals("ingame")) {
- /* 535 */ JumpLeagueMenu.jumpLeague.setItem(13, JumpL2I);
- /* */ }
- /* */
- /* 538 */ if (JumpLeagueSQL.getStav("JumpLeague3").equals("stop")) {
- /* 539 */ JumpLeagueMenu.jumpLeague.setItem(14, JumpL3R);
- /* */ }
- /* 541 */ if (JumpLeagueSQL.getStav("JumpLeague3").equals("wait")) {
- /* 542 */ JumpLeagueMenu.jumpLeague.setItem(14, JumpL3W);
- /* */ }
- /* 544 */ if (JumpLeagueSQL.getStav("JumpLeague3").equals("start")) {
- /* 545 */ JumpLeagueMenu.jumpLeague.setItem(14, JumpL3S);
- /* */ }
- /* 547 */ if (JumpLeagueSQL.getStav("JumpLeague3").equals("ingame")) {
- /* 548 */ JumpLeagueMenu.jumpLeague.setItem(14, JumpL3I);
- /* */ }
- /* */ }
- /* 551 */ if (cmd.getName().equalsIgnoreCase("gameselectd")) {
- /* 552 */ player.openInventory(GameSelect.GameMenu);
- /* 553 */ int Anniint = OP.getPlayer("Anni1") + OP.getPlayer("Anni2") + OP.getPlayer("Anni3");
- /* 554 */ ItemStack Anni = new ItemStack(Material.ENDER_STONE);
- /* 555 */ ItemMeta Annim = Anni.getItemMeta();
- /* 556 */ Annim.setDisplayName("§e§lAnnihilation");
- /* 557 */ ArrayList<String> Annil = new ArrayList();
- /* 558 */ Annil.add("");
- /* 559 */ Annil.add("§a§lKLIKNI PRO VYBER");
- /* 560 */ Annil.add("");
- /* 561 */ Annil.add("§7Vymyslej ruzne taktiky,");
- /* 562 */ Annil.add("§7nic nexusy ostatnich tymu");
- /* 563 */ Annil.add("§7a zabijej nepratele!");
- /* 564 */ Annil.add("");
- /* 565 */ Annil.add("§7Prave hraje§8: §e" + Anniint);
- /* 566 */ Annim.setLore(Annil);
- /* 567 */ Anni.setItemMeta(Annim);
- /* */
- /* 569 */ int JumpLint = OP.getPlayer("JL1") + OP.getPlayer("JL2") + OP.getPlayer("JL3");
- /* 570 */ ItemStack JumpL = new ItemStack(Material.DIAMOND_BOOTS);
- /* 571 */ ItemMeta JumpLm = JumpL.getItemMeta();
- /* 572 */ JumpLm.setDisplayName("§e§lJump League");
- /* 573 */ ArrayList<String> JumpLl = new ArrayList();
- /* 574 */ JumpLl.add("");
- /* 575 */ JumpLl.add("§a§lKLIKNI PRO VYBER");
- /* 576 */ JumpLl.add("");
- /* 577 */ JumpLl.add("§7Doskakej vsechny moduly,");
- /* 578 */ JumpLl.add("§7vyber vsechny truhly");
- /* 579 */ JumpLl.add("§7a zabij vsechny v boji!");
- /* 580 */ JumpLl.add("");
- /* 581 */ JumpLl.add("§7Prave hraje§8: §e" + JumpLint);
- /* 582 */ JumpLm.setLore(JumpLl);
- /* 583 */ JumpL.setItemMeta(JumpLm);
- /* */
- /* */
- /* 586 */ int UHCint = OP.getPlayer("UHC1") + OP.getPlayer("UHC2");
- /* 587 */ ItemStack UHC = new ItemStack(Material.GOLDEN_APPLE);
- /* 588 */ ItemMeta UHCm = UHC.getItemMeta();
- /* 589 */ UHCm.setDisplayName("§e§lEpic§c§lUHC");
- /* 590 */ ArrayList<String> UHCl = new ArrayList();
- /* 591 */ UHCl.add("");
- /* 592 */ UHCl.add("§a§lKLIKNI PRO VYBER");
- /* 593 */ UHCl.add("");
- /* 594 */ UHCl.add("§7Nakopej si suroviny,");
- /* 595 */ UHCl.add("§7vytvor zbrane a zabijej ostatni!");
- /* 596 */ UHCl.add("§7To vse na nasem §e§lEpic§c§lUHC");
- /* 597 */ UHCl.add("");
- /* 598 */ UHCl.add("§7Prave hraje§8: §e" + UHCint);
- /* 599 */ UHCm.setLore(UHCl);
- /* 600 */ UHC.setItemMeta(UHCm);
- /* */
- /* */
- /* */
- /* 604 */ int PvPint = OP.getPlayer("PvP");
- /* 605 */ ItemStack PvP = new ItemStack(Material.STONE_SWORD);
- /* 606 */ ItemMeta PvPm = PvP.getItemMeta();
- /* 607 */ PvPm.setDisplayName("§e§lPvP");
- /* 608 */ ArrayList<String> PvPl = new ArrayList();
- /* 609 */ PvPl.add("");
- /* 610 */ PvPl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 611 */ PvPl.add("");
- /* 612 */ PvPl.add("§7Vyzvi hrace na duel");
- /* 613 */ PvPl.add("§7nebo si zabojuj v tymech!");
- /* 614 */ PvPl.add("§7Zabijenim si vydelavej Coiny");
- /* 615 */ PvPl.add("§7a kup si nejlepsi Rank!");
- /* 616 */ PvPl.add("");
- /* 617 */ PvPl.add("§7Prave hraje§8: §e" + PvPint);
- /* 618 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 619 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 620 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 621 */ PvPm.setLore(PvPl);
- /* 622 */ PvP.setItemMeta(PvPm);
- /* */
- /* 624 */ int Buildint = OP.getPlayer("Build");
- /* 625 */ ItemStack Build = new ItemStack(Material.WOOD_AXE);
- /* 626 */ ItemMeta Buildm = Build.getItemMeta();
- /* 627 */ Buildm.setDisplayName("§e§lBuild Server");
- /* 628 */ ArrayList<String> Buildl = new ArrayList();
- /* 629 */ Buildl.add("");
- /* 630 */ Buildl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 631 */ Buildl.add("");
- /* 632 */ Buildl.add("§7Server pro Buildery");
- /* 633 */ Buildl.add("");
- /* 634 */ Buildl.add("§7Prave stavi§8: §e" + Buildint);
- /* 635 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 636 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 637 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 638 */ Buildm.setLore(Buildl);
- /* 639 */ Build.setItemMeta(Buildm);
- /* */
- /* */
- /* */
- /* 643 */ GameSelect.GameMenu.setItem(10, Anni);
- /* 644 */ GameSelect.GameMenu.setItem(12, JumpL);
- /* 645 */ GameSelect.GameMenu.setItem(14, UHC);
- /* 646 */ GameSelect.GameMenu.setItem(16, PvP);
- /* */
- /* */
- /* */
- /* 650 */ ItemStack GlassGr = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.GREEN.getData());
- /* 651 */ ItemMeta GlassGrm = GlassGr.getItemMeta();
- /* 652 */ GlassGrm.setDisplayName("§a");
- /* 653 */ GlassGr.setItemMeta(GlassGrm);
- /* 654 */ ItemStack GlassGrayLL = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.LIME.getData());
- /* 655 */ ItemMeta GlassGrayLLm = GlassGrayLL.getItemMeta();
- /* 656 */ GlassGrayLLm.setDisplayName("§e");
- /* 657 */ GlassGrayLL.setItemMeta(GlassGrayLLm);
- /* 658 */ ItemStack GlassYe = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.YELLOW.getData());
- /* 659 */ ItemMeta GlassYem = GlassYe.getItemMeta();
- /* 660 */ GlassYem.setDisplayName("§d");
- /* 661 */ GlassYe.setItemMeta(GlassYem);
- /* 662 */ ItemStack GlassGray = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.GRAY.getData());
- /* 663 */ ItemMeta GlassGraym = GlassGray.getItemMeta();
- /* 664 */ GlassGraym.setDisplayName("§b");
- /* 665 */ GlassGray.setItemMeta(GlassGraym);
- /* 666 */ ItemStack GlassBl = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.BLACK.getData());
- /* 667 */ ItemMeta GlassBlm = GlassBl.getItemMeta();
- /* 668 */ GlassBlm.setDisplayName("§c");
- /* 669 */ GlassBl.setItemMeta(GlassBlm);
- /* */
- /* 671 */ GameSelect.GameMenu.setItem(0, GlassGr);
- /* 672 */ GameSelect.GameMenu.setItem(35, GlassGr);
- /* */
- /* 674 */ GameSelect.GameMenu.setItem(1, GlassGrayLL);
- /* 675 */ GameSelect.GameMenu.setItem(9, GlassGrayLL);
- /* 676 */ GameSelect.GameMenu.setItem(34, GlassGrayLL);
- /* 677 */ GameSelect.GameMenu.setItem(26, GlassGrayLL);
- /* */
- /* 679 */ GameSelect.GameMenu.setItem(2, GlassYe);
- /* 680 */ GameSelect.GameMenu.setItem(18, GlassYe);
- /* 681 */ GameSelect.GameMenu.setItem(17, GlassYe);
- /* 682 */ GameSelect.GameMenu.setItem(33, GlassYe);
- /* */
- /* 684 */ GameSelect.GameMenu.setItem(3, GlassGray);
- /* 685 */ GameSelect.GameMenu.setItem(8, GlassGray);
- /* 686 */ GameSelect.GameMenu.setItem(32, GlassGray);
- /* 687 */ GameSelect.GameMenu.setItem(27, GlassGray);
- /* */
- /* 689 */ GameSelect.GameMenu.setItem(28, GlassBl);
- /* 690 */ GameSelect.GameMenu.setItem(29, GlassBl);
- /* 691 */ GameSelect.GameMenu.setItem(30, GlassBl);
- /* 692 */ GameSelect.GameMenu.setItem(31, GlassBl);
- /* 693 */ GameSelect.GameMenu.setItem(4, GlassBl);
- /* 694 */ GameSelect.GameMenu.setItem(6, GlassBl);
- /* 695 */ GameSelect.GameMenu.setItem(5, GlassBl);
- /* 696 */ GameSelect.GameMenu.setItem(7, GlassBl);
- /* */ }
- /* 698 */ if (cmd.getName().equalsIgnoreCase("gameselectat")) {
- /* 699 */ player.openInventory(GameATSelect.GameMenuAT);
- /* 700 */ int Anniint = OP.getPlayer("Anni1") + OP.getPlayer("Anni2") + OP.getPlayer("Anni3");
- /* 701 */ ItemStack Anni = new ItemStack(Material.ENDER_STONE);
- /* 702 */ ItemMeta Annim = Anni.getItemMeta();
- /* 703 */ Annim.setDisplayName("§e§lAnnihilation");
- /* 704 */ ArrayList<String> Annil = new ArrayList();
- /* 705 */ Annil.add("");
- /* 706 */ Annil.add("§a§lKLIKNI PRO VYBER");
- /* 707 */ Annil.add("");
- /* 708 */ Annil.add("§7Vymyslej ruzne taktiky,");
- /* 709 */ Annil.add("§7nic nexusy ostatnich tymu");
- /* 710 */ Annil.add("§7a zabijej nepratele!");
- /* 711 */ Annil.add("");
- /* 712 */ Annil.add("§7Prave hraje§8: §e" + Anniint);
- /* 713 */ Annim.setLore(Annil);
- /* 714 */ Anni.setItemMeta(Annim);
- /* */
- /* 716 */ int JumpLint = OP.getPlayer("JL1") + OP.getPlayer("JL2") + OP.getPlayer("JL3");
- /* 717 */ ItemStack JumpL = new ItemStack(Material.DIAMOND_BOOTS);
- /* 718 */ ItemMeta JumpLm = JumpL.getItemMeta();
- /* 719 */ JumpLm.setDisplayName("§e§lJump League");
- /* 720 */ ArrayList<String> JumpLl = new ArrayList();
- /* 721 */ JumpLl.add("");
- /* 722 */ JumpLl.add("§a§lKLIKNI PRO VYBER");
- /* 723 */ JumpLl.add("");
- /* 724 */ JumpLl.add("§7Doskakej vsechny moduly,");
- /* 725 */ JumpLl.add("§7vyber vsechny truhly");
- /* 726 */ JumpLl.add("§7a zabij vsechny v boji!");
- /* 727 */ JumpLl.add("");
- /* 728 */ JumpLl.add("§7Prave hraje§8: §e" + JumpLint);
- /* 729 */ JumpLm.setLore(JumpLl);
- /* 730 */ JumpL.setItemMeta(JumpLm);
- /* */
- /* */
- /* 733 */ int UHCint = OP.getPlayer("UHC1") + OP.getPlayer("UHC2");
- /* 734 */ ItemStack UHC = new ItemStack(Material.GOLDEN_APPLE);
- /* 735 */ ItemMeta UHCm = UHC.getItemMeta();
- /* 736 */ UHCm.setDisplayName("§e§lEpic§c§lUHC");
- /* 737 */ ArrayList<String> UHCl = new ArrayList();
- /* 738 */ UHCl.add("");
- /* 739 */ UHCl.add("§a§lKLIKNI PRO VYBER");
- /* 740 */ UHCl.add("");
- /* 741 */ UHCl.add("§7Nakopej si suroviny,");
- /* 742 */ UHCl.add("§7vytvor zbrane a zabijej ostatni!");
- /* 743 */ UHCl.add("§7To vse na nasem §e§lEpic§c§lUHC");
- /* 744 */ UHCl.add("");
- /* 745 */ UHCl.add("§7Prave hraje§8: §e" + UHCint);
- /* 746 */ UHCm.setLore(UHCl);
- /* 747 */ UHC.setItemMeta(UHCm);
- /* */
- /* */
- /* */
- /* 751 */ int PvPint = OP.getPlayer("PvP");
- /* 752 */ ItemStack PvP = new ItemStack(Material.STONE_SWORD);
- /* 753 */ ItemMeta PvPm = PvP.getItemMeta();
- /* 754 */ PvPm.setDisplayName("§e§lPvP");
- /* 755 */ ArrayList<String> PvPl = new ArrayList();
- /* 756 */ PvPl.add("");
- /* 757 */ PvPl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 758 */ PvPl.add("");
- /* 759 */ PvPl.add("§7Vyzvi hrace na duel");
- /* 760 */ PvPl.add("§7nebo si zabojuj v tymech!");
- /* 761 */ PvPl.add("§7Zabijenim si vydelavej Coiny");
- /* 762 */ PvPl.add("§7a kup si nejlepsi Rank!");
- /* 763 */ PvPl.add("");
- /* 764 */ PvPl.add("§7Prave hraje§8: §e" + PvPint);
- /* 765 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 766 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 767 */ PvPm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 768 */ PvPm.setLore(PvPl);
- /* 769 */ PvP.setItemMeta(PvPm);
- /* */
- /* 771 */ int Buildint = OP.getPlayer("Build");
- /* 772 */ ItemStack Build = new ItemStack(Material.WOOD_AXE);
- /* 773 */ ItemMeta Buildm = Build.getItemMeta();
- /* 774 */ Buildm.setDisplayName("§e§lBuild Server");
- /* 775 */ ArrayList<String> Buildl = new ArrayList();
- /* 776 */ Buildl.add("");
- /* 777 */ Buildl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 778 */ Buildl.add("");
- /* 779 */ Buildl.add("§7Server pro Buildery");
- /* 780 */ Buildl.add("");
- /* 781 */ Buildl.add("§7Prave stavi§8: §e" + Buildint);
- /* 782 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 783 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 784 */ Buildm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 785 */ Buildm.setLore(Buildl);
- /* 786 */ Build.setItemMeta(Buildm);
- /* */
- /* */
- /* */
- /* 790 */ GameATSelect.GameMenuAT.setItem(10, Anni);
- /* 791 */ GameATSelect.GameMenuAT.setItem(12, JumpL);
- /* 792 */ GameATSelect.GameMenuAT.setItem(14, UHC);
- /* 793 */ GameATSelect.GameMenuAT.setItem(16, PvP);
- /* 794 */ GameATSelect.GameMenuAT.setItem(22, Build);
- /* */
- /* */
- /* 797 */ ItemStack GlassGr = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.GREEN.getData());
- /* 798 */ ItemMeta GlassGrm = GlassGr.getItemMeta();
- /* 799 */ GlassGrm.setDisplayName("§a");
- /* 800 */ GlassGr.setItemMeta(GlassGrm);
- /* 801 */ ItemStack GlassGrayLL = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.LIME.getData());
- /* 802 */ ItemMeta GlassGrayLLm = GlassGrayLL.getItemMeta();
- /* 803 */ GlassGrayLLm.setDisplayName("§e");
- /* 804 */ GlassGrayLL.setItemMeta(GlassGrayLLm);
- /* 805 */ ItemStack GlassYe = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.YELLOW.getData());
- /* 806 */ ItemMeta GlassYem = GlassYe.getItemMeta();
- /* 807 */ GlassYem.setDisplayName("§d");
- /* 808 */ GlassYe.setItemMeta(GlassYem);
- /* 809 */ ItemStack GlassGray = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.GRAY.getData());
- /* 810 */ ItemMeta GlassGraym = GlassGray.getItemMeta();
- /* 811 */ GlassGraym.setDisplayName("§b");
- /* 812 */ GlassGray.setItemMeta(GlassGraym);
- /* 813 */ ItemStack GlassBl = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)DyeColor.BLACK.getData());
- /* 814 */ ItemMeta GlassBlm = GlassBl.getItemMeta();
- /* 815 */ GlassBlm.setDisplayName("§c");
- /* 816 */ GlassBl.setItemMeta(GlassBlm);
- /* */
- /* 818 */ GameATSelect.GameMenuAT.setItem(0, GlassGr);
- /* 819 */ GameATSelect.GameMenuAT.setItem(35, GlassGr);
- /* */
- /* 821 */ GameATSelect.GameMenuAT.setItem(1, GlassGrayLL);
- /* 822 */ GameATSelect.GameMenuAT.setItem(9, GlassGrayLL);
- /* 823 */ GameATSelect.GameMenuAT.setItem(34, GlassGrayLL);
- /* 824 */ GameATSelect.GameMenuAT.setItem(26, GlassGrayLL);
- /* */
- /* 826 */ GameATSelect.GameMenuAT.setItem(2, GlassYe);
- /* 827 */ GameATSelect.GameMenuAT.setItem(18, GlassYe);
- /* 828 */ GameATSelect.GameMenuAT.setItem(17, GlassYe);
- /* 829 */ GameATSelect.GameMenuAT.setItem(33, GlassYe);
- /* */
- /* 831 */ GameATSelect.GameMenuAT.setItem(3, GlassGray);
- /* 832 */ GameATSelect.GameMenuAT.setItem(8, GlassGray);
- /* 833 */ GameATSelect.GameMenuAT.setItem(32, GlassGray);
- /* 834 */ GameATSelect.GameMenuAT.setItem(27, GlassGray);
- /* */
- /* 836 */ GameATSelect.GameMenuAT.setItem(28, GlassBl);
- /* 837 */ GameATSelect.GameMenuAT.setItem(29, GlassBl);
- /* 838 */ GameATSelect.GameMenuAT.setItem(30, GlassBl);
- /* 839 */ GameATSelect.GameMenuAT.setItem(31, GlassBl);
- /* 840 */ GameATSelect.GameMenuAT.setItem(4, GlassBl);
- /* 841 */ GameATSelect.GameMenuAT.setItem(6, GlassBl);
- /* 842 */ GameATSelect.GameMenuAT.setItem(5, GlassBl);
- /* 843 */ GameATSelect.GameMenuAT.setItem(7, GlassBl);
- /* */ }
- /* 845 */ if (cmd.getName().equalsIgnoreCase("anni1")) {
- /* 846 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 847 */ out.writeUTF("Connect");
- /* 848 */ out.writeUTF("Annihilation1");
- /* 849 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 851 */ if (cmd.getName().equalsIgnoreCase("anni2")) {
- /* 852 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 853 */ out.writeUTF("Connect");
- /* 854 */ out.writeUTF("Annihilation2");
- /* 855 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 857 */ if (cmd.getName().equalsIgnoreCase("anni3")) {
- /* 858 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 859 */ out.writeUTF("Connect");
- /* 860 */ out.writeUTF("Annihilation3");
- /* 861 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 863 */ if (cmd.getName().equalsIgnoreCase("pvp")) {
- /* 864 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 865 */ out.writeUTF("Connect");
- /* 866 */ out.writeUTF("PVP");
- /* 867 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 869 */ if (cmd.getName().equalsIgnoreCase("skywars")) {
- /* 870 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 871 */ out.writeUTF("Connect");
- /* 872 */ out.writeUTF("SW1");
- /* 873 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 875 */ if (cmd.getName().equalsIgnoreCase("buildserver")) {
- /* 876 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 877 */ out.writeUTF("Connect");
- /* 878 */ out.writeUTF("Build");
- /* 879 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 881 */ if (cmd.getName().equalsIgnoreCase("uhcmenu")) {
- /* 882 */ player.openInventory(UHCMenu.uhc);
- /* 883 */ ItemStack UHC1P = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.YELLOW.getData());
- /* 884 */ ItemMeta UHC1Pm = UHC1P.getItemMeta();
- /* 885 */ UHC1Pm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 886 */ ArrayList<String> UHC1Pl = new ArrayList();
- /* 887 */ UHC1Pl.add("");
- /* 888 */ UHC1Pl.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 889 */ UHC1Pl.add("§7Stav§8: §eGenerovani Mapy");
- /* 890 */ UHC1Pm.setLore(UHC1Pl);
- /* 891 */ UHC1P.setItemMeta(UHC1Pm);
- /* */
- /* */
- /* 894 */ ItemStack UHC1L = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.LIME.getData());
- /* 895 */ ItemMeta UHC1Lm = UHC1L.getItemMeta();
- /* 896 */ UHC1Lm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 897 */ ArrayList<String> UHC1Ll = new ArrayList();
- /* 898 */ UHC1Ll.add("");
- /* 899 */ UHC1Ll.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 900 */ UHC1Ll.add("§7Stav§8: §eCekani");
- /* 901 */ UHC1Lm.setLore(UHC1Ll);
- /* 902 */ UHC1L.setItemMeta(UHC1Lm);
- /* */
- /* 904 */ ItemStack UHC1T = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.RED.getData());
- /* 905 */ ItemMeta UHC1Tm = UHC1T.getItemMeta();
- /* 906 */ UHC1Tm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 907 */ ArrayList<String> UHC1Tl = new ArrayList();
- /* 908 */ UHC1Tl.add("");
- /* 909 */ UHC1Tl.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 910 */ UHC1Tl.add("§7Stav§8: §eTeleportovani");
- /* 911 */ UHC1Tm.setLore(UHC1Tl);
- /* 912 */ UHC1T.setItemMeta(UHC1Tm);
- /* */
- /* 914 */ ItemStack UHC1Pe = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.RED.getData());
- /* 915 */ ItemMeta UHC1Pem = UHC1Pe.getItemMeta();
- /* 916 */ UHC1Pem.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 917 */ ArrayList<String> UHC1Pel = new ArrayList();
- /* 918 */ UHC1Pel.add("");
- /* 919 */ UHC1Pel.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 920 */ UHC1Pel.add("§7Stav§8: §cZiskavani veci");
- /* 921 */ UHC1Pem.setLore(UHC1Pel);
- /* 922 */ UHC1Pe.setItemMeta(UHC1Pem);
- /* */
- /* 924 */ ItemStack UHC1Pv = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.RED.getData());
- /* 925 */ ItemMeta UHC1Pvm = UHC1Pv.getItemMeta();
- /* 926 */ UHC1Pvm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 927 */ ArrayList<String> UHC1Pvl = new ArrayList();
- /* 928 */ UHC1Pvl.add("");
- /* 929 */ UHC1Pvl.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 930 */ UHC1Pvl.add("§7Stav§8: §eBojovani");
- /* 931 */ UHC1Pvm.setLore(UHC1Pvl);
- /* 932 */ UHC1Pv.setItemMeta(UHC1Pvm);
- /* */
- /* 934 */ ItemStack UHC1D = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.RED.getData());
- /* 935 */ ItemMeta UHC1Dm = UHC1D.getItemMeta();
- /* 936 */ UHC1Dm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 937 */ ArrayList<String> UHC1Dl = new ArrayList();
- /* 938 */ UHC1Dl.add("");
- /* 939 */ UHC1Dl.add("§7Hraci§8: §e" + UHCSQL.getOnlinePlayer("uhc"));
- /* 940 */ UHC1Dl.add("§7Stav§8: §eDeath Match");
- /* 941 */ UHC1Dm.setLore(UHC1Dl);
- /* 942 */ UHC1D.setItemMeta(UHC1Dm);
- /* */
- /* 944 */ ItemStack UHC1R = new ItemStack(Material.WOOL, UHCSQL.getOnlinePlayer("uhc"), (short)DyeColor.BLACK.getData());
- /* 945 */ ItemMeta UHC1Rm = UHC1R.getItemMeta();
- /* 946 */ UHC1Rm.setDisplayName("§e§lEpic§c§lUHC§e§l 1");
- /* 947 */ ArrayList<String> UHC1Rl = new ArrayList();
- /* 948 */ UHC1Rl.add("");
- /* 949 */ UHC1Rl.add("§7Stav§8: §cRestartuje se");
- /* 950 */ UHC1Rm.setLore(UHC1Rl);
- /* 951 */ UHC1R.setItemMeta(UHC1Rm);
- /* */
- /* */
- /* 954 */ ItemStack UHC2OFF = new ItemStack(Material.WOOL, 1, (short)DyeColor.BLACK.getData());
- /* 955 */ ItemMeta UHC2OFFm = UHC2OFF.getItemMeta();
- /* 956 */ UHC2OFFm.setDisplayName("§e§lEpic§c§lUHC§e§l 2");
- /* 957 */ ArrayList<String> UHC2OFFl = new ArrayList();
- /* 958 */ UHC2OFFl.add("");
- /* 959 */ UHC2OFFl.add("§7Stav§8: §cPripravujeme");
- /* 960 */ UHC2OFFm.setLore(UHC2OFFl);
- /* 961 */ UHC2OFF.setItemMeta(UHC2OFFm);
- /* */
- /* */
- /* 964 */ if (UHCSQL.getStav("uhc").equals("preparing")) {
- /* 965 */ UHCMenu.uhc.setItem(12, UHC1P);
- /* */ }
- /* 967 */ if (UHCSQL.getStav("uhc").equals("lobby")) {
- /* 968 */ UHCMenu.uhc.setItem(12, UHC1L);
- /* */ }
- /* 970 */ if (UHCSQL.getStav("uhc").equals("teleporting")) {
- /* 971 */ UHCMenu.uhc.setItem(12, UHC1T);
- /* */ }
- /* 973 */ if (UHCSQL.getStav("uhc").equals("pve")) {
- /* 974 */ UHCMenu.uhc.setItem(12, UHC1Pe);
- /* */ }
- /* 976 */ if (UHCSQL.getStav("uhc").equals("pvp")) {
- /* 977 */ UHCMenu.uhc.setItem(12, UHC1Pv);
- /* */ }
- /* 979 */ if (UHCSQL.getStav("uhc").equals("dm")) {
- /* 980 */ UHCMenu.uhc.setItem(12, UHC1D);
- /* */ }
- /* 982 */ if (UHCSQL.getStav("uhc").equals("ending")) {
- /* 983 */ UHCMenu.uhc.setItem(12, UHC1R);
- /* */ }
- /* 985 */ UHCMenu.uhc.setItem(14, UHC2OFF);
- /* */ }
- /* */
- /* */
- /* 989 */ if (cmd.getName().equalsIgnoreCase("uhc1")) {
- /* 990 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 991 */ out.writeUTF("Connect");
- /* 992 */ out.writeUTF("UHC");
- /* 993 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 995 */ if (cmd.getName().equalsIgnoreCase("uhc2")) {
- /* 996 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 997 */ out.writeUTF("Connect");
- /* 998 */ out.writeUTF("uhc2");
- /* 999 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1001 */ if (cmd.getName().equalsIgnoreCase("lobby1")) {
- /* 1002 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 1003 */ out.writeUTF("Connect");
- /* 1004 */ out.writeUTF("Lobby1");
- /* 1005 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1007 */ if (cmd.getName().equalsIgnoreCase("lobby2")) {
- /* 1008 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 1009 */ out.writeUTF("Connect");
- /* 1010 */ out.writeUTF("Lobby2");
- /* 1011 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1013 */ if (cmd.getName().equalsIgnoreCase("jl1")) {
- /* 1014 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 1015 */ out.writeUTF("Connect");
- /* 1016 */ out.writeUTF("JL1");
- /* 1017 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1019 */ if (cmd.getName().equalsIgnoreCase("jl2")) {
- /* 1020 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 1021 */ out.writeUTF("Connect");
- /* 1022 */ out.writeUTF("JL2");
- /* 1023 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1025 */ if (cmd.getName().equalsIgnoreCase("vip")) {
- /* 1026 */ player.openInventory(VIP.VIP);
- /* */ }
- /* 1028 */ if (cmd.getName().equalsIgnoreCase("lobbymenu"))
- /* */ {
- /* 1030 */ player.openInventory(LobbySelector.LobbyMenu);
- /* 1031 */ int LobbyIint = OP.getPlayer("Lobby1");
- /* 1032 */ ItemStack LobbyI = new ItemStack(Material.WOOL, LobbyIint, (short)DyeColor.LIME.getData());
- /* 1033 */ ItemMeta LobbyIm = LobbyI.getItemMeta();
- /* 1034 */ LobbyIm.setDisplayName("§e§lLobby1");
- /* 1035 */ ArrayList<String> LobbyIl = new ArrayList();
- /* 1036 */ LobbyIl.add("");
- /* 1037 */ LobbyIl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 1038 */ LobbyIl.add("");
- /* 1039 */ LobbyIl.add("§7Hracu§8: §e" + LobbyIint);
- /* 1040 */ LobbyIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 1041 */ LobbyIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 1042 */ LobbyIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 1043 */ LobbyIm.setLore(LobbyIl);
- /* 1044 */ LobbyI.setItemMeta(LobbyIm);
- /* */
- /* */
- /* 1047 */ int LobbyINint = OP.getPlayer("Lobby1");
- /* 1048 */ ItemStack LobbyIN = new ItemStack(Material.WOOL, LobbyINint, (short)DyeColor.YELLOW.getData());
- /* 1049 */ ItemMeta LobbyINm = LobbyIN.getItemMeta();
- /* 1050 */ LobbyINm.setDisplayName("§e§lLobby1");
- /* 1051 */ ArrayList<String> LobbyINl = new ArrayList();
- /* 1052 */ LobbyINl.add("");
- /* 1053 */ LobbyINl.add("§e§lZDE SE PRAVE NACHAZIS");
- /* 1054 */ LobbyINl.add("");
- /* 1055 */ LobbyINl.add("§7Hracu§8: §e" + LobbyINint);
- /* 1056 */ LobbyINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 1057 */ LobbyINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 1058 */ LobbyINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 1059 */ LobbyINm.setLore(LobbyINl);
- /* 1060 */ LobbyIN.setItemMeta(LobbyINm);
- /* */
- /* */
- /* 1063 */ int LobbyIIint = OP.getPlayer("Lobby2");
- /* 1064 */ ItemStack LobbyII = new ItemStack(Material.WOOL, LobbyIIint, (short)DyeColor.LIME.getData());
- /* 1065 */ ItemMeta LobbyIIm = LobbyII.getItemMeta();
- /* 1066 */ LobbyIIm.setDisplayName("§e§lLobby2");
- /* 1067 */ ArrayList<String> LobbyIIl = new ArrayList();
- /* 1068 */ LobbyIIl.add("");
- /* 1069 */ LobbyIIl.add("§a§lKLIKNI PRO PRIPOJENI");
- /* 1070 */ LobbyIIl.add("");
- /* 1071 */ LobbyIIl.add("§7Hracu§8: §e" + LobbyIIint);
- /* 1072 */ LobbyIIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 1073 */ LobbyIIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 1074 */ LobbyIIm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 1075 */ LobbyIIm.setLore(LobbyIIl);
- /* 1076 */ LobbyII.setItemMeta(LobbyIIm);
- /* */
- /* */
- /* 1079 */ int LobbyIINint = OP.getPlayer("Lobby2");
- /* 1080 */ ItemStack LobbyIIN = new ItemStack(Material.WOOL, LobbyIINint, (short)DyeColor.YELLOW.getData());
- /* 1081 */ ItemMeta LobbyIINm = LobbyIIN.getItemMeta();
- /* 1082 */ LobbyIINm.setDisplayName("§e§lLobby2");
- /* 1083 */ ArrayList<String> LobbyIINl = new ArrayList();
- /* 1084 */ LobbyIINl.add("");
- /* 1085 */ LobbyIINl.add("§e§lZDE SE PRAVE NACHAZIS");
- /* 1086 */ LobbyIINl.add("");
- /* 1087 */ LobbyIINl.add("§7Hracu§8: §e" + LobbyIINint);
- /* 1088 */ LobbyIINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_ATTRIBUTES });
- /* 1089 */ LobbyIINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_DESTROYS });
- /* 1090 */ LobbyIINm.addItemFlags(new ItemFlag[] { ItemFlag.HIDE_UNBREAKABLE });
- /* 1091 */ LobbyIINm.setLore(LobbyIINl);
- /* 1092 */ LobbyIIN.setItemMeta(LobbyIINm);
- /* 1093 */ if (Bukkit.getServerName().contains("Lobby1")) {
- /* 1094 */ LobbySelector.LobbyMenu.setItem(12, LobbyIN);
- /* 1095 */ LobbySelector.LobbyMenu.setItem(14, LobbyII);
- /* */ }
- /* 1097 */ if (Bukkit.getServerName().contains("Lobby2")) {
- /* 1098 */ LobbySelector.LobbyMenu.setItem(14, LobbyIIN);
- /* 1099 */ LobbySelector.LobbyMenu.setItem(12, LobbyI);
- /* */ }
- /* */ }
- /* 1102 */ if (cmd.getName().equalsIgnoreCase("jl3")) {
- /* 1103 */ ByteArrayDataOutput out = ByteStreams.newDataOutput();
- /* 1104 */ out.writeUTF("Connect");
- /* 1105 */ out.writeUTF("JL3");
- /* 1106 */ player.sendPluginMessage(this, "BungeeCord", out.toByteArray());
- /* */ }
- /* 1108 */ if (cmd.getName().equalsIgnoreCase("annikits")) {
- /* 1109 */ player.openInventory(AnniShop.annikit(player));
- /* */ }
- /* */ }
- /* 1112 */ return false;
- /* */ }
- /* */
- /* */
- /* */
- /* */ public void onSecond()
- /* */ {
- /* 1119 */ this.timer.getTime();
- /* */
- /* */
- /* 1122 */ this.timer.getTime();
- /* */ }
- /* */ }
- /* Location: C:\Users\ditar\Desktop\FGLobby.jar!\me\MrBambusCZ\Lobby\Lobby.class
- * Java compiler version: 7 (51.0)
- * JD-Core Version: 0.7.1
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement