Examples of EpicGatesPlayer


Examples of com.epicsagaonline.bukkit.EpicGates.objects.EpicGatesPlayer

    return result.trim();
  }

  public static void addPlayer(String name)
  {
    myPlayers.put(name, new EpicGatesPlayer());
  }
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicGates.objects.EpicGatesPlayer

  public @Override void onPlayerMove(PlayerMoveEvent event)
  {

    Player player = event.getPlayer();
    EpicGatesPlayer egp = General.myPlayers.get(player.getName());
    if (egp != null)
    {
      if (egp.shouldCheck())
      {
        egp.Check();
        EpicGate gate = GetGateForPlayerLocation(event.getTo());
        if (gate != null)
        {
          if (gate.isAllowed(player))
          {
            Warp(event, gate, egp);
            egp.Teleported();
          }
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.