42 lines
1.0 KiB
YAML
42 lines
1.0 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"
|
|
|