config.example.yaml
Rama main · réplica de lectura del repositorio original.
http:
bind: "127.0.0.1:8080"
# The minecraft and files blocks seed the first server ("default") on first start.
# After that, servers live in the database and are managed from the Servers page.
# Leave rcon_host and service_name empty to start with no servers.
minecraft:
rcon_host: "localhost"
rcon_port: 25575
rcon_password: "REPLACE_ME"
service_name: "MinecraftServer"
log_file: "C:/minecraft/survival/logs/latest.log"
database:
path: "data.db"
security:
# 64-char random string
session_secret: "REPLACE_ME"
files:
mods_dir: "C:/minecraft/survival/mods"
datapacks_dir: "C:/minecraft/survival/world/datapacks"
properties_file: "C:/minecraft/survival/server.properties"
backups_dir: "C:/minecraft/survival/backups"
max_upload_mb: 100
# Backups older than this many days are deleted automatically. Set 0 to disable.
backup_retention_days: 30
# Used when an admin creates a new server from the panel. Each server gets its
# own folder under servers_root and an NSSM service named mc-<slug>.
provisioning:
servers_root: "C:/minecraft/servers"
java_path: "C:/Program Files/Eclipse Adoptium/jdk-21/bin/java.exe"
nssm_path: "C:/tools/nssm/nssm.exe"
default_min_ram: "4G"
default_max_ram: "6G"
# New servers take the first free port at or above these.
base_server_port: 25565
base_rcon_port: 25575