public function deauthenticatePlayer(Player $player)
 {
     $this->needAuth[strtolower($player->getName())] = true;
     if (isset($this->tmpDb[strtolower($player->getName())])) {
         if ($this->tmpDb[strtolower($player->getName())]["isCheckAuthReady"]) {
             $this->plugin->needReAuthMessage($player);
             if ($this->tmpDb[strtolower($player->getName())]["lockDomain"] != null) {
                 $msg = str_replace("%domain%", $this->tmpDb[strtolower($player->getName())]["lockDomain"], $this->plugin->get("you-can-use-email-domain"));
                 $this->plugin->message($player, $msg);
                 $this->plugin->message($player, $this->plugin->get("you-need-a-register"));
             }
             return;
         }
         if ($this->tmpDb[strtolower($player->getName())]["isRegistered"]) {
             $this->plugin->loginMessage($player);
         } else {
             $this->plugin->registerMessage($player);
             if ($this->tmpDb[strtolower($player->getName())]["lockDomain"] != null) {
                 $msg = str_replace("%domain%", $this->tmpDb[strtolower($player->getName())]["lockDomain"], $this->plugin->get("you-can-use-email-domain"));
                 $this->plugin->message($player, $msg);
                 $this->plugin->message($player, $this->plugin->get("you-need-a-register"));
             }
         }
     }
 }