Update PocketMinecraftServer.php

This commit is contained in:
kotyara 2022-03-08 15:16:10 +05:00 • committed by GitHub
parent 9ee61ed3ad
commit 82d75730c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ class PocketMinecraftServer{
global $dolog; global $dolog;
$this->version = new VersionString(); $this->version = new VersionString();
/*if(defined("DEBUG") and DEBUG >= 0){ /*if(defined("DEBUG") and DEBUG >= 0){
@cli_set_process_title("PocketMine-MP ".MAJOR_VERSION); @cli_set_process_title("NostalgiaCore ".MAJOR_VERSION);
}*/ }*/
console("[INFO] Starting Minecraft PE server on ".($this->serverip === "0.0.0.0" ? "*":$this->serverip).":".$this->port); console("[INFO] Starting Minecraft PE server on ".($this->serverip === "0.0.0.0" ? "*":$this->serverip).":".$this->port);
define("BOOTUP_RANDOM", Utils::getRandomBytes(16)); define("BOOTUP_RANDOM", Utils::getRandomBytes(16));
@ -73,8 +73,6 @@ class PocketMinecraftServer{
} }
console("[INFO] Loading extra.properties..."); console("[INFO] Loading extra.properties...");
$this->extraprops = new Config(DATA_PATH . "extra.properties", CONFIG_PROPERTIES, array( $this->extraprops = new Config(DATA_PATH . "extra.properties", CONFIG_PROPERTIES, array(
"update-client-on-world-switch" => true,
"update-frequency" => 8,
"save-player-data" => true, "save-player-data" => true,
"save-console-data" => true "save-console-data" => true
)); ));