Welcome Gift

Discussion in 'Plugin Development' started by ibot3, Feb 12, 2014.

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

    ibot3

    How can i make a gift, wich will be send to the user if he joins the first time to the server?
     
  2. Code:
    If (player.hasJoinedBefore()){
    //give stuff
    }
     
  3. Offline

    alex123099

    It's hasPlayedBefore.
     
  4. oh, my bad :s (No IDE)
     
  5. Offline

    zack6849

    it would also need to be if(!player.hasPlayedBefore()){

    otherwise it would give them the gift every time they join
     
Thread Status:
Not open for further replies.

Share This Page