so ive been looking around for a way to make a world completely empty and i found this $this->getServer()->generateLevel($FFA1, null, "pocketmine\level\generator\Flat", ["preset" => "3;;1"]); idk what to do with it really or where to apply it if anyone could help me with this code or any other way to do this would be much appreciated.
https://github.com/pmmp/PocketMine-MP/blob/stable/src/pocketmine/Server.php#L989 PHP: $this->getServer()->generateLevel([name], [seed], [type of generator], [options]); example: PHP: $this->getServer()->generateLevel("flat", 0, pocketmine\level\generator\Flat);// actually don't need options
My fault, I assumed you're asking for help in plugin development. Plugin by @aliuly is outdated: https://github.com/Muirfield/EmptyWorld unless someone have updated it, I do not know. Also why you accept this approach as solution when you're clearly generating "FLAT" world instead of "completely empty" as you've asked. I think one of his other creations: https://github.com/Muirfield/ManyWorlds he had option to generate a "void" world, that seems to match your request. I can't test anything. I posted links to original repository, not to confuse you, but to pay respect for him. Here is what you're looking for: https://github.com/CzechPMDevs/MultiWorld Read the front page, and you'll find it there.