

A Working API for all things muck
Commands
Custom Items
then in your Main.cs define undeer
[BepInPlugin(GUID, MODNAME, VERSION)]
add
[BepInDependency("MuckApiGithub_MuckApi")]
Create a unity asset bundle then drag it into your project then you can do this
MuckApi.Main.LoadAllItemsFromResoruce("asset_bundle_filename", Assembly.GetExecutingAssembly())
this creates an item for each scriptable object in that asset bundle
comming soon
to use it create a method of what you want to run useing this template for your method
public static bool Template(string message)
{
var MessageArgs = message.Substring(1).Split(' ');
ChatBox Chat = ChatBox.Instance;
//Code Goes Here
return true;
}
to add commands to be registered in your main.cs under Start() do the following
MuckApi.Main.AddChatCommand("<Command In Chat>", new Func<string, bool>(<Method>));
or
MuckApi.Main.AddChatCommand("<Command In Chat>", "<Command Description>", new Func<string, bool>(<Method>));