Update minecraft config and Paper
This commit is contained in:
parent
39893c3390
commit
a68bf4502a
@ -30,10 +30,11 @@ istio:
|
|||||||
image:
|
image:
|
||||||
tag: java17-graalvm-ce
|
tag: java17-graalvm-ce
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 512Mi
|
memory: 3Gi
|
||||||
cpu: 50m
|
cpu: 256m
|
||||||
limits:
|
limits:
|
||||||
memory: 3Gi
|
memory: 3Gi
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ lifecycle:
|
|||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
- for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345
|
- for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345
|
||||||
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
command:
|
command:
|
||||||
- mc-health
|
- mc-health
|
||||||
@ -50,6 +52,7 @@ readinessProbe:
|
|||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
|
|
||||||
minecraftServer:
|
minecraftServer:
|
||||||
overrideServerProperties: true
|
overrideServerProperties: true
|
||||||
eula: "TRUE"
|
eula: "TRUE"
|
||||||
@ -59,10 +62,9 @@ minecraftServer:
|
|||||||
version: 1.20.1
|
version: 1.20.1
|
||||||
maxWorldSize: 90000
|
maxWorldSize: 90000
|
||||||
type: "PAPER"
|
type: "PAPER"
|
||||||
paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/100/downloads/paper-1.20.1-100.jar
|
paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/170/downloads/paper-1.20.1-170.jar
|
||||||
gameMode: survival
|
gameMode: survival
|
||||||
pvp: true
|
pvp: true
|
||||||
memory: 2512M
|
|
||||||
rcon:
|
rcon:
|
||||||
enabled: true
|
enabled: true
|
||||||
withGeneratedPassword: false
|
withGeneratedPassword: false
|
||||||
@ -144,18 +146,6 @@ initContainers:
|
|||||||
- name: plugins
|
- name: plugins
|
||||||
mountPath: /data/plugins
|
mountPath: /data/plugins
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: install-fast-minecart-plugin
|
|
||||||
image: alpine/curl
|
|
||||||
command:
|
|
||||||
- curl
|
|
||||||
- -L
|
|
||||||
- https://github.com/certainly1182/FastMinecarts/releases/download/v1.0.1/FastMinecarts.jar
|
|
||||||
- -o
|
|
||||||
- /data/plugins/FastMinecarts.jar
|
|
||||||
volumeMounts:
|
|
||||||
- name: plugins
|
|
||||||
mountPath: /data/plugins
|
|
||||||
readOnly: false
|
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- volumeMounts:
|
- volumeMounts:
|
||||||
- name: plugins
|
- name: plugins
|
||||||
|
Reference in New Issue
Block a user