Visual changes again...

This commit is contained in:
kotyara 2022-05-09 13:56:20 +00:00 • committed by GitHub
parent 10ae0fed78
commit 2b6b2939f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -45,7 +45,7 @@ class PluginAPI extends stdClass{
$output = $output === "Plugins (0): " ? "No plugins installed.\n" : substr($output, 0, -2)."\n";
break;
case "version":
$output = "This server is running PocketMine-MP version " . MAJOR_VERSION . "\nCODENAME: 「 " . CODENAME . " 」\n(Implementing API version #" . CURRENT_API_VERSION . " for Minecraft: PE " . CURRENT_MINECRAFT_VERSION . ")";
$output = "This server is running NostalgiaCore version " . MAJOR_VERSION . "\nCODENAME: 「 " . CODENAME . " 」\n(Implementing API version #" . CURRENT_API_VERSION . " for Minecraft: PE " . CURRENT_MINECRAFT_VERSION . ")";
if(GIT_COMMIT !== str_repeat("00", 20)){
$output .= " (git ".GIT_COMMIT.")";
}

View file

@ -42,7 +42,7 @@ if(version_compare("5.4.0", PHP_VERSION) > 0){
}
if(php_sapi_name() !== "cli"){
console("[ERROR] You must run PocketMine-MP using the CLI.", true, true, 0);
console("[ERROR] You must run NostalgiaCore using the CLI.", true, true, 0);
++$errors;
}

View file

@ -30,7 +30,7 @@
private $lang, $config;
public function __construct(){
echo "[*] PocketMine-MP set-up wizard\n";
echo "[*] NostalgiaCore set-up wizard\n";
echo "[*] Please select a language:\n";
foreach(InstallerLang::$languages as $short => $native){
echo " $native => $short\n";

View file

@ -39,7 +39,7 @@
testCase("Utils::readDouble", abs(Utils::readDouble("\x41\x02\x03\x04\x05\x06\x07\x08") - 147552.5024529) < 0.0001, true);
testCase("Utils::readTriad", Utils::readLong("\x41\x02\x03\x04\x05\x06\x07\x08"), "4684309878217770760");
//PocketMine-MP server startup
//NostalgiaCore server startup
global $server;
$server = new ServerAPI();
$server->load();

View file

@ -33,7 +33,7 @@ function UPnP_PortForward($port){
if($com === false or !is_object($com->StaticPortMappingCollection)){
return false;
}
$com->StaticPortMappingCollection->Add($port, "UDP", $port, $myLocalIP, true, "PocketMine-MP");
$com->StaticPortMappingCollection->Add($port, "UDP", $port, $myLocalIP, true, "NostalgiaCore");
}catch(Exception $e){
return false;
}