-
Notifications
You must be signed in to change notification settings - Fork 2
PreChunk
PreChunk is a script which pre-generates square shaped maps.
The center of your map is the coordinate 0,0, so your map will be generated around that.
If your TPS fall below 18 it will pause the script until your server stabilizes again. You can increase the - wait time on line 36 if you're receiving lag. But the default option should be fine.
Syntax: /prechunk [size] [world]
A size of 16 correspond to a map of 32x32 chunks -> 1.024x1.024 blocks.
Size table:
| size | chunks | blocks | time: recommended way(rounded up) |
|---|---|---|---|
| 16 | 32x32 | 512x512 | 52s |
| 32 | 64x64 | 1.024x1.024 | 205s |
| 64 | 128x128 | 2.048x2.048 | 14m |
| 128 | 256x256 | 4.096x4.096 | 55m |
| 192 | 384x384 | 6.144x6.144 | 2,05h |
| 256 | 512x512 | 8.192x8.192 | 3,7h |
| 512 | 1.024x1.024 | 16.384x16.384 | 14,6h |
The recommended way to pregenerate a map is by setting up a local server and setting the wait time between chunkloads to 1t. After the map is pregenerated upload it to your productive server. This method is faster and won't affect your productive server while generating the map.
If you need help setting up a local server click: https://guide.denizenscript.com/guides/first-steps/local-test-server.html