@MCCommand( cmds = {"hidespawns"}, admin = true, selection = true, usage = "hidespawns") public boolean arenaHideSpawns(Player sender) { Arena arena = aac.getArena(sender); ArenaDebugger ad = ArenaDebugger.getDebugger(arena); ad.hideSpawns(sender); ArenaDebugger.removeDebugger(ad); return sendMessage(sender, ChatColor.YELLOW + "You are hiding spawns for &6" + arena.getName()); }
@MCCommand( cmds = {"showspawns"}, admin = true, selection = true, usage = "showspawns") public boolean arenaShowSpawns(Player sender) { Arena arena = aac.getArena(sender); ArenaDebugger ad = ArenaDebugger.getDebugger(arena); ad.hideSpawns(sender); ad.showSpawns(sender); return sendMessage(sender, ChatColor.GREEN + "You are showing spawns for &6" + arena.getName()); }