Oulana Posted January 17, 2025 Report Posted January 17, 2025 Hello, I"m pretty new to vintage story but looking at the settings it looks like there is a finite world size. Is there a method or tool to make the server pregenerate all it's chunks so it doesn't have to mak them while people travel and just load them up? I've used third party scripts and programs that did that with minecraft and 7dtd servers we've hosted to help lesson loads. Thank you.
Solution Teh Pizza Lady Posted January 17, 2025 Solution Report Posted January 17, 2025 First let me welcome you to the forums @Oulana! I hope you enjoy your stay here! Secondly, I believe there is a command you can run. From the wiki on this topic, you can run /wgen pregen [radius] to pregenerate chunks around the player. Take care as this can cause a massive lag spike if your server hardware is weak enough that you need to pregenerate the chunks to make the game playable. This process will also take some time, which is a valuable commodity in VS as I'm sure you'll see, so I wouldn't go this route unless you're having issues with the server lagging as people go exploring. Wiki link: https://wiki.vintagestory.at/List_of_server_commands/wgen
Oulana Posted January 17, 2025 Author Report Posted January 17, 2025 (edited) thank you for the answer and the warning, our server is pretty alright I think. We just like to run these sorta things before we actually play in the background while we work to prevent any potential issues that can cause lagging for us. So if I wanted to generate the entire map I could tell it to pregen 31250 chunk radius and it'll have a seizure and generate the entire map over the next week or so? Edited January 17, 2025 by Oulana
Teh Pizza Lady Posted January 18, 2025 Report Posted January 18, 2025 (edited) Yes, but the warning is more for the week or so of time you'll miss out on... which can be pretty important as you'll see when you play the game. Time is very valuable in Vintage Story. Edited January 18, 2025 by traugdor
Thorfinn Posted January 18, 2025 Report Posted January 18, 2025 You could run it on a second machine, so long as you only had it crunching when someone was playing. Otherwise, like @traugdor says, time will keep flowing, so when you resume playing, your food will have rotted, wolves and bears will have thinned out the animals around you. etc. Now that you mention it that might be a pretty good idea, as long as you teleport to wherever you want new chunks generated and reissue the pregen, rather than just an ever-expanding radius where no one will go.
Oulana Posted January 18, 2025 Author Report Posted January 18, 2025 (edited) In this case we wouldn't be playing yet. most of us work a rotating shift schedule. So we'll all be working for a week then have a week off. Would just be turning the server on, logging in with an admin account on creative and just letting it plod away while no one is actually able to play. Then just probably using time commands to reset it back to starting date or something when we actually go to play. Edited January 18, 2025 by Oulana
NastyFlytrap Posted January 18, 2025 Report Posted January 18, 2025 4 hours ago, Oulana said: In this case we wouldn't be playing yet. most of us work a rotating shift schedule. So we'll all be working for a week then have a week off. Would just be turning the server on, logging in with an admin account on creative and just letting it plod away while no one is actually able to play. Then just probably using time commands to reset it back to starting date or something when we actually go to play. Im not sure if you can turn time back. I tried to take time away with the time add command after a suggestion here on the forums but it didnt work. I just assumed it was possible back then and not anymore
Scythe88 Posted January 19, 2025 Report Posted January 19, 2025 Wouldn't /time stop and /time resume be the way to go in this situation? Just stop the time while you're generating the chunks and then resume the time when you're happy with how much of the map you've generated. 1
NastyFlytrap Posted January 19, 2025 Report Posted January 19, 2025 10 minutes ago, Scythe88 said: Wouldn't /time stop and /time resume be the way to go in this situation? Just stop the time while you're generating the chunks and then resume the time when you're happy with how much of the map you've generated. Unless chunk generation is bound to time literally passing, which would be nonsensical, this is probably the way to go. Also, i hope 88 is your birth year.... 2 1
Thorfinn Posted January 19, 2025 Report Posted January 19, 2025 (edited) Welcome to the forums, @Scythe88, and good call on /time stop. I was going to suggest skipping forward to the next May, but yours is a much more elegant solution. The only downside of it is that I'm pretty sure predators will still kill off any animals around spawn. Edited January 19, 2025 by Thorfinn
Recommended Posts