can someone create a plugin where you type /lobby and it teleport to a server which you can edit in the config.
use pocketmine\server; use pocketmine\player; use pocketmine\command\Command; use pocketmine\command\CommandSender; use pocketmine\event\Listener; use pocketmine\plugin\PluginBase; use pocketmine\math\Vector3; use pocketmine\level\Position; class Main extends PluginBase implements listener { public function onEnable(){ $this->getlogger()->info("plugin Enabled"); $this->getServer()->getPluginManager()->registerEvents($this, $this); } public function onDisable(){ $this->getlogger()->info("plugin Disabled"); } public function onCommand(CommandSender $sender, Command $cmd, string $label, array $args) : bool { if($cmd->getName() == "spawn"){ if($sender instanceof Player){ $this->getServer()->loadlevel("your worldname"); $level = $this->getServer()->getLevelByName("your worldname"); $sender->teleport(new Position(448, 76, 297, $level)); $sender->setHealth(20); $sender->setFood(20); } return true; } } } try this