Setting Up RCON (Remote Control)
Manage your server console from an external app or script.
Configuration
Edit your server.properties file:
enable-rcon=true
rcon.port=25575
rcon.password=StrongPassword123
Security Warning: Choose a VERY strong password. RCON gives full control over your server commands.
Firewall
You must allow TCP traffic on the RCON port (default 25575) in your firewall rules.