function onTerminate() { if (Storage::getInstance()->serverStatus->code > Status::LAUNCHING) { $this->connection->sendHideManialinkPage(); } }