@@ -36,13 +36,13 @@ The Minecraft World Optimizer has only been successfully tested on 1.20.6 and 1.
3636
3737The Minecraft World Optimizer as successfully been tested on the following worlds:
3838
39- - ** Server World :** Backed-up world of my survival server with over 13 .9 million generated chunks.
39+ - ** Server Worlds :** Backed-up world of my survival server with over 17 .9 million generated chunks.
4040- ** New World:** New amplified world pre-generated using Chunky with a square radius of 1024.
4141
42- | World | Before Optimization | After Optimization | Size Reduction |
43- | --------------| ------------------------------------------| ----------------------------------------| ----------------|
44- | Server World | 105,681,020 Kilobytes <br /> 24,381 Files | 16,145,728 Kilobytes <br /> 6,961 Files | ** 84 .7%** |
45- | New World | 235,204 Kilobytes <br /> 36 Files | 2,440 Kilobytes <br /> 4 Files | ** 98.9%** |
42+ | World | Before Optimization | After Optimization | Size Reduction |
43+ | --------------- | ------------------------------------------| ----------------------------------------| ----------------|
44+ | Server Worlds | 134,079,252 Kilobytes <br /> 29,861 Files | 27,220,248 Kilobytes <br /> 9,734 Files | ** 79 .7%** |
45+ | New World | 235,204 Kilobytes <br /> 36 Files | 2,440 Kilobytes <br /> 4 Files | ** 98.9%** |
4646
4747## Getting Started
4848
@@ -72,25 +72,33 @@ cargo install --git https://github.com/Quozul/minecraft_world_optimizer.git
7272## Usage
7373
7474``` shell
75- minecraft_world_optimizer [WORLD_PATH]...
75+ # View up-to-date usage of the command:
76+ ❯ minecraft_world_optimizer --help
77+ ❯ minecraft_world_optimizer < MODE> < WORLD_PATHS> ...
7678```
7779
78- Replace <WORLD_PATH> with the path to your Minecraft world folder containing region files.
80+ Replace mode with one of the following:
81+
82+ - ` check ` : the program will only check for chunks and region files that can be deleted without actually deleting any
83+ data. This mode is around two times faster than the write mode as it does not perform any file system operations.
84+ - ` write ` : the program will delete unused chunks and region files.
85+
86+ Replace <WORLD_PATHS> with the path to your Minecraft world folder containing region files.
7987It will detect the 3 vanilla dimensions and optimise them. Note that this has not been tested on modded worlds with
8088multiple dimensions.
8189
8290Example:
8391
8492``` shell
85- minecraft_world_optimizer ~ /.minecraft/saves/MyWorld
93+ ❯ minecraft_world_optimizer check ~ /.minecraft/saves/MyWorld
8694```
8795
88- It can also be used to optimize a server's worlds as dimensions are split in multiple worlds:
96+ It can also be used to optimize server worlds as dimensions are split in multiple worlds:
8997
9098``` shell
91- minecraft_world_optimizer /path/to/server/world*
99+ ❯ minecraft_world_optimizer check /path/to/server/world*
92100# Or if your shell does not support wildcard:
93- minecraft_world_optimizer /path/to/server/world /path/to/server/world_nether /path/to/server/world_the_end
101+ ❯ minecraft_world_optimizer check /path/to/server/world /path/to/server/world_nether /path/to/server/world_the_end
94102```
95103
96104## Contributing
0 commit comments