/**
   * Player entry operations to do when player logs in
   *
   * @param player
   */
  public void playerLogin(Player player) {
    // set online

    PlayerEntry data = getPlayerEntry(player);
    data.setOnline(true);
  }
 /**
  * Set player as offline
  *
  * @param player
  */
 public void playerLogoff(Player player) {
   PlayerEntry data = getPlayerEntry(player);
   data.setOnline(false);
   data.setOutsideLocation(null);
 }
Example #3
0
 /**
  * Set player as online
  *
  * @param player
  */
 public void playerLogin(Player player) {
   PlayerEntry data = getPlayerEntry(player.getName());
   data.setOnline(true);
 }