A cli to the stationeers rcon for Stationeers dedicated servers.
usage: srcon [<flags>] <command> [<args> ...]
a CLI interface to Stationeers dedicated server RCON.
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
-c, --config=CONFIG Path to a json configuration file for the tool.
--ip=IP Server IP to connect to.
--port=PORT Port to connect to
--password=PASSWORD Password to use for the RCON command.
Commands:
help [<command>...]
Show help.
status
Fetch the status of the Stationeers server.
save <savefile>
Saves the game to a specified file.
shutdown [<flags>]
Shutdowns the server
notice <message>
Sends a notice to all players
ban <steamId> <timeout>
Bans a player for a specific time.
unban <steamID>
Remove a player from the ban list.
kick <steamID>
Kick player from the server.
clearall
Delete disconnected players from the server.
hungerRate <rate>
Set the hungerRate on the server to the given number.
go get ./...
go install ./...
This will build and install the binary into your $GOBIN directory. This could be copied anywhere in your path.
You can find the latest release here:
https://github.com/matjam/stationeersrcon/releases/tag/v1.2.0
Download the binary for your platform and just drop it in your path somewhere.