2024-11-06 22:29:57 +01:00
|
|
|
services:
|
2024-11-10 19:26:26 +01:00
|
|
|
server:
|
2024-11-06 22:29:57 +01:00
|
|
|
image: itzg/minecraft-server
|
2024-11-27 01:00:41 +01:00
|
|
|
container_name: mc-server
|
2024-11-06 22:29:57 +01:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
# What Server
|
|
|
|
EULA: "true"
|
|
|
|
TYPE: FABRIC
|
|
|
|
VERSION: 1.21.1
|
|
|
|
SERVER_NAME: uno
|
|
|
|
ONLINE_MODE: false
|
|
|
|
TZ: Europe/Berlin
|
|
|
|
|
|
|
|
# Server Properties
|
|
|
|
OVERRIDE_SERVER_PROPERTIES: true
|
|
|
|
ENABLE_COMMAND_BLOCK: true
|
2024-11-10 19:04:59 +01:00
|
|
|
GAMEMODE: survival
|
2024-11-06 22:29:57 +01:00
|
|
|
FORCE_GAMEMODE: true
|
2024-11-10 19:04:59 +01:00
|
|
|
LEVEL_TYPE: minecraft:large_biomes
|
|
|
|
|
2024-11-06 22:29:57 +01:00
|
|
|
# RCON Setup
|
|
|
|
RCON_PASSWORD: garde-studios
|
|
|
|
BROADCAST_CONSOLE_TO_OPS: false
|
|
|
|
BROADCAST_RCON_TO_OPS: true
|
|
|
|
|
|
|
|
# Setup
|
|
|
|
FORCE_REDOWNLOAD: true
|
|
|
|
#MEMORY: 2G
|
|
|
|
INIT_MEMORY: 2G
|
|
|
|
MAX_MEMORY: 16G
|
|
|
|
USE_AIKAR_FLAGS: true
|
|
|
|
|
|
|
|
# World & Mod Data
|
2024-11-10 19:49:27 +01:00
|
|
|
#WORLD:
|
2024-11-27 01:00:41 +01:00
|
|
|
SEED: -2202949464251781243
|
2024-11-06 22:29:57 +01:00
|
|
|
MODS_FILE: /extras/mods.txt
|
|
|
|
# Whitelisting Players
|
|
|
|
WHITELIST_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/whitelist.json
|
2024-11-10 19:04:59 +01:00
|
|
|
OVERRIDE_WHITELIST: true
|
2024-11-06 22:29:57 +01:00
|
|
|
ENFORCE_WHITELIST: false
|
|
|
|
|
|
|
|
# Operator Setup
|
|
|
|
OPS_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/ops.json
|
|
|
|
SYNC_SKIP_NEWER_IN_DESTINATION: false
|
|
|
|
ports:
|
2024-11-27 01:00:41 +01:00
|
|
|
- 30000:25565 # Connection Port
|
2024-11-06 22:29:57 +01:00
|
|
|
- 31066:25575 # Rcon
|
2024-11-11 02:32:14 +01:00
|
|
|
- 8090:8080 # Squaremap
|
2024-11-06 22:29:57 +01:00
|
|
|
- 9001:25585 # Fabric Exporter
|
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
2024-11-10 19:46:03 +01:00
|
|
|
- ./squaremap:/data/squaremap
|
2024-11-06 22:29:57 +01:00
|
|
|
- ./mods.txt:/extras/mods.txt:ro
|
|
|
|
- ./config:/config
|
|
|
|
|
|
|
|
networks: {}
|