PHP: <?phpnamespace ArmTheDev\customuitest;#pocketmineuse pocketmine\plugin\PluginBase;use pocketmine\utils\TextFormat;use pocketmine\scheduler\PluginTask;use pocketmine\Server;use pocketmine\Player;use pocketmine\event\Listener;use pocketmine\network\mcpe\protocol\PacketPool;#xenialdanuse xenialdan\customui\API as UIAPI;use xenialdan\customui\elements\Button;use xenialdan\customui\network\ModalFormRequestPacket;use xenialdan\customui\network\ModalFormResponsePacket;use xenialdan\customui\network\ServerSettingsRequestPacket;use xenialdan\customui\network\ServerSettingsResponsePacket;use xenialdan\customui\windows\SimpleForm;class Loader extends PluginBase{ public static $uis; public function onEnable(){ $this->getServer()->getScheduler()->scheduleRepeatingTask(new TTask($this), 4); PacketPool::registerPacket(new ModalFormRequestPacket()); PacketPool::registerPacket(new ModalFormResponsePacket()); PacketPool::registerPacket(new ServerSettingsRequestPacket()); PacketPool::registerPacket(new ServerSettingsResponsePacket()); $this->reloadUIs(); } public function reloadUIs(){ UIAPI::resetUIs($this); $ui = new SimpleForm('Serveur List'); $playersOnline = count($this->getServer()->getOnlinePlayers()); $maxOnline = $this->getServer()->getMaxPlayers(); $button = new Button($playersOnline . '/' . $maxOnline); // $playersOnline . "/" . $maxOnline // Return to the line <-------How to // "Server-1" $ui->addButton($button); self::$uis['simpleUI'] = UIAPI::addUI($this, $ui); }}class TTask extends PluginTask{ public function onRun(int $currentTick){ $this->getOwner()->reloadUIs(); }} I can use PHP_EOL but I used it very little (\n explode and implode )