You are viewing a potentially older version of this package. View all versions.
jakobhellermann-BepinExScriptEngine-0.1.0 icon

BepinExScriptEngine

Hot reloading for mods installed in `BepinEx/scripts/` folder

Date uploaded 8 months ago
Version 0.1.0
Download link jakobhellermann-BepinExScriptEngine-0.1.0.zip
Downloads 3523
Dependency string jakobhellermann-BepinExScriptEngine-0.1.0

This mod requires the following mods to function

BepInEx-BepInExPack_Silksong-5.4.2304 icon
BepInEx-BepInExPack_Silksong

BepInEx modloader. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

ScriptEngine from BepinEx.Debug

https://github.com/BepInEx/BepInEx.Debug

Loads and reloads BepInEx plugins from the BepInEx\scripts folder. User can reload all of these plugins by pressing the keyboard shortcut defined in the config. Shortcut is F6 by default. Very useful for quickly developing plugins as you don't have to keep reopening the game to see your changes.

Remember to clean up after the old plugin version in case you need to. Things like harmony patches or loose GameObjects/MonoBehaviours remain after the plugin gets destroyed. Loose gameobjects and monobehaviours in this case are objects that are not attached to the parent scriptengine gameobject. For example: