RustRcon_Client 1.0.1

.NET 5.0
There is a newer version of this package available.
See the version list below for details.
Install-Package RustRcon_Client -Version 1.0.1
dotnet add package RustRcon_Client --version 1.0.1
<PackageReference Include="RustRcon_Client" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RustRcon_Client --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RustRcon_Client, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install RustRcon_Client as a Cake Addin
#addin nuget:?package=RustRcon_Client&version=1.0.1

// Install RustRcon_Client as a Cake Tool
#tool nuget:?package=RustRcon_Client&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Welcome to RustRcon!


  • Server
    • Get ServerInfo.
    • Stop/Restart server.
    • Send console command.
    • On chat/console message events.
  • Player
    • Kick/Ban player.
    • Get players ban list.
    • Kill player.
    • Get player info.
  • Oxide
    • Get plugin list.
    • Reload plugin.
    • Load/Unload plugin.


Self Build:

You should compile the library project and add a dependency to your project RustRcon.dll

NuGet Gallery:

RustRcon is available on the NuGet Gallery, as still a release version:

You can add RustRcon to your project with the NuGet Package Manager, by using the following command in the Package Manager Console.

PM> Install-Package RustRcon_Client -Version 1.0.0 


Step 1:

Required namespace.

using RustRcon;

The RconClient class exists in the RustRcon namespace.

Step 2:

Creating a new instance of the RconClient class with the adress, port and password.

RconClient rconClient = new RconClient("localhost", 28016, "root");
Step 3:

Setting the events, example:

rconClient.OnChatMessage += (e) =>
    Console.WriteLine($"{e.Username}: {e.Message}");
Step 4:

Connecting to server.

Step 5:

Sending command to server, the commands accept in their constructor a reference to the callback action with the result of the request:

rconClient.SendCommand(new GetServerInfo((x) =>
    Console.WriteLine($"Connected to: {x.Hostname}");
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 80 3/13/2022
1.0.3 56 3/13/2022
1.0.2 58 3/13/2022
1.0.1 66 3/8/2022
1.0.0 63 3/8/2022