first commit

This commit is contained in:
Fern Garden 2025-06-24 15:00:31 +08:00
commit 149e02a10d
72 changed files with 3442 additions and 0 deletions

1
minecraft/README.md Normal file
View file

@ -0,0 +1 @@
# Compose file for Minecraft

63
minecraft/compose.yaml Normal file
View file

@ -0,0 +1,63 @@
services:
minecraft_proxy:
image: itzg/mc-proxy
container_name: minecraft_proxy
restart: unless-stopped
volumes:
- velocity_config:/config
- velocity_server:/server
networks:
- default
ports:
- 25565:25565
environment:
- TYPE=VELOCITY
- MINECRAFT_VERSION=1.21.5
minecraft_server_mc:
image: itzg/minecraft-server
container_name: minecraft_server_mc
hostname: mc
restart: unless-stopped
volumes:
- minecraft_server_mc:/data
networks:
- default
depends_on:
- minecraft_proxy
env_file:
- server.env
environment:
- MOTD=meow
- ICON=https://git.fern.garden/fern/stacks/raw/branch/main/minecraft/server-icons/mc.png
- PLUGINS=https://dev.bukkit.org/projects/dead-chest/files/latest
minecraft_server_bob:
image: itzg/minecraft-server
container_name: minecraft_server_bob
hostname: bob
restart: unless-stopped
volumes:
- minecraft_server_bob:/data
depends_on:
- minecraft_proxy
env_file:
- server.env
environment:
- MOTD=it's bob's world, we're just living in it
- ICON=https://git.fern.garden/fern/stacks/raw/branch/main/minecraft/server-icons/bob.png
networks:
default:
volumes:
minecraft_webadmin_db:
name: minecraft_webadmin_db
minecraft_server_mc:
name: minecraft_server_mc
minecraft_server_bob:
name: minecraft_server_bob
velocity_config:
name: velocity_config
velocity_server:
name: velocity_server

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

24
minecraft/server.env Normal file
View file

@ -0,0 +1,24 @@
EULA=TRUE
TZ=Australia/Perth
TYPE=PAPER
RCON_PASSWORD=${RCON_PASSWORD}
PAPER_CHANNEL=experimental
VERSION=1.21.5
ENABLE_ROLLING_LOGS=true
LOG_TIMESTAMP=true
OVERRIDE_ICON=TRUE
RESOURCE_PACK=https://cdn.modrinth.com/data/4YkvO5Rp/versions/y8c31PGb/Whimscape_1.20.2-1.21.5_r3.zip
RESOURCE_PACK_SHA1=c486d46b7f79d3aa187e7288385858220c37b05b
ENABLE_WHITELIST=true
ONLINE_MODE=FALSE
SNOOPER_ENABLED=false
USE_AIKAR_FLAGS=true
MAX_MEMORY=6G
DIFFICULTY=normal
MAX_PLAYERS=10
SPAWN_PROTECTION=0
PVP=false
VIEW_DISTANCE=24
SIMULATION_DISTANCE=12
MODRINTH_PROJECTS=essentialsx,essentialsx-antibuild,essentialsx-chat-module,essentialsx-protect,essentialsx-spawn,luckperms
SPIGET_RESOURCES=40313