51 lines
1.7 KiB
YAML
51 lines
1.7 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"
|
|
# Mojang's sessionserver blocks some datacenter/homelab IPs via Cloudflare WAF.
|
|
# enforce-secure-profile=false allows players to join without mandatory profile key validation.
|
|
# ONLINE_MODE=true still enforces Mojang account auth — this only relaxes the key signing requirement.
|
|
ENFORCE_SECURE_PROFILE: "false"
|
|
|
|
# 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 — minecraft-prometheus-exporter for Grafana metrics
|
|
# v3.1.2: https://github.com/sladkoff/minecraft-prometheus-exporter
|
|
# Exposes /metrics on port 9225 (HTTP, Prometheus scrape target)
|
|
PLUGINS: "https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v3.1.2/minecraft-prometheus-exporter-3.1.2.jar"
|
|
|