[SOLVED] Pseudo Worlds?
#4
I'm not sure if I understand what you want to do exactly, but I think this might help: It is possible to create multiple worlds that share the world data (the .MCA files), although it is highly advisable that only one such world writes the data, the others should only read. This is exactly what the world storage schema Forgetful does - it loads data from the disk, but doesn't save. This way you can have a world which is read-write and only admins are allowed there, and another world(s) that is read-only and reads the data from the first world. In order to set this up, you need to be able to do hardlinks in your filesystem, though, to point the second world's "region" folder to the first world's "region" folder.
Still, the set of worlds is static. There is an experimental function CreateAndInitializeWorld(), but its use is dangerous as it quite often causes a deadlock in the server. And there's no way to delete a world while the server is running - the API just doesn't support that model, it is expected that a cWorld object that you get is valid for the lifetime of the server.
Reply
Thanks given by:


Messages In This Thread
[SOLVED] Pseudo Worlds? - by NathanFlurry - 05-07-2015, 10:12 AM
RE: Pseudo Worlds? - by worktycho - 05-07-2015, 10:30 AM
RE: Pseudo Worlds? - by NathanFlurry - 05-07-2015, 11:03 AM
RE: Pseudo Worlds? - by xoft - 05-07-2015, 05:25 PM
RE: Pseudo Worlds? - by worktycho - 05-07-2015, 07:12 PM
RE: Pseudo Worlds? - by xoft - 05-07-2015, 08:30 PM
RE: Pseudo Worlds? - by worktycho - 05-07-2015, 08:31 PM
RE: Pseudo Worlds? - by NiLSPACE - 05-07-2015, 08:36 PM
RE: Pseudo Worlds? - by xoft - 05-07-2015, 08:42 PM
RE: Pseudo Worlds? - by NathanFlurry - 05-08-2015, 12:12 AM
RE: Pseudo Worlds? - by xoft - 05-08-2015, 12:35 AM
RE: Pseudo Worlds? - by NathanFlurry - 05-08-2015, 12:11 PM
RE: [SOLVED] Pseudo Worlds? - by xoft - 05-08-2015, 06:16 PM



Users browsing this thread: 2 Guest(s)