use forge instead of paper
This commit is contained in:
		
							
								
								
									
										67
									
								
								values.yaml
									
									
									
									
									
								
							
							
						
						
									
										67
									
								
								values.yaml
									
									
									
									
									
								
							@@ -27,7 +27,7 @@ traefik:
 | 
			
		||||
# -- Main values
 | 
			
		||||
# --------------------------------------------------
 | 
			
		||||
image:
 | 
			
		||||
  tag: java17-graalvm
 | 
			
		||||
  #tag: java17-graalvm
 | 
			
		||||
  pullPolicy: Always
 | 
			
		||||
 | 
			
		||||
resources:
 | 
			
		||||
@@ -37,11 +37,11 @@ resources:
 | 
			
		||||
  limits:
 | 
			
		||||
    memory: 3Gi
 | 
			
		||||
 | 
			
		||||
lifecycle:
 | 
			
		||||
  postStart:
 | 
			
		||||
    - bash
 | 
			
		||||
    - -c
 | 
			
		||||
    - for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345
 | 
			
		||||
      #lifecycle:
 | 
			
		||||
      #  postStart:
 | 
			
		||||
      #    - bash
 | 
			
		||||
      #    - -c
 | 
			
		||||
      #    - for i in {1..100}; do mc-health && break || sleep 20; done && rcon-cli setpassword 11223345
 | 
			
		||||
 | 
			
		||||
readinessProbe:
 | 
			
		||||
  command:
 | 
			
		||||
@@ -57,10 +57,11 @@ minecraftServer:
 | 
			
		||||
  eula: "TRUE"
 | 
			
		||||
  onlineMode: false
 | 
			
		||||
  difficulty: hard
 | 
			
		||||
  hardcore: true
 | 
			
		||||
  hardcore: false
 | 
			
		||||
  version: 1.20.1
 | 
			
		||||
  maxWorldSize: 90000
 | 
			
		||||
  type: "PAPER"
 | 
			
		||||
  type: "FORGE"
 | 
			
		||||
  forgeInstallerUrl: https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.2-48.1.0/forge-1.20.2-48.1.0-installer.jar
 | 
			
		||||
  paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/170/downloads/paper-1.20.1-170.jar
 | 
			
		||||
  gameMode: survival
 | 
			
		||||
  pvp: true
 | 
			
		||||
@@ -109,69 +110,47 @@ mcbackup:
 | 
			
		||||
# -- Install Plugins
 | 
			
		||||
# ---------------------------------------------
 | 
			
		||||
initContainers:
 | 
			
		||||
  - name: 0-install-prometheus-exporter
 | 
			
		||||
  - name: 0-install-create-plugin
 | 
			
		||||
    image: alpine/curl
 | 
			
		||||
    command:
 | 
			
		||||
      - curl
 | 
			
		||||
      - -L
 | 
			
		||||
      - "https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5.0/minecraft-prometheus-exporter-2.5.0.jar"
 | 
			
		||||
      - "https://www.curseforge.com/api/v1/mods/328085/files/4835191/download"
 | 
			
		||||
      - -o
 | 
			
		||||
      - /data/plugins/prometheus-exporter.jar
 | 
			
		||||
      - /data/mods/create.jar
 | 
			
		||||
    volumeMounts:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
        mountPath: /data/plugins
 | 
			
		||||
        mountPath: /data/mods
 | 
			
		||||
        readOnly: false
 | 
			
		||||
  - name: 0-install-password-plugin
 | 
			
		||||
  - name: 0-install-vic-plugin
 | 
			
		||||
    image: alpine/curl
 | 
			
		||||
    command:
 | 
			
		||||
      - curl
 | 
			
		||||
      - -L
 | 
			
		||||
      - "https://github.com/timbru31/PasswordProtect/releases/download/PasswordProtect-3.1.0/PasswordProtect.jar"
 | 
			
		||||
      - https://www.curseforge.com/api/v1/mods/961053/files/5367445/download
 | 
			
		||||
      - -o
 | 
			
		||||
      - /data/plugins/PasswordProtect.jar
 | 
			
		||||
      - /data/mods/vic.jar
 | 
			
		||||
    volumeMounts:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
        mountPath: /data/plugins
 | 
			
		||||
        mountPath: /data/mods
 | 
			
		||||
        readOnly: false
 | 
			
		||||
  - name: 0-install-gravity-control-plugin
 | 
			
		||||
  - name: 0-install-gecko-plugin
 | 
			
		||||
    image: alpine/curl
 | 
			
		||||
    command:
 | 
			
		||||
      - curl
 | 
			
		||||
      - -L
 | 
			
		||||
      - https://github.com/e-im/GravityControl/releases/download/v1.3.0/GravityControl-1.3.0.jar
 | 
			
		||||
      - https://www.curseforge.com/api/v1/mods/388172/files/5386950/download
 | 
			
		||||
      - -o
 | 
			
		||||
      - /data/plugins/GravityControl-1.3.0.jar
 | 
			
		||||
      - /data/mods/geckolib.jar
 | 
			
		||||
    volumeMounts:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
        mountPath: /data/plugins
 | 
			
		||||
        mountPath: /data/mods
 | 
			
		||||
        readOnly: false
 | 
			
		||||
  - name: 0-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
 | 
			
		||||
  - name: 1-add-plugins-to-minecraft
 | 
			
		||||
    image: alpine/curl
 | 
			
		||||
    command:
 | 
			
		||||
      - sh 
 | 
			
		||||
      - -c 
 | 
			
		||||
      - cp -r /in /out/plugins
 | 
			
		||||
    volumeMounts:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
        mountPath: /in
 | 
			
		||||
        readOnly: false
 | 
			
		||||
      - name: datadir
 | 
			
		||||
        mountPath: /out
 | 
			
		||||
 | 
			
		||||
extraVolumes:
 | 
			
		||||
  - volumeMounts:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
        mountPath: /data/plugins
 | 
			
		||||
        mountPath: /data/mods
 | 
			
		||||
        readOnly: false
 | 
			
		||||
    volumes:
 | 
			
		||||
      - name: plugins
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user