title: Only run command as one player? Minecraft plugin develment
body: <p>I'm making a command for my custom plugin, for a server. Basically what I need is the coding for making a command runnable by one or more players only.</p>
  
  <p>For example what if I wanted a command /idk, but only the player SOS could use it. If anyone else used it, another command would happen, and it would send a messages "Your not SOS"!</p>
  
  <p>Let's say it killed someone who tried to use the command, than sent them a message saying "Your not SOS"</p>
  
  <p>Thanks! </p>
  
  <p>This is my start below!</p>
  
  <pre><code>  {
          if (args.length != 1)
          {
              return false;
          }
  
          final Player player = getPlayer(args[0]);
  
          if (player == null)
          {
              sender.sendMessage("This player can't be found!");
              return true;
          }
  
  //Commands and other things down here
  </code></pre>