s/online-mode/xbox-auth/

lots of servers are currently running in insecure mode without realizing because of old Genisys shit configs?!
This commit is contained in:
Dylan K. Taylor 2017-09-30 12:19:24 +01:00
parent 27798c69ee
commit f6e30d4225
2 changed files with 3 additions and 3 deletions

View File

@ -1488,7 +1488,7 @@ class Server{
"rcon.password" => substr(base64_encode(random_bytes(20)), 3, 10),
"auto-save" => true,
"view-distance" => 8,
"online-mode" => true
"xbox-auth" => true
]);
$this->forceLanguage = $this->getProperty("settings.force-language", false);
@ -1561,7 +1561,7 @@ class Server{
$this->maxPlayers = $this->getConfigInt("max-players", 20);
$this->setAutoSave($this->getConfigBoolean("auto-save", true));
$this->onlineMode = $this->getConfigBoolean("online-mode", true);
$this->onlineMode = $this->getConfigBoolean("xbox-auth", true);
if($this->onlineMode){
$this->logger->notice($this->getLanguage()->translateString("pocketmine.server.auth", ["enabled", "will"]));
$this->logger->notice($this->getLanguage()->translateString("pocketmine.server.authProperty", ["disable", "false"]));

@ -1 +1 @@
Subproject commit 011124b5636fd850007c6415e86d8c297b9284ee
Subproject commit 21a589bebf984ce16f6c18289ddf1ef94b1ba885