CommonLibF4.NET.SDK 0.0.1

There is a newer version of this package available.
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
                    
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="CommonLibF4.NET.SDK" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommonLibF4.NET.SDK" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="CommonLibF4.NET.SDK" />
                    
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 CommonLibF4.NET.SDK --version 0.0.1
                    
#r "nuget: CommonLibF4.NET.SDK, 0.0.1"
                    
#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 CommonLibF4.NET.SDK@0.0.1
                    
#: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=CommonLibF4.NET.SDK&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=CommonLibF4.NET.SDK&version=0.0.1
                    
Install as a Cake Tool

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 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.
  • 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