@Override public void onBypassFeedback(Player player, String command) { if (!canBypassCheck(player, this)) { return; } if (command.equalsIgnoreCase("request_coralg")) { ReflectionUtils.simpleEnterInstancedZone(player, CrystalCaverns.class, 10); } else { super.onBypassFeedback(player, command); } }
@Override protected void onLoad() { _managerId = 36616; _className = "TVTArena5"; _status = 0; _team1list = new CopyOnWriteArrayList<Long>(); _team2list = new CopyOnWriteArrayList<Long>(); _team1live = new CopyOnWriteArrayList<Long>(); _team2live = new CopyOnWriteArrayList<Long>(); _zoneListener = new ZoneListener(); _zone = ReflectionUtils.getZone("[UnderGroundPvPKuram]"); _zone.addListener(_zoneListener); _team1points = new ArrayList<Location>(); _team2points = new ArrayList<Location>(); _team1points.add(new Location(-80216, -54072, -11529)); _team1points.add(new Location(-80072, -54168, -11529)); _team1points.add(new Location(-79880, -54200, -11529)); _team1points.add(new Location(-79704, -54120, -11529)); _team1points.add(new Location(-79608, -53976, -11529)); _team1points.add(new Location(-79800, -50296, -11529)); _team1points.add(new Location(-79960, -50184, -11529)); _team1points.add(new Location(-80168, -50168, -11529)); _team1points.add(new Location(-80344, -50248, -11529)); _team2points.add(new Location(-78104, -52792, -11529)); _team2points.add(new Location(-77928, -52712, -11529)); _team2points.add(new Location(-77816, -52568, -11529)); _team2points.add(new Location(-77800, -52376, -11529)); _team2points.add(new Location(-77864, -52200, -11529)); _team2points.add(new Location(-81240, -51000, -11529)); _team2points.add(new Location(-81384, -51064, -11529)); _team2points.add(new Location(-81480, -51192, -11529)); _team2points.add(new Location(-81496, -51352, -11529)); }
@Override protected void onLoad() { _managerId = 36612; _className = "TVTArena1"; _status = 0; _team1list = new CopyOnWriteArrayList<Long>(); _team2list = new CopyOnWriteArrayList<Long>(); _team1live = new CopyOnWriteArrayList<Long>(); _team2live = new CopyOnWriteArrayList<Long>(); _zoneListener = new ZoneListener(); _zone = ReflectionUtils.getZone("[UnderGroundPvPKandins]"); _zone.addListener(_zoneListener); _team1points = new ArrayList<Location>(); _team2points = new ArrayList<Location>(); _team1points.add(new Location(-82488, -51704, -11529)); _team1points.add(new Location(-82264, -51400, -11529)); _team1points.add(new Location(-82408, -51032, -11529)); _team1points.add(new Location(-82824, -51016, -11529)); _team1points.add(new Location(-82856, -51672, -11529)); _team1points.add(new Location(-86120, -52408, -11529)); _team1points.add(new Location(-85912, -52136, -11529)); _team1points.add(new Location(-85976, -52744, -11529)); _team1points.add(new Location(-85608, -52776, -11529)); _team2points.add(new Location(-83432, -50712, -11529)); _team2points.add(new Location(-83400, -50408, -11529)); _team2points.add(new Location(-83656, -50232, -11529)); _team2points.add(new Location(-83928, -50360, -11529)); _team2points.add(new Location(-84232, -53912, -11529)); _team2points.add(new Location(-83944, -54104, -11529)); _team2points.add(new Location(-83608, -53976, -11529)); _team2points.add(new Location(-83576, -53624, -11529)); _team2points.add(new Location(-84200, -53560, -11529)); }
private void init() { _zoneListener = new ZoneListener(); Zone zone = ReflectionUtils.getZone(ZONE_NAME); if (zone != null) zone.addListener(_zoneListener); }