Examples of eliminatePlayer()


Examples of org.mctourney.autoreferee.AutoRefMatch.eliminatePlayer()

    AutoRefMatch match = plugin.getMatch(event.getRespawnLocation().getWorld());
    if (match != null && match.getRespawnMode() == RespawnMode.BEDS_ONLY)
      if (player.getBedSpawnLocation() == null)
      {
        match.eliminatePlayer(player);
        event.setRespawnLocation(match.getSpectatorSpawn());
      }
  }

  private class CraftCountTask extends BukkitRunnable
View Full Code Here

Examples of org.mctourney.autoreferee.AutoRefMatch.eliminatePlayer()

            if (victim.getBedSpawnLocation() != null) break respawn;

          case DISALLOW:
          case ALLOW:
            if (match.getCurrentState().inProgress() && !vapl.hasLives())
              match.eliminatePlayer(event.getEntity());
            break;

          // typically, no action should be taken
          default: break;
        }
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.