/**
  * Toggles stealth login/logoff mode
  *
  * @param player
  */
 public void stealth(Player player) {
   String playerName = player.getName();
   // Check permissions to use the command
   if (AdminPermissions.has(player, Perms.STEALTH)) {
     // If the player is already stealthed, disable and send them a message
     if (AdminHandler.isStealthed(playerName)) {
       AdminHandler.setStealthed(playerName, false);
       AdminHandler.fakeLog(playerName, true);
       player.sendMessage(
           ChatColor.RED
               + "Stealth-Mode "
               + ChatColor.WHITE
               + "is now "
               + ChatColor.RED
               + "disabled.");
     } else {
       // Check if this player is in the admin map - add if necessary
       if (!AdminHandler.contains(playerName)) AdminHandler.add(playerName);
       // Now enable stealth mode and send the messages
       AdminHandler.setStealthed(playerName, true);
       AdminHandler.fakeLog(playerName, false);
       player.sendMessage(
           ChatColor.GREEN
               + "Stealth-Mode "
               + ChatColor.WHITE
               + "is now "
               + ChatColor.GREEN
               + "enabled.");
     }
     AdminHandler.savePlayer(playerName);
   } else {
     // If they don't have permissions let them know
     AdminPermissions.noPermsMessage(player);
   }
 }