World Pre Generator Mod — Configuration
Commands
The mod is primarily controlled through the /pregen command. All commands require level 4 operator permissions (OP).
Core Generation Commands
| Command | Description |
|---|---|
/pregen gen <dimension> start <type> <x> <z> <radius> [force] |
Starts a new pre-generation task. |
/pregen gen <dimension> pause |
Pauses the active task in the specified dimension. |
/pregen gen <dimension> resume |
Resumes a paused task in the specified dimension. |
/pregen gen <dimension> cancel |
Stops and deletes the task for the specified dimension. |
/pregen clear |
Cancels all currently queued and active pre-generation tasks. |
/pregen list |
Displays a list of all active and pending generation tasks. |
Parameter Details
<dimension>: The registry name of the world (e.g.,minecraft:overworld,minecraft:the_nether).<type>: Useblockto define the radius in blocks, orchunkto define it in chunks (1 chunk = 16x16 blocks).<x> <z>: The center coordinates of the generation area.<radius>: The distance from the center to the edge of the generation zone.[force]: (Optional) If set totrue, the mod will re-generate chunks that already exist. Defaults tofalse(skips existing chunks).
Utility Commands
| Command | Description |
|---|---|
/pregen sendFeedback |
Checks if progression feedback is currently enabled. |
/pregen sendFeedback <boolean> |
Enables (true) or disables (false) progress messages in chat. |
Configuration
The configuration file is located at world/serverconfig/world_pre_generator-server.toml. This file is unique to each world save.
Config Options
| Option | Type | Default | Description |
|---|---|---|---|
send_feedback |
Boolean | true |
Whether to broadcast generation progress to all online players. |
generation.type |
Enum | SERIAL |
The method of generation. Options: SERIAL, SEMI_PARALLEL. |
semi_parallel_task_count |
Integer | 4 |
Number of tasks to run in parallel when using SEMI_PARALLEL mode. |
Important Note: If using
SEMI_PARALLELmode, it is highly recommended to setmax-tick-time=-1in yourserver.propertiesfile. This prevents the server from watchdog-crashing if a single tick takes too long due to heavy generation.