Update minecraft config and Paper

This commit is contained in:
Nikolai Rodionov 2023-09-07 00:31:47 +02:00
parent 39893c3390
commit a68bf4502a
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF

View File

@ -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