AlisaLab.RconCli 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global AlisaLab.RconCli --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local AlisaLab.RconCli --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AlisaLab.RconCli&version=1.0.0                
nuke :add-package AlisaLab.RconCli --version 1.0.0                

RconCli

A simple command line tool to use RCON protocol to communicate with a game server.

Installation

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.

Usage

You can run rcon --help to see the usage.

Direct connect

rcon direct -H <hostname or IPv4 address> -p <port> -w <password>

Profile management

Profile file location:

  • Windows: ${APPDATA}\alisa-lab\rcon-cli\profiles.json
  • macOS: /Users/${USER}/.config/alisa-lab/rcon-cli/profiles.json
  • Linux (1): ${XDG_CONFIG_HOME}/alisa-lab/rcon-cli/profiles.json
  • Linux (2): ${HOME}/.config/alisa-lab/rcon-cli/profiles.json
  • Linux (3): /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>

# Remove a profile
rcon profile remove <profile name>

# List all profiles
rcon profile list

# Connect to a profile
rcon connect <profile name>

License

This project is licensed under the MIT License - see the LICENSE file for details

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.1 129 5/17/2024
1.2.0 156 3/15/2024
1.1.0 196 1/26/2024
1.0.0 148 1/26/2024