Solved How to check if the player has never joined the server before?

Discussion in 'Plugin Development' started by MaxFireIce, Feb 4, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    MaxFireIce

    Hello bukkit! Im working on a world inventories plugin and in my PlayerJoin event I need to figure out if the player has never joined the server before aka: First time the player has joined the server. Thanks!
    (I'm sure there is an easy answer to this.)
     
  2. Offline

    Zombie_Striker

    MaxFireIce likes this.
  3. Offline

    Disgastings

    if(!event.getPlayer().hasPlayedBefore()) {
     
    MaxFireIce and Zombie_Striker like this.
  4. Offline

    MaxFireIce

Thread Status:
Not open for further replies.

Share This Page