mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Change default MOTD
"Minecraft: PE Server" is no longer accurate, "Minecraft: Bedrock Edition Server" is too wordy, and "Minecraft: BE Server" just sounds weird. and I'm not calling it simply a "Minecraft Server"
This commit is contained in:
parent
10f597cd64
commit
85ec7d9732
@ -590,7 +590,7 @@ class Server{
|
||||
* @return string
|
||||
*/
|
||||
public function getMotd() : string{
|
||||
return $this->getConfigString("motd", "Minecraft: PE Server");
|
||||
return $this->getConfigString("motd", \pocketmine\NAME . " Server");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1483,7 +1483,7 @@ class Server{
|
||||
|
||||
$this->logger->info("Loading server properties...");
|
||||
$this->properties = new Config($this->dataPath . "server.properties", Config::PROPERTIES, [
|
||||
"motd" => "Minecraft: PE Server",
|
||||
"motd" => \pocketmine\NAME . " Server",
|
||||
"server-port" => 19132,
|
||||
"white-list" => false,
|
||||
"announce-player-achievements" => true,
|
||||
|
@ -32,7 +32,7 @@ use pocketmine\utils\Config;
|
||||
use pocketmine\utils\Utils;
|
||||
|
||||
class SetupWizard{
|
||||
const DEFAULT_NAME = "Minecraft: PE Server";
|
||||
const DEFAULT_NAME = \pocketmine\NAME . " Server";
|
||||
const DEFAULT_PORT = 19132;
|
||||
const DEFAULT_MEMORY = 256;
|
||||
const DEFAULT_PLAYERS = 20;
|
||||
|
Loading…
x
Reference in New Issue
Block a user