It 'stands for' an empty array (in YAML and PHP). The correct terminology would have been what does [] mean (or represent).
How to get the Plugin on DEV builds? E.G. (My version): PocketMine-MP 1.6.2dev-266 「Unleashed」 implementing API version 3.0.0-ALPHA6 for Minecraft: PE v1.1.0.55 (protocol version 113) So...?
hi, I created 6 worlds on my server : world, nether, ender, faction, lobby,rp faction, lobby, rp were created with Worlds plugins nether, ender, were created by TeaSpoon plugins When i start my server, only 3 worlds are loading When i stop my server, these 3 worlds are unloading start server 2017-11-21 [10:27:10] �[Server thread/INFO]: Preparing level "world"� 2017-11-21 [10:27:10] �[Server thread/INFO]: Preparing level "nether"� 2017-11-21 [10:27:10] �[Server thread/INFO]: Preparing level "ender"� stop server 2017-11-21 [10:27:06] �[Server thread/INFO]: Unloading level "world"� 2017-11-21 [10:27:06] �[Server thread/INFO]: Unloading level "nether"� 2017-11-21 [10:27:06] �[Server thread/INFO]: Unloading level "ender"� On server properties level-name=world i tried this configuration but it does'nt work worlds: #These settings will override the generator set in server.properties and allows loading multiple levels #Example: #world: # seed: 404 # generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45) ender: [] faction: [] lobby: [] nether: [] rp: [] How to configure full loading word at start server ? thanks sorry for my bas english PocketMine-MP_1.7dev-427 Worlds_dev-13 TeaSpoon_dev-16
Id write a simple WLoader with MultiWorld... U can implement this in a other Plugin: PHP: public function Load($name){ if($this->getServer()->isLevelLoaded($name) === false){ $this->getServer()->dispatchCommand(new ConsoleCommandSender(), 'mw load '.$name); } } U can call this function so: PHP: public function ThingsAtLoginEvent(PlayerLoginEvent $e){$this->Load(”lvlname“);} But all Code have to be in the same class! Edit: Second code part has a bad layout cause I’m on phone
No no no no no no no Don't do this, the world API isn't hard to use and you're just asking for trouble depending on another plugin to load a world. If you want to have them loaded on startup, just put them in pocketmine.yml, if you want to load them using your plugin, just use pocketmine's API