You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-15
Original file line number
Diff line number
Diff line change
@@ -9,34 +9,39 @@ Fixes errors such as `Unknown structure start: <missing structure>`, `Failed to
9
9
# Usage
10
10
11
11
1. Install the requirements: [Python 3.x](https://www.python.org/) and [Matcool's Anvil Parser](https://github.com/matcool/anvil-parser).
12
-
2. Download the [latest release](https://github.com/Nyveon/MCStructureCleaner/releases/) and place main.py in the same directory as your world folder (e.g: if it's a server, in the server folder).
13
-
3. Run main.py, and instruct it as to which structure tag you wish to remove. I recommend using [NBTExplorer](https://github.com/jaquadro/NBTExplorer) to find the name.
14
-
- -h For help on command line arguments.
15
-
- -t For the tag you want removed, in quotes.
16
-
- -j For the number of threads you want to run it on. Default: 2 x CPU Cores.
17
-
- -w For the name of the world you want to process. Default: "world".
18
-
- -r For the name of the sub-folder (dimension) in the world. Default: "".
19
-
- Example:
12
+
2. Download the [latest release](https://github.com/Nyveon/MCStructureCleaner/releases/) and place `main.py` in the same directory as your world folder
13
+
-**Example:** If it's a server: in the server folder, or if it is a singleplayer world, in the saves folder.
14
+
3. Run main.py with any of the following configuration properties. I recommend using [NBTExplorer](https://github.com/jaquadro/NBTExplorer) to find the name, or just letting the program fix all non-vanilla names by not inputting any tag.
15
+
-`-h` For help on command line arguments.
16
+
-`-t` For the tag you want removed, in quotes. Leave empty if you wish to remove ALL NON-VANILLA TAGS.
17
+
-`-j` For the number of threads you want to run it on. Default: 2 x CPU Cores.
18
+
-`-w` For the name of the world you want to process. Default: "world".
19
+
-`-r` For the name of the sub-folder (dimension) in the world. Default: "".
20
+
-**Example 1:** This command will delete all non-vanilla structures (defined up to 1.17) in the overworld of the world "SMP"
21
+
```
22
+
python main.py -w "SMP"
23
+
```
24
+
-**Example 2:** This command will delete all occurances of "Better Mineshaft" in the world "My World", in the Nether (DIM-1), using 8 threads.
- This would remove all references of the tag "Better Mineshaft" from the nether (DIM-1) of the world named My World, using 8 threads.
24
-
4. Let it run.
28
+
4. Let it run. This may take a while, depending on the power of your computer and the size of your world.
25
29
5. Replace the contents of your region folder with the contents of new_region.
30
+
6. Enjoy your now working world 😊
26
31
27
32
# Todo:
28
33
29
34
-[x] More detailed output.
30
-
-[] Multiple tag input. (In progress)
35
+
-[x] Multiple tag input. (Implemented in 1.4)
31
36
-[x] Multithreading. (Thanks DemonInTheCloset!, now 2.8x faster)
32
37
-[x] Command line arguments. (Thanks DemonInTheCloset)
33
38
-[x] Selection of world/dimensions.
34
39
-[ ] Allow for picking up progress where program left off.
35
40
-[ ] Checking disk space available.
36
-
-[] Auto-removal of all non vanilla structures mode.
41
+
-[x] Auto-removal of all non vanilla structures mode. (Implemented in 1.4)
37
42
38
43
# Notes:
39
44
40
-
- I have only tested this with 1.16 worlds.
41
-
- Feel free to message me on twitter if you need help using it.
42
-
-With large worlds, it may take a while to process, also depends on your hardware.
45
+
- I have only tested this with 1.16 worlds. In theory it should work with all worlds that use the anvil format though.
46
+
- Feel free to message me on discord or twitter if you need help using it.
47
+
-Why did we make this? To save our own SMP world after uninstalling some mods. We had spent a lot of time on it, and didn't want anyone else to have to lose their world to the same bug.
0 commit comments