Files
FunConnect/server/.env.example

32 lines
498 B
Plaintext
Raw Normal View History

# FunMC Relay Server Configuration
# Relay TCP port for Minecraft traffic
RELAY_PORT=25565
# HTTP API port
API_PORT=3000
# Node identification
NODE_ID=
NODE_NAME=relay-node-1
# Master node configuration
IS_MASTER=true
MASTER_URL=http://master-host:3000
# Security
SECRET=your-secret-key-here
# Limits
MAX_ROOMS=100
MAX_PLAYERS_PER_ROOM=20
# Heartbeat interval in ms
HEARTBEAT_INTERVAL=10000
# Logging
LOG_LEVEL=info
# Public host (for worker nodes to report to master)
PUBLIC_HOST=0.0.0.0