diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-01-05 22:13:27 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-01-05 22:13:27 +0900 |
| commit | 4fe9e26641990f0696ee1841b8e8577ed1eefe55 (patch) | |
| tree | 258cff5e0554d758c26992bbc77aa1956411919f /docker | |
| download | LunaticChat-4fe9e26641990f0696ee1841b8e8577ed1eefe55.tar.gz LunaticChat-4fe9e26641990f0696ee1841b8e8577ed1eefe55.tar.bz2 LunaticChat-4fe9e26641990f0696ee1841b8e8577ed1eefe55.zip | |
first commit
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/bukkit.yml | 43 | ||||
| -rw-r--r-- | docker/compose.yaml | 43 |
2 files changed, 86 insertions, 0 deletions
diff --git a/docker/bukkit.yml b/docker/bukkit.yml new file mode 100644 index 0000000..2f44ae9 --- /dev/null +++ b/docker/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/compose.yaml new file mode 100644 index 0000000..f81760d --- /dev/null +++ b/docker/compose.yaml @@ -0,0 +1,43 @@ +services: + minecraft: + image: itzg/minecraft-server:java21 + container_name: runecore-debug-server + user: "0:0" + ports: + - "25565:25565" + - "25575:25575" + volumes: + - minecraft-data:/data + - ../build/libs:/plugins:ro + - ./plugins:/data/plugins + - ./bukkit.yml:/data/bukkit.yml + environment: + EULA: "TRUE" + TYPE: "PAPER" + VERSION: "1.21.11" + MEMORY: "1G" + + # デバッグ用高速化設定 + 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" + tty: true + stdin_open: true + +volumes: + minecraft-data: |
