TNCSSPluginFoundation 0.5.1
dotnet add package TNCSSPluginFoundation --version 0.5.1
NuGet\Install-Package TNCSSPluginFoundation -Version 0.5.1
<PackageReference Include="TNCSSPluginFoundation" Version="0.5.1" />
<PackageVersion Include="TNCSSPluginFoundation" Version="0.5.1" />
<PackageReference Include="TNCSSPluginFoundation" />
paket add TNCSSPluginFoundation --version 0.5.1
#r "nuget: TNCSSPluginFoundation, 0.5.1"
#:package TNCSSPluginFoundation@0.5.1
#addin nuget:?package=TNCSSPluginFoundation&version=0.5.1
#tool nuget:?package=TNCSSPluginFoundation&version=0.5.1
TNCSSPluginFoundation
About
A simple framework for CounterStrikeSharp plugin.
Provides powerful and faster development experience if your plugin feature is separated by module.
Features
- Automated load/unload life cycle
- Automated ConVar config generation
- Dependency Injection with DI container
- Module oriented development
Why don't you use CounterStrikeSharp's built-in DI?
Since CounterStrikeSharp's DI requires injection class and definition class.
But I've created this framework for faster development, and convenience.
Also, If we make plugin with module oriented development, there is no way to inject the proper initialized and working module instance to other module.
Requirements
- CounterStrikeSharp: v333 or later
How to use
- Download latest binary from latest Release
- Put this framework to a CounterStrikeSharp's shared folder
- Develop plugin using this framework or Get plugin uses this framework
- Install the plugin to your server
- Run server
Development Documentation
- Create a new class library or go to existing project
- Run
dotnet add package TNCSSPluginFoundation
- Ready to develop
Example
See Example Plugin for module initialization and DI container usage.
Also, lupercalia-mg-cs2 is heavily uses this framework.
Detailed documentation is not available yet.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- CounterStrikeSharp.API (>= 1.0.337)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.