^^ Im using the plugin Manyworlds and also in conjunction with that simplewarp and its brother simpleportals. I have to load all of my worlds manually except for my lobby is there any way I can load all of my worlds on server startup. Or can I at least have them load up when a player warps to them and then unload when there are no longer any players on said world.
This functionality is built into Pocketmine. In your pocketmine.yml file, at the very bottom, you can add the worlds you want to load.
my second and the option i like better would probably be possible if i made a world loading plugin that was dependent on simple warp and simple portals . too bad i is there a way to configure what the second thing i said was
Attached with how to allow it to make a FLAT world using server.properties Code: level-type: FLAT Available types: DEFAULT
Thank you very helpful. I know it gives an example in the pocketmine yml but for some reason i couldn't get it to work tell now, must've been something wrong
okay for some reason or another I'm still not loading multiple worlds on startup heres my pocketmine.yml Code: aliases: #Examples: showtheversion: version savestop: [save-all, stop] worlds: Creative: [] Server-lobby: [] #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) and my properties Code: #Properties Config file #Mon Feb 20 13:53:15 EST 2017 motd=§b§L§o§nAETHER_NETWORK§f server-name=AETHER_NETWORK server-port=19132 gamemode=2 max-players=100 spawn-protection=130 white-list=off enable-query=on enable-rcon=on rcon.password=KNmHXkU+vG announce-player-achievements=on allow-flight=off spawn-animals=on spawn-mobs=on force-gamemode=on hardcore=off pvp=on difficulty=1 generator-settings= level-name=Server-Lobby level-seed= level-type=DEFAULT auto-save=on
Just copy the f****** example and remove the #s, nothing else, not the spaces either! And then insert your world name, type, etc.
here is a copy of the tail end of my pocketmine.yml... See how I load my worlds. aliases: #Examples: #showtheversion: version #savestop: [save-all, stop] 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) AngelTazon: [] Spawn: [] ClanWorld: [] LoneWolfWorld: [] PlotWorld: [] VIP: [] nether: []
just means nothing what I do know, is that it doesn't effect anything negatively. and that if you follow that format, you'll get the results you seek.
yea i got it working now the annoying thing was i did it right the first time before i even making this thread but i put the code above the worlds: and it didnt work i was so close lol
Ayeee, no worries man. you wouldn't believe the mistakes I made when I was just starting out... I'm still learning. I worked my way up to understanding how to string edit plugins, and strip code and move it around... but I don't fully know what I'm doing, so I often come here to ask for help with things I don't know yet. It's a great place. Glad you figured it out now m'dude ! Hope things are smooth for you now.
Oh, also... a great way to load/unload worlds in game (if they aren't loading, or if players get stuck on loading terrain) /mw unload (worldname) /mw load (worldname) I'm about to set this up on some taptodo signs for my mods to control world reloading when players have issues. I'd do the commands separately on different signs, so the mods can allow 2-3 seconds between the commands. But tap-to-do & the /as command is amazing for giving players an ability to run commands that are banned from certain worlds. To allow this, I give the permission to the player, but ban the command in all the worlds... so they cant use it, but the console can use it for them. it works, it's tricky but works