Cuberite Forum
Question about multi-worlds - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Question about multi-worlds (/thread-2219.html)

Pages: 1 2


Question about multi-worlds - LogicParrot - 11-22-2015

How does one create multiple worlds, and is there a command to travel between those worlds? Is this documented somewhere?


RE: Question about multi-worlds - NiLSPACE - 11-22-2015

You add a world the same way you add a plugin. You add "World=<WorldName>" in the settings.ini in the world's section. Then you can use /portal to change worlds. You can also link world's for portal's in the world's world.ini. I think we had it documented, but the old wiki is offline now.


RE: Question about multi-worlds - LogicParrot - 11-22-2015

Thanks Smile
I'm documenting stuff at the manual, and this was missing. I will add it soon.


RE: Question about multi-worlds - LogicParrot - 11-22-2015

How do I setup portals that lead from one world to another? This isn't documented too.


RE: Question about multi-worlds - NiLSPACE - 11-22-2015

There is a "Linked<Something>" section in each world.ini. In there you can put the name of the world you want a portal to go to in.


RE: Question about multi-worlds - LogicParrot - 11-22-2015

(11-22-2015, 05:57 AM)NiLSPACE Wrote: There is a "Linked<Something>" section in each world.ini. In there you can put the name of the world you want a portal to go to in.

But how would I assign different worlds for different portals?
e.g. having a central world with 10 portals, each leading to a different world.


RE: Question about multi-worlds - NiLSPACE - 11-22-2015

You'll have to create a plugin to do that. You can only tell what type of portal (nether, end) should go to what world.


RE: Question about multi-worlds - DrMasik - 11-22-2015

I made this plugin. The server goin down (crush) on change world. Look for my posts some months ago.


RE: Question about multi-worlds - Schwertspize - 11-22-2015

you could try with bungee buttons or write an own plugin


RE: Question about multi-worlds - DrMasik - 11-22-2015

(11-22-2015, 07:09 AM)Schwertspize Wrote: you could try with bungee buttons or write an own plugin

I'm wrote my own plugin.
Player connect to default world and have 3 buttons. The buttons controlled by plugin. When player press some of them (HOOK_PLAYER_RIGHT_CLICK), plugin use cPlayer:MoveToWorld (http://apidocs.cuberite.org/cPlayer.html) to move player.
Server crushed.