#(cilpsthepu) World on demand problem

25 messages · Page 1 of 1 (latest)

viral niche
#

Hello,
I am making a minigame where 'temporary' worlds are needed. So you use the world for max 4 hours (average probably around 30 minutes) to play the minigame and then get sent back to the lobby. Ideally I would create for each game, a new world so for example minigame_world_<game id> and minigame_world_nether_<game id>. But when creating a world on demand, I get a huge lag spike which would be a problem for other players that are playing on the same server but in another minigame world.

Is there a better way to create worlds on demand? Or should I make like a lot of worlds on server prestart and hope they don't run out?
And giving each game their own server isn't really a option as well, that would make everything a lot more complex and it would be inefficient.

I hope I made things clear but feel free to ask if I missed something.

sweet needleBOT
#

(cilpsthepu) World on demand problem

sweet needleBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

rapid river
#

have u tried ~waitable? first thing that came to my mind

viral niche
#

Unfortunately only the copy_from command is waitable.

#

And I do want random seeds, it gets boring if there are only a few seeds...

rapid river
#

yea thats weird tbh

modern lagoon
#

i would use slime worlds then

rapid river
#

have u thought about making it the same world always, but setting the border center randomly?

viral niche
# modern lagoon i would use slime worlds then

I looked into it and it seems like a really good solution that is perfect for my problem... But I didn't find a way to use Slime worlds without having to use a fork of Paper. And their fork doesn't really look stable. It seems like it is not really actively maintained as the latest commit is from over a month ago (and their 1.21.5 release is experimental). There is a plugin that has a class modifier so you can still use Paper but that is over 3 years old. It is just a overwhelming mess of forks of forks etc. But do let me know if you found a good Slime world plugin or if the fork of Paper is fine and stable.

viral niche
modern lagoon
#

I use ASP, its maintained pretty well, 1.21.5 is experimental due to paper not updating dataconverter to 1.21.5 yet

modern lagoon
#

yea

viral niche
#

Well it works but how do you interact with it using Denizen? Do you just use the commands with execute as_server?

urban stratusBOT
modern lagoon
#

it doesnt come with commands just API, ive made myself a plugin to interacts with it

viral niche
warm currentBOT
#
Resolved

Thread closed as resolved.

viral niche
#

After some testing, I found out that Slime worlds can't generate from a (random) seed. It can only copy/template a world and optimize it for storage. Unfortunately I didn't found a plugin for in memory worlds or anything. I found 0 solutions to create a world faster than vanilla. So maybe I will just use Scta's solution of setting the spawn of the world randomly, although this does allow players to meet each other and would make the whole script a lot more complex.

warm currentBOT
#
Thread Reopened

Thread was manually reopened by @viral niche.

viral niche
#

Eventually I solved the problem by creating a separate server. And if a server needs a world it can run a task script with DepenizenBungee. Then it will create the world (with the regular createworld command) in a shared directory with the server that needed the world (with the Linux command mount).

warm currentBOT
#
Thread Reopened

Thread was manually reopened by @viral niche.