WorldPreGenerator
Pré-gera zonas do mundo pelo menu ESC ou console, mostra progresso e grade verde/amarela no mapa sem revelar o terreno inexplorado.
Screenshots 2 screenshots
About this mod Author’s original text
World Pre-Generator
Pre-generate Valheim world zones before exploring them. The mod uses the game's
ghost-zone path and works in controlled batches, so the world can be prepared while
the host follows progress.
Benefits
- Reduces pauses and processing spikes caused by generation during exploration.
- Leaves terrain, locations, and structures ready before players arrive.
- Keeps map exploration and exploration-related achievements tied to manual play.
- Saves progress at configurable intervals, allowing an interrupted generation to
continue later.
- Provides independent checking, time estimates, and safe cancellation.
- Binds the routine to the active world name and cancels automatically when returning
to the menu.
- Allows only one generation at a time; checking can follow an active generation.
- Displays which zones have been generated on the M map without revealing hidden
terrain.
- Restricts the map grid and management controls to the host or an authorized admin.
- Works in local worlds, multiplayer hosts, and dedicated servers. In a dedicated
connection the modal sends actions to the server, which keeps the counters and
generates the dedicated save.
Screenshots
Modal for configuring, checking, generating, and cancelling pre-generation.
*The grid shows zone state without revealing hidden terrain: green means generated and
yellow means still missing.*
package layout
The ZIP uploaded keeps README.md, manifest.json, and icon.png
at its root. The screenshots are also included in images/ for local previews and
offline distribution. The README uses absolute HTTPS image URLs because
does not resolve relative links to files inside a package page:
README.md
manifest.json
icon.png
images/worldpregen-modal.png
images/worldpregen-map-grid.png
Do not move the screenshots into BepInEx/plugins. If you replace the hosted images,
keep direct HTTPS URLs that return PNG files and update the two Markdown links above.
Installation
- Install BepInExPack Valheim.
- Extract the contents of this ZIP into the Valheim folder.
- Confirm that the file is at BepInEx/plugins/WorldPreGenerator/WorldPreGenerator.dll.
- Start the game through your mod manager.
BepInEx Configuration Manager is optional. When installed, it exposes the mod options
inside the game.
How to use in game
- Enter the world as a local player, host, or administrator.
- Open the pause menu with ESC and select Pre-generate world.
- Check Complete world, or clear it and enter a radius in metres.
- Click Check zones to update the generated and missing zone totals.
- Click Generate missing zones to start the cascade.
- The progress bar, counters, and estimated time update every 5 seconds.
- Use Close to hide the modal while generation continues. Use Cancel to stop
generation and save the progress already completed.
The host can check zones while a generation is active. Checking never starts a second
generation.
When leaving the world, the routine is cancelled before the scene changes and saved
progress is preserved. When entering another world, the modal state and counters start
clean; use Check zones to read that save's state.
Map grid
Enable Map grid in the modal and open the map with M:
- green: zone already generated;
- yellow: zone still missing;
- transparency is reduced under fog to preserve the unexplored map;
- the grid shows generation state only and does not mark the map as explored;
- only the host or an authorized administrator can enable and view the grid;
- on a dedicated server, colors come from a compact snapshot of the server's
authoritative save state; generated zones appear green even if the client has not
loaded them locally;
- points-of-interest icons stay hidden until the area is explored manually when
HideUnexploredLocationIcons is enabled.
Dedicated server
Install the plugin in the dedicated server's BepInEx/plugins folder as well. The
server version must show Loading [World Pre-Generator
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: