source-rcon-server
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package source-rcon-server --version 1.0.0
NuGet\Install-Package source-rcon-server -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="source-rcon-server" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add source-rcon-server --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: source-rcon-server, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install source-rcon-server as a Cake Addin
#addin nuget:?package=source-rcon-server&version=1.0.0
// Install source-rcon-server as a Cake Tool
#tool nuget:?package=source-rcon-server&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VERSION DEPRECATED! PLEASE USE THE LEATEST VERSION!
Please report bugs here
Source RCON Library
Source RCON Library is a single class solution to create a source compatible RCON Server
Examples
Minimum setup server
var server = new RemoteConServer(IPAddress.Any, 27015);
server.StartListening();
Adding a command as LAMBDA expression
server.CommandManager.Add("hello", "Echos back world", (command, arguments) => {
return "world";
});
Adding a command as method
public static class Program
{
public static int Main(string[] args)
{
var server = new RemoteConServer(IPAddress.Any, 27015) {SendAuthImmediately = true};
server.CommandManager.Add("hello", "", Hello_Command);
server.StartListening();
while (true)
{
}
return 0;
}
public string Hello_Command(string command, IList<string> args)
{
return "world";
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 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.
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.3.1 | 948 | 8/24/2019 |
1.3.0 | 1,105 | 1/29/2018 |
1.2.0 | 1,082 | 1/26/2018 |
1.0.8-release | 1,003 | 1/24/2018 |
1.0.0 | 1,263 | 1/23/2018 |
Initial Release.