clean-server-runtime.bat
Remove generated runtime files before a clean reinstall or repository cleanup.
Stop the server and make a backup before using cleanup. World data and generated configuration are not recreated by magic.
What it removes
| Data | Behavior |
|---|---|
| Generated loader runtime | Fabric or NeoForge files, libraries, installer cache, and generated entry points. |
| Downloaded mods | Generated mod jars are removed so the next setup can download the selected manifest again. |
| Generated configuration | Generated local files such as logs, crash reports, and runtime settings may be removed. |
| Worlds | World folders and player data are deleted by cleanup. Make an independent backup first. |
Loader reset
The script asks whether to reset the selected loader. Choose Y when you want the next start-server.bat run to ask for Fabric or NeoForge again. Choose N to retain the current loader selection for reinstall.
Safe procedure
- Type
stopin the server console and wait for it to close. - Copy the world directories and important configuration to a dated backup folder.
- Run
clean-server-runtime.batfrom the repository root. - Choose whether the loader should also be reset.
- Run
start-server.batand follow the setup prompts.
See the How Jarock works page and the CLEANUP.md for the complete repository policy.