BibitesModsLoader 1.0.0

dotnet add package BibitesModsLoader --version 1.0.0                
NuGet\Install-Package BibitesModsLoader -Version 1.0.0                
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="BibitesModsLoader" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BibitesModsLoader --version 1.0.0                
#r "nuget: BibitesModsLoader, 1.0.0"                
#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.
// Install BibitesModsLoader as a Cake Addin
#addin nuget:?package=BibitesModsLoader&version=1.0.0

// Install BibitesModsLoader as a Cake Tool
#tool nuget:?package=BibitesModsLoader&version=1.0.0                

BibitesModsLoader

A Library for easily implement mods for The Bibites Project.

To test your mods you first need to install the modloader, localy: Installation.

Dev

To create a mod you need to create a dll with the following structure:

using BibitesModsLoader;

[Mod("MyMod", "1.0.0", "MyName", Description = "MyMod is a mod for The Bibites Project")]
public class MyMod : IMod
{
	void Enable()
	{
		//... mod code...
	}
}

ModAttribute also has a "Nicess" property, the lower it is, the higher the priority of the mod will be. To change default code of the game you need to use Harmony, you can find more information in this articles.

A version of the assembly release is available in releases. This dll is only there to be used as a dependency during compilation. If use change the value AllowUnsafeBlocks of your csproj to true. To do this go to property and cherche for "unsafe" change it to true, or add <AllowUnsafeBlocks>True</AllowUnsafeBlocks> inisde a PropertyGroup, if it is already present and set to "false" just change the value to "true".

Some tips for Harmony. Harmony Documentation.

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  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
1.0.0 165 3/3/2024