Provide option to apply Cleanroom to any Forge-like server type (#4338)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-10-14 20:54:17 -05:00
1 parent 9693e382f3
commit d8cd6f3f38
5 files changed
+81 -48

No files matched your search

+21 -1
View File
@@ -87,4 +87,24 @@ Support for [NeoForge](https://neoforged.net/) is also provided. A NeoForge serv
FORGE_INSTALLER_URL: https://github.com/CleanroomMC/Cleanroom/releases/download/0.2.4-alpha/cleanroom-0.2.4-alpha-installer.jar
```
[Full example](https://github.com/itzg/docker-minecraft-server/tree/master/examples/cleanroom)
[Full example](https://github.com/itzg/docker-minecraft-server/tree/master/examples/cleanroom)
#### Apply Cleanroom
As an alternative to replacing the `TYPE` as "cleanroom", you can use any of the Forge-like types above, including `AUTO_CURSEFORGE` described [here](../mod-platforms/auto-curseforge.md), and apply Cleanroom as the loader by setting the environment variable `APPLY_CLEANROOM` to "true".
All the configuration options described above can be used with this.
!!! warning
As mentioned above, Cleanroom **only works with 1.12.2**, so be sure to utilize modpacks and mods that are compatible with 1.12.2. If using a `TYPE` of "forge" or "neoforge", be sure to set `VERSION` to "1.12.2".
!!! example
```yaml
environment:
EULA: true
TYPE: AUTO_CURSEFORGE
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/enigmatica2expert/files/9088147
APPLY_CLEANROOM: true
```