What Is RCON?
RCON (Remote Console) is a protocol that lets external applications send commands to your Minecraft server. It is useful for scripts, bots, or external tools that need to interact with your server programmatically.
Enabling RCON
In server.properties, set these values:
enable-rcon=true
rcon.password=your-secure-password
rcon.port=25575Restart your server after saving. The RCON port must be accessible — check your CraftNodes panel's network settings.
Connecting with mcrcon
Download mcrcon (a simple RCON client) and run:mcrcon -H your-server-ip -p 25575 -P your-password
You can now run commands directly from your terminal.
Common Use Cases
- Automation scripts that send commands on a schedule
- Discord bots that run Minecraft commands on request
- External web panels or dashboards
- Backup scripts that run
/save-allbefore taking a backup
Security Warning
Always use a strong RCON password and restrict RCON port access to trusted IPs only. Never expose RCON to the public internet without a firewall rule.