mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
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:
parent
27798c69ee
commit
f6e30d4225
@ -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
|
Loading…
x
Reference in New Issue
Block a user