source-rcon-server 1.0.8-release

This is a prerelease version of source-rcon-server.
There is a newer version of this package available.
See the version list below for details.
dotnet add package source-rcon-server --version 1.0.8-release
NuGet\Install-Package source-rcon-server -Version 1.0.8-release
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.8-release" />
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.8-release
#r "nuget: source-rcon-server, 1.0.8-release"
#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.8-release&prerelease

// Install source-rcon-server as a Cake Tool
#tool nuget:?package=source-rcon-server&version=1.0.8-release&prerelease

VERSION DEPRECATED! DO NOT USE UNTIL UPDATED!

Report bugs and issues here: https://github.com/Subtixx/source-rcon-library/issues/new

Source RCON Library

Latest NuGet Version Latest Github Version Maintenance Github Releases GitHub issues AppVeyor tests AppVeyor Codecov

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)
        {
        }
    }
    
    public string Hello_Command(string command, IList<string> args)
    {
        return "world";
    }
}
Product 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 943 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.