mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Update PocketMinecraftServer.php
This commit is contained in:
parent
9ee61ed3ad
commit
82d75730c9
1 changed files with 6 additions and 8 deletions
|
|
@ -33,7 +33,7 @@ class PocketMinecraftServer{
|
|||
global $dolog;
|
||||
$this->version = new VersionString();
|
||||
/*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);
|
||||
define("BOOTUP_RANDOM", Utils::getRandomBytes(16));
|
||||
|
|
@ -72,14 +72,12 @@ class PocketMinecraftServer{
|
|||
$this->asyncThread = new AsyncMultipleQueue();
|
||||
}
|
||||
console("[INFO] Loading extra.properties...");
|
||||
$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-console-data" => true
|
||||
));
|
||||
$this->extraprops = new Config(DATA_PATH . "extra.properties", CONFIG_PROPERTIES, array(
|
||||
"save-player-data" => true,
|
||||
"save-console-data" => true
|
||||
));
|
||||
|
||||
$dolog = $this->extraprops->get("save-console-data");
|
||||
$dolog = $this->extraprops->get("save-console-data");
|
||||
}
|
||||
|
||||
function __construct($name, $gamemode = SURVIVAL, $seed = false, $port = 19132, $serverip = "0.0.0.0"){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue