Examples of EpicZonePlayer


Examples of com.bukkit.epicsaga.EpicZones.EpicZonePlayer

   
  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
View Full Code Here

Examples of com.bukkit.epicsaga.EpicZones.EpicZonePlayer

  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
View Full Code Here

Examples of com.bukkit.epicsaga.EpicZones.EpicZonePlayer

  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
View Full Code Here

Examples of com.bukkit.epicsaga.EpicZones.EpicZonePlayer

  {

    if(EpicZones.permissions.has(event.getPlayer(), "epiczones.admin"))
    {

      EpicZonePlayer ezp = General.getPlayer(event.getPlayer().getEntityId());
      int playerID = ezp.getEntityID();

      if(data.length > 1)
      {
        if(data[1].equalsIgnoreCase("create")){Create(data, event, ezp, playerID);}
        else if(data[1].equalsIgnoreCase("save")){Save(data, event, ezp, playerID);}
View Full Code Here

Examples of com.bukkit.jblaske.EpicZones.EpicZonePlayer

  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicZones.EpicZonePlayer

  public boolean onCommand(String command, CommandSender sender, String[] args) {

    if((sender instanceof Player && EpicZones.permissions.hasPermission((Player)sender, "epiczones.admin")))
    {
      Player player = (Player)sender;
      EpicZonePlayer ezp = General.getPlayer(player.getEntityId());
      int playerID = ezp.getEntityID();

      if(args.length > 0)
      {
        if(args[0].equalsIgnoreCase("create")){Create(args, sender, player, ezp, playerID);}
        else if(args[0].equalsIgnoreCase("save")){Save(args, sender, ezp, playerID);}
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicZones.EpicZonePlayer

    plugin = instance;
   
    if(EpicZones.permissions.has(event.getPlayer(), "epiczones.admin"))
    {

      EpicZonePlayer ezp = General.getPlayer(event.getPlayer().getEntityId());
      int playerID = ezp.getEntityID();

      if(data.length > 1)
      {
        if(data[1].equalsIgnoreCase("create")){Create(data, event, ezp, playerID);}
        else if(data[1].equalsIgnoreCase("save")){Save(data, event, ezp, playerID);}
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicZones.EpicZonePlayer

  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicZones.EpicZonePlayer

  {

    if(General.config.enableRadius)
    {

      EpicZonePlayer ezp = General.getPlayer(player.getName());
      double xsquared = point.x * point.x;
      double ysquared = point.y * point.y;
      double distanceFromCenter = Math.sqrt(xsquared + ysquared);

      ezp.setDistanceFromCenter((int)distanceFromCenter);

      if(distanceFromCenter <= General.config.mapRadius)
      {
        if(ezp.getPastBorder())
        {
          WarnPlayer(player, ezp, "You are inside the map radius border.");
          ezp.setPastBorder(false);
        }
        return true;
      }
      else
      {
        if(EpicZones.permissions.has(player, "epiczones.ignoremapradius"))
        {
          if(!ezp.getPastBorder())
          {
            WarnPlayer(player, ezp, "You are outside the map radius border.");
            ezp.setPastBorder(true);
          }
          return true;
        }
        else
        {
View Full Code Here

Examples of com.epicsagaonline.bukkit.EpicZones.EpicZonePlayer

  }

  public static void addPlayer(int entityID, String name)
  {
    myPlayers.add(new EpicZonePlayer(entityID, name));
  }
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.