SecretAPI 2.0.1

dotnet add package SecretAPI --version 2.0.1
                    
NuGet\Install-Package SecretAPI -Version 2.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="SecretAPI" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SecretAPI" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SecretAPI" />
                    
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 SecretAPI --version 2.0.1
                    
#r "nuget: SecretAPI, 2.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 SecretAPI@2.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=SecretAPI&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SecretAPI&version=2.0.1
                    
Install as a Cake Tool

SecretAPI Downloads

  • SecretAPI is a plugin that extends LabAPI by providing extra features to help devs.

Features

  • CollectionExtensions: Extensions to provide utility for collections like lists and arrays.
  • RoleExtensions: Extensions to help with handling role specific tasks. Like getting a role's spawn point.
  • RoomExtensions: Extensions to help with room specific tasks, like checking if a room is safe to teleport to.
  • HarmonyExtensions: Extensions to provide more utility to Harmony patching, like adding some updated Harmony features which can't be utilised, i.e. patching by category.
  • CustomPlayerEffect: Create custom status effects using the base-game system.
  • IRegister: Handle auto registering certain plugin features inheriting this interface and then running IRegister.RegisterAll() in your plugin's initialise method.
  • CustomSetting: Server Specific Settings without the management hassle, control everything for 1 setting in 1 class, including permissions. A better setting system overall.

Examples

You can find examples inside the SecretAPI.Examples folder above, this contains some example settings, patches using categories and some more.

Support

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 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
2.0.1 74 9/26/2025
2.0.0 158 9/21/2025
2.0.0-beta5 114 9/20/2025
2.0.0-beta4 85 8/3/2025
2.0.0-beta3 96 7/29/2025
2.0.0-beta2 125 7/1/2025
2.0.0-beta1 120 7/1/2025
1.1.3 125 8/9/2025
1.1.2 138 6/15/2025
1.1.1 229 6/13/2025
1.1.0 277 6/12/2025
1.0.0 143 5/21/2025
0.5.0 63 5/10/2025
0.4.1 74 4/25/2025
0.4.0 160 4/9/2025
0.3.0 391 3/24/2025
0.2.0 186 3/3/2025
0.1.1 99 2/22/2025