ArtifactsMmo.Sharp 0.1.0

dotnet add package ArtifactsMmo.Sharp --version 0.1.0
                    
NuGet\Install-Package ArtifactsMmo.Sharp -Version 0.1.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="ArtifactsMmo.Sharp" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ArtifactsMmo.Sharp" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="ArtifactsMmo.Sharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ArtifactsMmo.Sharp --version 0.1.0
                    
#r "nuget: ArtifactsMmo.Sharp, 0.1.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.
#:package ArtifactsMmo.Sharp@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ArtifactsMmo.Sharp&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=ArtifactsMmo.Sharp&version=0.1.0
                    
Install as a Cake Tool

ArtifactsMmo.Sharp

Bot for ArtifactsMmo written in C#. Runs as a background service, looping through game actions for your characters.

Requires .NET 10 and an ArtifactsMmo API token.

Setup

Drop your credentials in ArtifactsMmo.Sharp/appsettings.Development.json:

{
  "ArtifactsMmo": {
    "Url": "https://api.artifactsmmo.com/",
    "ApiToken": "<your token>",
    "Characters": ["<character name>"]
  }
}

Then run:

dotnet run --project ArtifactsMmo.Sharp

User secrets work too if you'd rather not touch the file:

dotnet user-secrets set "ArtifactsMmo:ApiToken" "<your token>" --project ArtifactsMmo.Sharp
dotnet user-secrets set "ArtifactsMmo:Characters:0" "<character name>" --project ArtifactsMmo.Sharp

Docker

docker build -t artifactsmmo-sharp .
docker run -e ArtifactsMmo__ApiToken=<token> -e ArtifactsMmo__Characters__0=<name> artifactsmmo-sharp

Writing strategies

Each tick, the runner handles HP (rest below 40%) and inventory (deposit at 90% full) automatically, then hands off to whatever ICharacterStrategy is registered. Right now that's CopperBarStrategy — gather copper ore, smelt at the forge.

To add your own, implement ICharacterStrategy and swap it in Program.cs:

public class MyStrategy(ICharacterService character) : ICharacterStrategy
{
    public async Task ExecuteAsync(string name, CharacterSchema ch, CancellationToken ct = default)
    {
        await character.MoveAsync(name, x, y, ct);
        await character.GatherAsync(name, ct);
        // etc.
    }
}

ICharacterService covers everything — move, gather, craft, fight, rest, bank, grand exchange, tasks. Cooldowns are awaited automatically after each action.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
0.1.0 113 3/3/2026