code: public function resetAccount ($key)
      {
          $this->loadData ();
  
          // Check key
          if (strtotime ($this->data['tmp_key_end']) > time () && $this->data['tmp_key'] == $key)
          {
              return $this->doResetAccount ();
          }
  
          return false;
      }
docs: /*
  This function resets the player acocunt.
  
  This includes:
  - Disable all villages this player owns