BharatNode
BharatNode acts as a distributed node worker running on each Paper instance in the BharatMC network. It communicates with the centralized Redis cluster to report server status, player counts, memory health, TPS, and orchestrates cross-server events.
Features
Section titled “Features”- Heartbeat Daemon: Reports TPS, MSPT, online players, and RAM utilization to Redis every second.
- Remote Commands: Executes dispatched commands originating from staff web panels or Discord bots.
- Instance Isolation: Automatically flags instances in maintenance or degraded states to prevent proxy routing.
- Graceful Evacuation: Coordinates with Velocity to evacuate players to alternate fallback nodes prior to planned restarts.
Configuration & Specs
Section titled “Configuration & Specs”node: id: "lifesteal-01" region: "ap-south-1" group: "survival" heartbeat-interval-ms: 1000
redis: channel: "bmc:node:events" heartbeat-key: "bmc:nodes:heartbeat"