Dungreed

Dungreed

Plugin Manager[Window/SteamOS]
 This topic has been pinned, so it's probably important
橘 万里花  [developer] 14 Nov, 2023 @ 9:02pm
How to Create a New Feature Plugin
I hope that the development and use of PluginManager are as simple as possible because whether we are Mod creators or users, we are all just players who may not have a professional background.

To create your own plugin, you just need to complete the following steps:

- Write a Dll file using BepInEx. If you are not sure what BepInEx is, you can get help on their GitHub: https://github.com/BepInEx/BepInEx.
You do not need to download BepInEx, as PluginManager has already included the BepInEx library files. You can find and reference them in the game installation directory under /BepInEx/core (I suggest doing this to ensure that the Dll file you write is consistent with the version we are using).

- Create a configuration file. Create an xml file named "plugin.xml" and fill in the following content:

<PluginData>

<Version>1.00</Version><!--Version Float-->

</PluginData>

Version is the version number of your plugin, and you need to increase the value of Version each time you update the plugin. PluginManager will determine whether the plugin needs to be updated by comparing it with the local Version.

Yes, that's the entire process. Indeed, PluginManager has some advanced usage techniques, but I believe the above steps are already sufficient for normal development. Therefore, I do not recommend using these techniques. If you need them, please leave a message in the discussion.

I hope more people will participate in the development, which can help me improve it.