Package com.epicsagaonline.bukkit.EpicGates.objects

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


  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

Related Classes of com.epicsagaonline.bukkit.EpicGates.objects.EpicGatesPlayer

Copyright © 2018 www.massapicom. 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.