CommonLibF4.NET.SDK
0.0.1
See the version list below for details.
dotnet add package CommonLibF4.NET.SDK --version 0.0.1
NuGet\Install-Package CommonLibF4.NET.SDK -Version 0.0.1
<PackageReference Include="CommonLibF4.NET.SDK" Version="0.0.1" />
<PackageVersion Include="CommonLibF4.NET.SDK" Version="0.0.1" />
<PackageReference Include="CommonLibF4.NET.SDK" />
paket add CommonLibF4.NET.SDK --version 0.0.1
#r "nuget: CommonLibF4.NET.SDK, 0.0.1"
#:package CommonLibF4.NET.SDK@0.0.1
#addin nuget:?package=CommonLibF4.NET.SDK&version=0.0.1
#tool nuget:?package=CommonLibF4.NET.SDK&version=0.0.1
CommonLibF4.NET.SDK
C# contracts for independent CommonLibF4.NET managed mods. Requires .NET 10; plugins run in Windows x64 Fallout 4 with the matching framework.
Implement a public class with a public parameterless constructor:
using CommonLibF4.NET.SDK;
public sealed class MyMod : ICommonLibF4Plugin
{
public string Name => "MyMod";
public void OnLoad(IPluginContext context) =>
context.Log(PluginLogLevel.Info, "Hello from MyMod!");
}
The runtime calls OnLoad at startup, once per process. No game-thread or game-data-ready guarantee is made. IPluginContext exposes PluginDirectory and thread-safe Log with Info, Warning and Error levels. This preview does not expose events, game objects, dispatcher, input or HUD.
Reference this package with ExcludeAssets="runtime"; the installed framework provides the shared SDK DLL. Use a .NET 10 x64 class library with EnableDynamicLoading=true to copy private dependencies. Place MyMod.dll, its deps.json and private dependencies under Data/F4SE/Plugins/CommonLibF4.NET/Plugins/MyMod/. Directory and entry DLL names must match.
The separate CommonLibF4.NET.Templates package provides the clf4mod template with these settings. The SDK is built by the framework scripts/build.ps1; the template is built by its own independent repository; they are not published to NuGet.org. Build dependencies are not required on an end user's machine; the installed .NET Runtime 10.0 x64 is required.
See LICENSE and EXCEPTIONS included in the package for licensing terms.
| 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
- 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 |
|---|---|---|
| 0.3.0-preview-1 | 88 | 9/7/2026 |
| 0.2.0-preview-3 | 91 | 9/6/2026 |
| 0.2.0-preview-1 | 91 | 9/6/2026 |
| 0.0.3 | 93 | 9/6/2026 |
| 0.0.2 | 93 | 9/6/2026 |
| 0.0.1 | 101 | 9/6/2026 |