Files
homelab/cluster/applications/minecraft/configmap.yaml
2026-07-19 13:50:15 -05:00

46 lines
1.3 KiB
YAML

---
# server.properties overrides for Journey Into Imagination
# itzg/minecraft-server reads these as environment variables and
# writes them into server.properties on startup.
# Full list: https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/
apiVersion: v1
kind: ConfigMap
metadata:
name: papermc-config
namespace: minecraft
labels:
app.kubernetes.io/name: minecraft
app.kubernetes.io/component: papermc
data:
# Server identity
MOTD: "Journey Into Imagination"
SERVER_NAME: "Journey Into Imagination"
# Game settings
GAMEMODE: "survival"
DIFFICULTY: "normal"
PVP: "true"
MAX_PLAYERS: "20"
ALLOW_FLIGHT: "true"
SPAWN_PROTECTION: "0"
SEED: "-5177989977648707969"
# Auth
ONLINE_MODE: "true"
# Whitelist — set to true when ready to lock down the server
WHITE_LIST: "false"
ENFORCE_WHITELIST: "false"
# Performance / tick safety
MAX_TICK_TIME: "180000"
# RCON (enabled so plugins/admin tools can connect)
ENABLE_RCON: "true"
RCON_PORT: "25575"
# Plugin auto-download — SleepMost for single-player sleep
# SleepMost v5.5.3: latest release as of 2026-07-19, supports PaperMC 1.21.x
# Source: https://github.com/mrgeneralq/sleep-most/releases
PLUGINS: "https://github.com/mrgeneralq/sleep-most/releases/download/v5.5.3/sleep-most-5.5.3.jar"