Update minecraft configuration

This commit is contained in:
Nikolai Rodionov 2024-09-18 15:42:11 +02:00
parent f8444da081
commit d27da07cb4
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -1,4 +1,3 @@
---
# -------------------------------------------------- # --------------------------------------------------
# -- Extensions values # -- Extensions values
# -------------------------------------------------- # --------------------------------------------------
@ -27,10 +26,9 @@ traefik:
# -- Main values # -- Main values
# -------------------------------------------------- # --------------------------------------------------
image: image:
tag: java21-graalvm #tag: java21-graalvm
#tag: java21-jdk tag: java21-jdk
pullPolicy: Always pullPolicy: Always
resources: resources:
requests: requests:
memory: 4.5Gi memory: 4.5Gi
@ -60,11 +58,12 @@ readinessProbe:
failureThreshold: 20 failureThreshold: 20
successThreshold: 1 successThreshold: 1
timeoutSeconds: 20 timeoutSeconds: 20
minecraftServer: minecraftServer:
memory: 3584M memory: 3584M
jvmOpts: |
-server
jvmXXOpts: | jvmXXOpts: |
-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:GCTimeRatio=99 -Xms3584M -Xmx4500M -XX:+UseG1GC
overrideServerProperties: true overrideServerProperties: true
eula: "TRUE" eula: "TRUE"
onlineMode: false onlineMode: false
@ -77,15 +76,15 @@ minecraftServer:
pvp: true pvp: true
modUrls: [] modUrls: []
serviceType: NodePort serviceType: NodePort
#- https://github.com/CaffeineMC/lithium-fabric/releases/download/mc1.20.1-0.11.2/lithium-fabric-mc1.20.1-0.11.2-api.jar #- https://github.com/CaffeineMC/lithium-fabric/releases/download/mc1.20.1-0.11.2/lithium-fabric-mc1.20.1-0.11.2-api.jar
#- https://github.com/CaffeineMC/sodium-fabric/releases/download/mc1.20.1-0.5.11/sodium-fabric-0.5.11+mc1.20.1.jar #- https://github.com/CaffeineMC/sodium-fabric/releases/download/mc1.20.1-0.5.11/sodium-fabric-0.5.11+mc1.20.1.jar
#- https://github.com/CaffeineMC/lithium-fabric/releases/download/mc1.20.1-0.11.2/lithium-fabric-mc1.20.1-0.11.2.jar #- https://github.com/CaffeineMC/lithium-fabric/releases/download/mc1.20.1-0.11.2/lithium-fabric-mc1.20.1-0.11.2.jar
#pluginUrls: #pluginUrls:
# - https://github.com/dmulloy2/ProtocolLib/releases/download/5.2.0/ProtocolLib.jar # - https://github.com/dmulloy2/ProtocolLib/releases/download/5.2.0/ProtocolLib.jar
# - https://mediafilez.forgecdn.net/files/3789/833/GravityControl-2.0.0.jar # - https://mediafilez.forgecdn.net/files/3789/833/GravityControl-2.0.0.jar
# - https://mediafilez.forgecdn.net/files/3151/915/CrackShot.jar # - https://mediafilez.forgecdn.net/files/3151/915/CrackShot.jar
# - https://s3.badhouseplants.net/public-download/MechanicsCore-3.4.8.jar # - https://s3.badhouseplants.net/public-download/MechanicsCore-3.4.8.jar
# - https://s3.badhouseplants.net/public-download/WeaponMechanics-3.4.9.jar # - https://s3.badhouseplants.net/public-download/WeaponMechanics-3.4.9.jar
rcon: rcon:
enabled: true enabled: true
withGeneratedPassword: false withGeneratedPassword: false
@ -106,7 +105,7 @@ minecraftServer:
enabled: false enabled: false
persistence: persistence:
storageClass: longhorn storageClass: longhorn
#storageClass: local-path #storageClass: local-path
dataDir: dataDir:
enabled: true enabled: true
Size: 9Gi Size: 9Gi
@ -158,7 +157,7 @@ initContainers:
- name: download - name: download
mountPath: /download mountPath: /download
readOnly: false readOnly: false
extraVolumes: extraVolumes:
- volumeMounts: - volumeMounts:
- name: plugins - name: plugins
mountPath: /data/mods mountPath: /data/mods