From 55bf0b838767a361ccaa83429c6ded856b93c9fa Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 9 May 2022 23:12:50 -0700 Subject: [PATCH] Add chunk pregen reference --- server/config/minecraft/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/server/config/minecraft/README.md b/server/config/minecraft/README.md index dc1fe5a..dc78120 100644 --- a/server/config/minecraft/README.md +++ b/server/config/minecraft/README.md @@ -17,4 +17,15 @@ Check the following server.properties values: | `max-tick-time` | 600 normally, 120000 when pre-genning chunks | Increase the max tick time to prevent the hang watchdog from killing the server when pregenning chunks | | `rcon.password` | `thanksitzg` | Set a simple password to protect the rcon port | | `rcon.port` | `25575` | Set this to what itzg's rcon-cli expects as default | -| `view-distance` | 10 for lightweight servers, 6 for heavy servers | View distance has great impact on server load | \ No newline at end of file +| `view-distance` | 10 for lightweight servers, 6 for heavy servers | View distance has great impact on server load | + +## Pregenerating Chunks +Make sure that the [Chunk Pregenerator](https://www.curseforge.com/minecraft/mc-mods/chunkpregenerator) mod is installed. It is compatible with most Minecraft versions between 1.7.2 and 1.16.5. +To pregen chunks, first connect to the server's RCON CLI. Then, run the following, +`pregen start gen radius Pregen SQUARE 0 0 100` +This should take about half an hour and will generate about 40,000 chunks (2r^2). +For a job closer to 8 hours, run +`pregen start gen radius Pregen SQUARE 0 0 500` +Which will generate about 500,000 chunks. + +A Ryzen 7 5800X generates chunks at about 1.35 chunks per tick (27 chunks per second @ 20 TPS). \ No newline at end of file