pocketmine\updater\AutoUpdater::showConsoleUpdate PHP Метод

showConsoleUpdate() публичный Метод

public showConsoleUpdate ( )
    public function showConsoleUpdate()
    {
        $logger = $this->server->getLogger();
        $newBuild = $this->updateInfo["build"];
        $currentBuild = $this->server->getPocketMineBuild();
        $logger->warning("----- ClearSky Auto Updater -----");
        $logger->warning("Your version of " . $this->getChannel() . " Build #{$currentBuild} is out of date. Build #{$newBuild} was released.");
        if ($this->updateInfo["details_url"] !== null) {
            $logger->warning("Details: " . $this->updateInfo["details_url"]);
        }
        $logger->warning("Download: " . $this->updateInfo["download_url"]);
        $logger->warning("Fingerprint: " . $this->updateInfo["fingerprint"]);
        #$logger->warning("You can run /dist-upgrade to update ClearSky");
        $logger->warning("----- -------------------------- -----");
    }