From dfd4e54abde6bcb9c56c387b7910bf1baaf8eb55 Mon Sep 17 00:00:00 2001 From: outductor Date: Fri, 22 Dec 2023 03:29:58 +0900 Subject: [PATCH 1/2] add multiverse-portals --- .../debug-s1/multiverse-portals-config.yaml | 51 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 12 ++++- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/multiverse-portals-config.yaml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/multiverse-portals-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/multiverse-portals-config.yaml new file mode 100644 index 000000000..14559907e --- /dev/null +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/multiverse-portals-config.yaml @@ -0,0 +1,51 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: multiverse-portals-config +data: + portals.yml: | + portals: + world->world_SW: + entryfee: + currency: -1 + amount: 0.0 + safeteleport: true + teleportnonplayers: false + handlerscript: '' + owner: Lucky3028 + location: -20.0,64.0,-19.0:-20.0,65.0,-19.0 + world: world + destination: world_SW + world->world_SW_2: + entryfee: + currency: -1 + amount: 0.0 + safeteleport: true + teleportnonplayers: false + handlerscript: '' + owner: Lucky3028 + location: -18.0,64.0,-19.0:-18.0,65.0,-19.0 + world: world + destination: world_SW_2 + world->world_SW_nether: + entryfee: + currency: -1 + amount: 0.0 + safeteleport: true + teleportnonplayers: false + handlerscript: '' + owner: Lucky3028 + location: -12.0,64.0,-19.0:-12.0,65.0,-19.0 + world: world + destination: world_SW_nether + world->world_SW_the_end: + entryfee: + currency: -1 + amount: 0.0 + safeteleport: true + teleportnonplayers: false + handlerscript: '' + owner: Lucky3028 + location: -10.0,64.0,-19.0:-10.0,65.0,-19.0 + world: world + destination: world_SW_the_end diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 161e108d5..497879ab3 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -103,7 +103,9 @@ spec: https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar, https://github.com/GiganticMinecraft/Elytra/releases/download/1.18.2/Elytra-1.0-SNAPSHOT.jar, https://github.com/GiganticMinecraft/OriginSpawn/releases/download/v0.2.7/OriginSpawn-0.2.7-SNAPSHOT.jar, - + https://www.spigotmc.org/resources/clicktpa.62596/download?version=511303, + https://github.com/Multiverse/Multiverse-Portals/releases/download/4.2.3/multiverse-portals-4.2.3.jar, + - name: JVM_OPTS value: >- -javaagent:/jmx-exporter/jmx-exporter-javaagent.jar=18321:/jmx-exporter/jmx-exporter-config.yaml @@ -283,6 +285,11 @@ spec: mountPath: /jmx-exporter/jmx-exporter-config.yaml subPath: jmx-exporter-config.yaml + # Multiverse-Portals プラグインの設定ファイル + - name: multiverse-portals-config + mountPath: /plugins/Multiverse-Portals/portals.yml + subPath: portals.yml + - name: mod-downloader-volume mountPath: /plugins @@ -302,6 +309,9 @@ spec: - name: minecraft-ops-config configMap: name: minecraft-ops-config + - name: multiverse-portals-config + configMap: + name: multiverse-portals-config # JMX exporterをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume - name: jmx-exporter-download-volume From d3d231e44da04917934b1051ae682f85a586c66c Mon Sep 17 00:00:00 2001 From: outductor Date: Fri, 22 Dec 2023 03:33:20 +0900 Subject: [PATCH 2/2] remove link --- .../templates/debug-s1/seichiassist.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 497879ab3..748f105be 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -103,7 +103,6 @@ spec: https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar, https://github.com/GiganticMinecraft/Elytra/releases/download/1.18.2/Elytra-1.0-SNAPSHOT.jar, https://github.com/GiganticMinecraft/OriginSpawn/releases/download/v0.2.7/OriginSpawn-0.2.7-SNAPSHOT.jar, - https://www.spigotmc.org/resources/clicktpa.62596/download?version=511303, https://github.com/Multiverse/Multiverse-Portals/releases/download/4.2.3/multiverse-portals-4.2.3.jar, - name: JVM_OPTS