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: docs/types-and-platforms/server-types/fabric.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,21 +41,27 @@ A specific loader or launcher version other than the latest can be requested usi
41
41
FABRIC_LOADER_VERSION: 0.13.1
42
42
```
43
43
44
-
!!! note "Fabric API"
44
+
!!! note
45
45
46
-
As [mentioned on the Fabric download page](https://fabricmc.net/use/installer/), most mods will require the Fabric API mod to be installed. That can be easily done by utilizing [the Modrinth downloads feature](../../mods-and-plugins/modrinth.md), such as adding this to the `environment` of a compose file service:
47
-
48
-
```yaml
49
-
TYPE: FABRIC
50
-
MODRINTH_PROJECTS: |
51
-
fabric-api
52
-
```
46
+
See the [Working with mods and plugins](../../mods-and-plugins/index.md) section to set up Fabric mods and configuration.
47
+
48
+
## Fabric API
49
+
50
+
As [mentioned on the Fabric download page](https://fabricmc.net/use/installer/), most mods will require the Fabric API mod to be installed. That can be easily done by utilizing [the Modrinth downloads feature](../../mods-and-plugins/modrinth.md), such as adding this to the `environment` of a compose file service:
51
+
52
+
```yaml
53
+
TYPE: FABRIC
54
+
MODRINTH_PROJECTS: |
55
+
fabric-api
56
+
```
57
+
58
+
## Alternate launcher
53
59
54
-
!!! note "Alternate launcher"
60
+
If you wish to use an alternative launcher you can:
55
61
56
-
If you wish to use an alternative launcher you can:
62
+
- Provide the path to a custom launcher jar available to the container with `FABRIC_LAUNCHER`, relative to `/data` (such as `-e FABRIC_LAUNCHER=fabric-server-custom.jar`)
63
+
- Provide the URL to a custom launcher jar with `FABRIC_LAUNCHER_URL` (such as `-e FABRIC_LAUNCHER_URL=http://HOST/fabric-server-custom.jar`)
57
64
58
-
- Provide the path to a custom launcher jar available to the container with `FABRIC_LAUNCHER`, relative to `/data` (such as `-e FABRIC_LAUNCHER=fabric-server-custom.jar`)
59
-
- Provide the URL to a custom launcher jar with `FABRIC_LAUNCHER_URL` (such as `-e FABRIC_LAUNCHER_URL=http://HOST/fabric-server-custom.jar`)
65
+
## Force re-install
60
66
61
-
See the [Working with mods and plugins](../../mods-and-plugins/index.md) section to set up Fabric mods and configuration.
67
+
If the Fabric launcher jar becomes corrupted you can temporarily set FABRIC_FORCE_REINSTALL to "true" to have it re-installed on next startup.
0 commit comments