title: How to detect if a player has played before
body: <p>I have a plugin that sends a message to a player when he joins:</p>
  
  <pre><code> @EventHandler
   public void onPlayerJoin(PlayerJoinEvent p){
       Player a = p.getPlayer();
  
       a.sendMessage(ChatColor.BLUE + "Welcome message");
  }
  </code></pre>
  
  <p>What I want is to send to the player two possible messages when he joins:</p>
  
  <ul>
  <li><p>One if it's the first time the player joined the server, like "Welcome to the server"</p></li>
  <li><p>The other is if the player have already joined the server before. How can that be done?</p></li>
  </ul>
  
  <p>How can I check if the player has already played, so I can customize this behaviour?</p>