public function onManagerStop(Server $server): void
    {
        $this->fire(ServerEvent::MANAGER_STOPPED, $server);
        $this->log("The manager process stopped. (PID {$server->manager_pid})");

        ServerUtil::removePidFile($this->pidFile);
    }