NoMercy.PluginSdk.Abstractions
12.14.0
dotnet add package NoMercy.PluginSdk.Abstractions --version 12.14.0
NuGet\Install-Package NoMercy.PluginSdk.Abstractions -Version 12.14.0
<PackageReference Include="NoMercy.PluginSdk.Abstractions" Version="12.14.0" />
<PackageVersion Include="NoMercy.PluginSdk.Abstractions" Version="12.14.0" />
<PackageReference Include="NoMercy.PluginSdk.Abstractions" />
paket add NoMercy.PluginSdk.Abstractions --version 12.14.0
#r "nuget: NoMercy.PluginSdk.Abstractions, 12.14.0"
#:package NoMercy.PluginSdk.Abstractions@12.14.0
#addin nuget:?package=NoMercy.PluginSdk.Abstractions&version=12.14.0
#tool nuget:?package=NoMercy.PluginSdk.Abstractions&version=12.14.0
NoMercy.PluginSdk.Abstractions
The contract a NoMercy MediaServer plugin is written against: IPlugin, the
entry-point interfaces, the facades on IPluginContext, the capability
vocabulary and the refusal shape.
Install
<PackageReference Include="NoMercy.PluginSdk.Abstractions" Version="12.*" />
Pin the major, never the minor. The contract adds members in a minor version, so a pinned minor forces every plugin to re-pin on a release that changed nothing for it.
A plugin
using NoMercy.PluginSdk.Abstractions;
public class RadioPlugin : IPlugin
{
public Ulid Id { get; } = Ulid.Parse("01JB0000000000000000000000");
public string Name => "Internet Radio";
public string Description => "Stations, in the library.";
public Version Version => new(1, 0);
public void Initialize(IPluginContext context)
{
context.Logger.LogInformation("Ready.");
}
public void Dispose() { }
}
Capabilities
Every facade is gated. A plugin declares what it needs in plugin.json, the
owner consents on the permissions page, and a call without either is refused
with a PluginRefusal that names what happened, why, and the one line to
change:
// Refused unless the manifest declares storage.path and the owner granted
// that folder.
IPluginStorageScope movies = await context.Storage.PathAsync("movies");
Isolation
A plugin runs in its own process, in the platform's sandbox: a Windows job object, a Linux cgroup v2 slice, or a macOS sandbox profile. The facades behave identically in either runtime, so nothing here changes when a server switches.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Newtonsoft.Json (>= 13.0.4)
- Ulid (>= 1.4.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NoMercy.PluginSdk.Abstractions:
| Package | Downloads |
|---|---|
|
NoMercy.PluginSdk.Testing
Drive a NoMercy MediaServer plugin through a fake context, with the owner grants a test switches on and off. |
|
|
NoMercy.PluginSdk.Mvc
The base class a NoMercy MediaServer plugin's REST controllers inherit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 12.14.0 | 0 | 11/23/2026 |
| 12.13.0 | 90 | 11/19/2026 |
| 12.12.0 | 107 | 11/18/2026 |
| 12.11.0 | 107 | 11/17/2026 |
| 12.10.0 | 200 | 11/17/2026 |
| 12.9.0 | 151 | 11/14/2026 |
| 12.8.0 | 154 | 11/11/2026 |
| 12.7.0 | 112 | 11/11/2026 |
| 12.6.0 | 183 | 10/21/2026 |
| 12.5.0 | 123 | 10/16/2026 |
| 12.4.0 | 123 | 10/15/2026 |
| 12.2.0 | 472 | 9/22/2026 |
| 12.1.0 | 126 | 9/22/2026 |