I can't figure out how to consistently set the MOTD. I've tried handling the QueryRegenerateEvent and using $event->setServerName(). I've tried using $this->getServer()->setConfigString("motd",$motd) after every PlayerJoinEvent and PlayerQuitEvent. No luck so far. I'm beginning to think this is an MCPE problem, not PocketMine and/or plugin.
Try this: you might have made a typo: Import: PHP: use pocketmine\event\server\QueryRegenerateEvent as QRE; //cba to write QueryRegenerateEvent again xD Main: PHP: function onQR(QRE $ev){ $ev->setServerName("LDXCraft");}
I think you need to set the MOTD on the network interface. Your best bet is to try doing: PHP: $this->getServer()->getNetwork()->setName($motd);
But, motd will awesome if we can see the players online on server too XD Like > EmCePei - Beta < [14/45] [14/45] is online players on server You can make it too?