Skip to content

Rcon Library to work with Ark Survival Evolved commands.

Notifications You must be signed in to change notification settings

visualies/arkon-sharp

Repository files navigation

ArkonSharp

Rcon Library to work with Ark Survival Evolved commands.

using ArkonSharp;

namespace Example
{
    class Program
    {
        static void Main(string[] args)
        {
            //Create a new ArkonSharpClient with <address> <rconPort> and <rconPassword>
            var rcon = new ArkonSharpClient("12.34.567.89", 32330, "adminpass");
            
            //Examples
            
            //ArkShop give points to player <steamId> <points>
            await rcon.ArkShop.AddPointsAsync(76561198223679884, 500)
            
            //WLootbox give lootbox to player <steamId> <boxKeyword> <amount>
            await rcon.WoolyLootbox.AddLootboxAsync(76561198223679884, "Gold", 5);
            
            //Get a playerlist to easily iterate through online players
            List<ExtendedRconPlayer> players = await rcon.ExtendedRcon.GetOnlinePlayersAsync();
        }
    }
}

Implements RconSharp

Nuget Package .NET CLI

dotnet add package ArkonSharp --version 3.0.2

About

Rcon Library to work with Ark Survival Evolved commands.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages