Back to NxLabs

NxLabs / Vintage Story

World Pregenerator

CBy Chilimunyaka

A server‑side mod that pre‑generates the world in small sectors using a square spiral from the cente

Description

A server‑side mod that pre‑generates the world in small sectors using a square spiral from the center outward. You can start, pause, resume, and stop generation at any time. Progress is saved automatically, so even after a server crash or restart you can pick up where you left off.

Key features:

  • Spiral‑shaped generation of configurable radius (in absolute chunk coordinates).

  • Adjustable sector size and per‑tick chunk limit to control server load.

  • Pause / resume support – useful for long pre‑generation runs.

  • Session persistence: queue state survives server restarts.

  • Commands with controlserver privilege: /pregen start|pause|resume|stop|status.

The mod was originally created for my own server needs. I’m sharing it in case someone else needs pre‑generation over a very large radius or the ability to pause the process.

 

 

 

v1.0.1
  • Added&nbsp;<span class="_inlineMarkdown_1agcz_69 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">StopWhenPlayersOnline</span> config option to pause pregeneration while players are online.
  • Fixed save progress serialization error that caused command/tick exceptions in server logs.
  • Moved pregeneration queue progress out of savegame data.
  • Queue progress is now stored in&nbsp;<span class="_inlineMarkdown_1agcz_69 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">ModData/worldpregenerator/&lt;savegame-id&gt;.json</span>.
  • Progress file is removed on <span class="_inlineMarkdown_1agcz_69 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">/pregen stop</span>&nbsp;or after pregeneration completes.

&nbsp;

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.