summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-02-23 17:48:34 +0900
committerGitHub <noreply@github.com>2026-02-23 17:48:34 +0900
commit59a7e742fe52afba246ff2e4dce9753dd1468e05 (patch)
tree14f9d9c9e2ed3e26e63efd709b81f3af6c7291ef /docker
parent2513c22f3bfb188df3f8d467f7ad8e47eda8b429 (diff)
parentb56034e18739653f87d0663f26a4b231de067ced (diff)
downloadLunaticChat-59a7e742fe52afba246ff2e4dce9753dd1468e05.tar.gz
LunaticChat-59a7e742fe52afba246ff2e4dce9753dd1468e05.tar.bz2
LunaticChat-59a7e742fe52afba246ff2e4dce9753dd1468e05.zip
Merge pull request #114 from m1sk9/feat/folia-support
feat: Add Folia Support
Diffstat (limited to 'docker')
-rw-r--r--docker/folia/.gitignore1
-rw-r--r--docker/folia/bukkit.yml (renamed from docker/bukkit.yml)0
-rw-r--r--docker/folia/compose.yaml47
-rw-r--r--docker/velocity/.gitignore (renamed from docker/.gitignore)0
-rw-r--r--docker/velocity/bukkit.yml43
-rw-r--r--docker/velocity/compose.yaml (renamed from docker/compose.yaml)0
-rw-r--r--docker/velocity/paper-global.yml (renamed from docker/paper-global.yml)0
-rw-r--r--docker/velocity/velocity.toml (renamed from docker/velocity.toml)0
8 files changed, 91 insertions, 0 deletions
diff --git a/docker/folia/.gitignore b/docker/folia/.gitignore
new file mode 100644
index 0000000..16873f6
--- /dev/null
+++ b/docker/folia/.gitignore
@@ -0,0 +1 @@
+plugins/
diff --git a/docker/bukkit.yml b/docker/folia/bukkit.yml
index 2f44ae9..2f44ae9 100644
--- a/docker/bukkit.yml
+++ b/docker/folia/bukkit.yml
diff --git a/docker/folia/compose.yaml b/docker/folia/compose.yaml
new file mode 100644
index 0000000..dd3f38c
--- /dev/null
+++ b/docker/folia/compose.yaml
@@ -0,0 +1,47 @@
+services:
+ folia:
+ image: itzg/minecraft-server:java21
+ container_name: debug-folia
+ ports:
+ - "25565:25565"
+ - "25575:25575"
+ volumes:
+ - lunatic-debug-folia-data:/data
+ - ./plugins:/data/plugins
+ - ./bukkit.yml:/data/bukkit.yml
+ environment:
+ EULA: "TRUE"
+ TYPE: "FOLIA"
+ VERSION: "1.21.11"
+ MEMORY: "2G"
+
+ # デバッグ用高速化設定
+ LEVEL_TYPE: "flat"
+ VIEW_DISTANCE: "3"
+ SIMULATION_DISTANCE: "3"
+ GENERATE_STRUCTURES: "false"
+ SPAWN_PROTECTION: "0"
+ ALLOW_NETHER: "false"
+
+ # 権限関連
+ OVERRIDE_SERVER_PROPERTIES: "true"
+
+ ENABLE_RCON: "true"
+ RCON_PASSWORD: "minecraft"
+ RCON_PORT: 25575
+
+ DIFFICULTY: "peaceful"
+ MAX_PLAYERS: "3"
+ ONLINE_MODE: "false"
+ SYNC_SKIP_NEWER_IN_DESTINATION: "false"
+ healthcheck:
+ test: mc-health
+ start_period: 90s
+ interval: 10s
+ timeout: 5s
+ retries: 3
+ tty: true
+ stdin_open: true
+
+volumes:
+ lunatic-debug-folia-data:
diff --git a/docker/.gitignore b/docker/velocity/.gitignore
index 4c0fc30..4c0fc30 100644
--- a/docker/.gitignore
+++ b/docker/velocity/.gitignore
diff --git a/docker/velocity/bukkit.yml b/docker/velocity/bukkit.yml
new file mode 100644
index 0000000..2f44ae9
--- /dev/null
+++ b/docker/velocity/bukkit.yml
@@ -0,0 +1,43 @@
+# This is the Bukkit configuration file in Paper.
+# As you can see, there's actually not that much to configure without any plugins.
+#
+# If you need help with the configuration or have any questions related to Paper,
+# join us in our Discord or check the docs page.
+#
+# File Reference: https://docs.papermc.io/paper/reference/bukkit-configuration/
+# Docs: https://docs.papermc.io/
+# Discord: https://discord.gg/papermc
+# Website: https://papermc.io/
+
+spawn-limits:
+ monsters: 70
+ animals: 10
+ water-animals: 5
+ water-ambient: 20
+ water-underground-creature: 5
+ axolotls: 5
+ ambient: 15
+chunk-gc:
+ period-in-ticks: 600
+ticks-per:
+ animal-spawns: 400
+ monster-spawns: 1
+ water-spawns: 1
+ water-ambient-spawns: 1
+ water-underground-creature-spawns: 1
+ axolotl-spawns: 1
+ ambient-spawns: 1
+ autosave: 6000
+aliases: now-in-commands.yml
+settings:
+ warn-on-overload: true
+ permissions-file: permissions.yml
+ update-folder: update
+ plugin-profiling: false
+ connection-throttle: 4000
+ query-plugins: true
+ deprecated-verbose: default
+ shutdown-message: Server closed
+ minimum-api: none
+ use-map-color-cache: true
+ allow-end: false
diff --git a/docker/compose.yaml b/docker/velocity/compose.yaml
index 2f3d5c9..2f3d5c9 100644
--- a/docker/compose.yaml
+++ b/docker/velocity/compose.yaml
diff --git a/docker/paper-global.yml b/docker/velocity/paper-global.yml
index 4c01c4e..4c01c4e 100644
--- a/docker/paper-global.yml
+++ b/docker/velocity/paper-global.yml
diff --git a/docker/velocity.toml b/docker/velocity/velocity.toml
index 1b5b374..1b5b374 100644
--- a/docker/velocity.toml
+++ b/docker/velocity/velocity.toml