forked from jeremylvln/Shulker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bc5477
commit 8178611
Showing
3 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Using custom server JAR | ||
|
||
You may want to use a custom server JAR to replace the default | ||
behavior which is to download the matching version from the | ||
channel. | ||
|
||
You have the ability to specify a resource reference to a custom | ||
server JAR in the `MinecraftServer` and `MinecraftServerFleet` CRDs: | ||
|
||
```yaml | ||
apiVersion: shulkermc.io/v1alpha1 | ||
kind: MinecraftServerFleet | ||
metadata: | ||
name: my-server | ||
spec: | ||
clusterRef: | ||
name: my-cluster | ||
replicas: 1 | ||
template: | ||
spec: // [!code focus] | ||
version: // [!code focus] | ||
channel: Paper // [!code focus] | ||
name: 1.20.0 // [!code focus] | ||
customJar: // [!code focus] | ||
url: https://example.com/custom-jar.jar // [!code focus] | ||
``` | ||
:::warning | ||
While this feature allows you to customize the server software to run, | ||
you can't use it to create servers with unsupported platforms. You | ||
still have to specify the version channel so Shulker is aware of which | ||
agent to inject into the server. | ||
You can, however, expect any standard fork of supported platforms to | ||
work as long as they do not introduce breaking changes. | ||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters