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
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getMotd() : 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->logger->info("Loading server properties...");
|
||||||
$this->properties = new Config($this->dataPath . "server.properties", Config::PROPERTIES, [
|
$this->properties = new Config($this->dataPath . "server.properties", Config::PROPERTIES, [
|
||||||
"motd" => "Minecraft: PE Server",
|
"motd" => \pocketmine\NAME . " Server",
|
||||||
"server-port" => 19132,
|
"server-port" => 19132,
|
||||||
"white-list" => false,
|
"white-list" => false,
|
||||||
"announce-player-achievements" => true,
|
"announce-player-achievements" => true,
|
||||||
|
@ -32,7 +32,7 @@ use pocketmine\utils\Config;
|
|||||||
use pocketmine\utils\Utils;
|
use pocketmine\utils\Utils;
|
||||||
|
|
||||||
class SetupWizard{
|
class SetupWizard{
|
||||||
const DEFAULT_NAME = "Minecraft: PE Server";
|
const DEFAULT_NAME = \pocketmine\NAME . " Server";
|
||||||
const DEFAULT_PORT = 19132;
|
const DEFAULT_PORT = 19132;
|
||||||
const DEFAULT_MEMORY = 256;
|
const DEFAULT_MEMORY = 256;
|
||||||
const DEFAULT_PLAYERS = 20;
|
const DEFAULT_PLAYERS = 20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user