A CLI tool to use RCON, a game server management protocol.
$ dotnet add package AlisaLab.RconCliA simple command line tool to use RCON protocol to communicate with a game server.
You need to have .NET 8 installed.
Run the following command to install the tool:
dotnet tool install -g AlisaLab.RconCli
Then you can use the tool by running rcon command.
You can run rcon --help to see the help message.
RconCli use 2 different RCON libraries to communicate with the server:
You can change which library to use by command line options or through the interactive RCON shell command.
If the library to use is not specified, RconCli will use RconSharp by default.
rcon direct -H <hostname or IPv4 address> -p <port> -w <password>
Profile file location:
${APPDATA}\alisa-lab\rcon-cli\profiles.json/Users/${USER}/.config/alisa-lab/rcon-cli/profiles.json${XDG_CONFIG_HOME}/alisa-lab/rcon-cli/profiles.json${HOME}/.config/alisa-lab/rcon-cli/profiles.json/home/${USER}/.config/alisa-lab/rcon-cli/profiles.json# Create a profile
rcon profile add <profile name> -H <hostname or IPv4 address> -p <port> -w <password> -d <description> -e <rcon library>
# Remove a profile
rcon profile remove <profile name>
# List all profiles
rcon profile list
# Connect to a profile
rcon connect <profile name>
MIT, for RCON communicationMIT, for RCON communicationMIT, for command line parsingMIT, for command line UILGPL-3.0, for code analysis, not included in the release binaryThis project is licensed under the MIT License - see the LICENSE file for details