Hello,
In this guide, we'll explore what Chunk-Pregenerator is and why it can be useful for your server. Chunk-Pregenerator is a mod that allows you to pre-generate your map. Pre-generating the map helps reduce lag during exploration, as map generation is one of the most resource-intensive tasks for a server. Generating the map before playing is an excellent way to avoid lag of this sort.
You can find the official mod page at this link: Chunk-Pregenerator on CurseForge.
This mod is available from Minecraft version 1.7 to 1.18. Here is a link to a tutorial that explains how to install a mod on your server: How to Install Mods on Your Server.
But how do you pre-generate your map? With this mod, there are two different configurations. The commands differ depending on the version of the mod you are using. Please select the version that applies to you below.
Version 1.13 and Above:
For a list of commands, click here.
You will require the following command:
/pregen start gen radius GenExample SQUARE 0 0 100
Let's break down the command for a better understanding. It is structured as follows:
/pregen start gen radius GenerationName GenerationShape PositionX PositionY SizeInChunks
For the generation name, you can choose any name you like.
There are two shapes available: Square or Circle.
PositionX and PositionY indicate the center position of the generation.
For the size, specify the number of chunks or add a "b" after the number to measure in blocks instead of chunks.
You can also use the WorldBorder to start your generation. Generating using a world border can be easier and prevents players from entering areas not yet generated.
Commands related to the WorldBorder are available here.
In summary, the WorldBorder sets the maximum distance players can travel. It is a square on your map, with an impassable wall at the border.
Begin by setting your WorldBorder:
/worldborder center <positions> allows you to set the center somewhere on the map. Only the X and Z coordinates are relevant.
Then, determine the size with the command:
/worldborder set <distance> The distance is in blocks. Please note, it refers to the diameter, not the radius.
Once the WorldBorder is set, use the command /pregen start gen worldborder to start generation inside the designated area.
Additional Commands:
/pregen pause allows you to pause the generation.
/pregen resume lets you continue the paused generation.
/pregen stop stops the current generation.
/pregen info listen enables you to monitor chunk updates.
/pregen info unlisten stops monitoring chunk updates.
VERSION 1.4.3 to 1.12.2:
Commands list available here.
Only one command is necessary:
/pregen gen startradius square 0 0 100
This command generates an area of 100 chunks in the dimension where the command is entered with the player at the center. If entered via console, the default world (overworld) is used. If you add a "b" before the 100, it changes the generated distance from chunks to blocks. By entering /pregen gen startradius square 0 0 b1000, an area of 1000 blocks is generated.
You can also use the WorldBorder to initiate your generation. Using a worldborder is simpler and prevents players from entering areas that haven't been generated.
Commands related to WorldBorder are available here.
In summary, the WorldBorder marks the maximum distance players can travel. It forms a square on your map with an impassable wall as its boundary.
Begin by setting your WorldBorder:
/worldborder center <position> specifies the center, only X and Z are needed. Next, set the size with the command: /worldborder set <distance>.
The distance is in blocks. Note that this is the diameter, not the radius.
Once you've set the WorldBorder, use the command /pregen gen startWorldBorder to begin generating everything inside the boundary.
Additional commands include:
/pregen stop stops generation.
/pregen continue continues stopped generation.
/pregen clear stops the current generation and removes the task.
/pregen info listen listens for chunk updates.
/pregen info unlisten stops listening to chunk updates.
A small note on pre-generation size:
For a typical survival game, a radius of 3000 blocks should suffice (or 185 chunks). Be cautious, however, as increasing from 3000 to 4000 isn't just "1000 more"; it scales from an area of 9 million blocks to 16 million, nearly doubling in size! Launch generations at night or early morning when no one is playing to prevent lag and overheating the processor. Run them when the server is player-free!
For everything else, feel free to visit the official mod page. If you encounter any issues, you can reach our support on Discord.
Have a wonderful day!
In this guide, we'll explore what Chunk-Pregenerator is and why it can be useful for your server. Chunk-Pregenerator is a mod that allows you to pre-generate your map. Pre-generating the map helps reduce lag during exploration, as map generation is one of the most resource-intensive tasks for a server. Generating the map before playing is an excellent way to avoid lag of this sort.
You can find the official mod page at this link: Chunk-Pregenerator on CurseForge.
This mod is available from Minecraft version 1.7 to 1.18. Here is a link to a tutorial that explains how to install a mod on your server: How to Install Mods on Your Server.
But how do you pre-generate your map? With this mod, there are two different configurations. The commands differ depending on the version of the mod you are using. Please select the version that applies to you below.
Version 1.13 and Above:
For a list of commands, click here.
You will require the following command:
/pregen start gen radius GenExample SQUARE 0 0 100
Let's break down the command for a better understanding. It is structured as follows:
/pregen start gen radius GenerationName GenerationShape PositionX PositionY SizeInChunks
For the generation name, you can choose any name you like.
There are two shapes available: Square or Circle.
PositionX and PositionY indicate the center position of the generation.
For the size, specify the number of chunks or add a "b" after the number to measure in blocks instead of chunks.
You can also use the WorldBorder to start your generation. Generating using a world border can be easier and prevents players from entering areas not yet generated.
Commands related to the WorldBorder are available here.
In summary, the WorldBorder sets the maximum distance players can travel. It is a square on your map, with an impassable wall at the border.
Begin by setting your WorldBorder:
/worldborder center <positions> allows you to set the center somewhere on the map. Only the X and Z coordinates are relevant.
Then, determine the size with the command:
/worldborder set <distance> The distance is in blocks. Please note, it refers to the diameter, not the radius.
Once the WorldBorder is set, use the command /pregen start gen worldborder to start generation inside the designated area.
Additional Commands:
/pregen pause allows you to pause the generation.
/pregen resume lets you continue the paused generation.
/pregen stop stops the current generation.
/pregen info listen enables you to monitor chunk updates.
/pregen info unlisten stops monitoring chunk updates.
VERSION 1.4.3 to 1.12.2:
Commands list available here.
Only one command is necessary:
/pregen gen startradius square 0 0 100
This command generates an area of 100 chunks in the dimension where the command is entered with the player at the center. If entered via console, the default world (overworld) is used. If you add a "b" before the 100, it changes the generated distance from chunks to blocks. By entering /pregen gen startradius square 0 0 b1000, an area of 1000 blocks is generated.
You can also use the WorldBorder to initiate your generation. Using a worldborder is simpler and prevents players from entering areas that haven't been generated.
Commands related to WorldBorder are available here.
In summary, the WorldBorder marks the maximum distance players can travel. It forms a square on your map with an impassable wall as its boundary.
Begin by setting your WorldBorder:
/worldborder center <position> specifies the center, only X and Z are needed. Next, set the size with the command: /worldborder set <distance>.
The distance is in blocks. Note that this is the diameter, not the radius.
Once you've set the WorldBorder, use the command /pregen gen startWorldBorder to begin generating everything inside the boundary.
Additional commands include:
/pregen stop stops generation.
/pregen continue continues stopped generation.
/pregen clear stops the current generation and removes the task.
/pregen info listen listens for chunk updates.
/pregen info unlisten stops listening to chunk updates.
A small note on pre-generation size:
For a typical survival game, a radius of 3000 blocks should suffice (or 185 chunks). Be cautious, however, as increasing from 3000 to 4000 isn't just "1000 more"; it scales from an area of 9 million blocks to 16 million, nearly doubling in size! Launch generations at night or early morning when no one is playing to prevent lag and overheating the processor. Run them when the server is player-free!
For everything else, feel free to visit the official mod page. If you encounter any issues, you can reach our support on Discord.
Have a wonderful day!