npm i -g minecraft-rcon
rcon --help
exit
// ~/.config/rcon.json
{
"default": {
"host": "example.com",
"port": 25575,
"password": "example_password",
"timeout": 5000
},
"serverA": {
"host": "a.server.com",
"port": 25575,
"password": "hoge",
"timeout": 10000
},
"serverB": {
"host": "b.srever.com",
"port": 25575,
"password": "fuga",
"timeout": 2500
}
}