Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ロビーサーバーにOriginSpawnを追加 #1664

Merged
merged 2 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ spec:
https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar,
https://github.com/DmitryRendov/BungeePortals/releases/download/1.2.3/BungeePortals-1.2.3.jar,
https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5.0/minecraft-prometheus-exporter-2.5.0.jar,
https://github.com/GiganticMinecraft/OriginSpawn/releases/download/v0.2.7/OriginSpawn-0.2.7-SNAPSHOT.jar,

- name: JVM_OPTS
value: >-
Expand Down Expand Up @@ -140,7 +141,7 @@ spec:
lp group default permission set worldguard.region.list.own true
lp group default permission set worldguard.region.info.* true
lp group default permission set worldguard.region.flag.regions.own.* true

image: ghcr.io/giganticminecraft/seichi_minecraft_server_debug_base_1_18_2:sha-1267b49
name: minecraft
ports:
Expand All @@ -161,10 +162,10 @@ spec:
readinessProbe:
exec:
command:
- mc-monitor
- status
- --host
- localhost
- mc-monitor
- status
- --host
- localhost
- --port
- "25565"
initialDelaySeconds: 30
Expand Down Expand Up @@ -236,6 +237,11 @@ spec:
mountPath: /plugins/BungeePortals/portals.yml
subPath: portals.yml

# OriginSpawn プラグインの設定ファイル
- name: origin-spawn-config
mountPath: /plugins/OriginSpawn/config.yml
subPath: config.yml

- name: mod-downloader-volume
mountPath: /plugins

Expand All @@ -255,7 +261,10 @@ spec:
- name: bungee-portals-config
configMap:
name: bungee-portals-config

- name: origin-spawn-config
configMap:
name: origin-spawn-config

# JMX exporterをinitContainerでダウンロードしてBugneeCordに受け渡すためのvolume
- name: jmx-exporter-download-volume
emptyDir: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: origin-spawn-config
data:
config.yml: |
world-name: world
loc-x: 0
loc-y: 64
loc-z: 0
loc-yaw: 0.0
loc-pitch: 0.0
always-force-players-spawn: true