cheesasaurus-Bloodpebble icon

Bloodpebble

Hot reloader for V Rising mods.

Last updated 3 weeks ago
Total downloads 479
Total rating 5 
Categories Tools Oakveil Update
Dependency string cheesasaurus-Bloodpebble-1.4.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_V_Rising-1.733.2 icon
BepInEx-BepInExPack_V_Rising

BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.

Preferred version: 1.733.2

README

Bloodpebble

bloodpebble-banner

Bloodpebble is a lightweight alternative to Bloodstone. It allows reloading plugins without restarting the game.

Differences from Bloodstone:

  • Bloodpebble checks plugin dependencies to load them in the correct order.
    • Bloodstone does not. Working on a library for other plugins to use? Choose Bloodpebble for your hot-reloading needs.
  • Bloodpebble is not required as a dependency. Simply drop your plugins into the BloodpebblePlugins folder and you're good to go.
    • Bloodstone can only reload plugins if they opt-in using its API. Broken bloodstone = broken dependent plugins.
  • Bloodpebble can automatically reload plugins when files are changed in the BloodpebblePlugins folder.
    • Bloodstone cannot. A manual reload is required.
  • Bloodpebble can do a soft reload (only reloading what's necessary) or a full reload.
    • Bloodstone only does full reloads.
  • Bloodpebble is only responsible for hot-reloading.
    • Bloodstone provides functionality for other things. ergo Bloodpebble has a lower maintenance cost when VRising updates.

Installation

  • Install BepInEx.
  • Extract Bloodpebble.dll into (VRising folder)/BepInEx/plugins.
  • Optional: extract any reloadable additional plugins into (VRising folder)/BepInEx/BloodpebblePlugins.

Configuration

Bloodpebble supports the following configuration settings, available in BepInEx/config/Bloodpebble.cfg.

Client/Server Options:

  • ReloadablePluginsFolder [default BepInEx/BloodpebblePlugins]: The path to the directory where reloadable plugins should be searched. Relative to the game directory.
  • EnableAutoReload [default true]: Automatically reloads plugins if any of the files get changed (added/removed/modified).
  • AutoReloadDelaySeconds [default: 2]: Delay in seconds before auto reloading.

Client Options:

  • The keybinding to soft reload is F6. Not currently configurable.
  • Press CTRL + F6 for a full reload.

Server Options:

  • ReloadCommand [default !reload]: Which text command (sent in chat) should be used to trigger reloading of plugins.
    User must first be AdminAuth'd (accomplished via console command).

RCON

If ScarletRCON is installed, bloodpebble will provide an RCON command to reload.

  • bloodpebble.reloadplugins : Soft reload.
  • bloodpebble.reloadpluginshard : Fully reload all valid plugins.
  • bloodpebble.reloadplugin <PluginGUID> : Reload one plugin. Other plugins (e.g. dependents) can also be reloaded.

Disclaimer

Not every plugin is going to be reloadable. You will still have to put some things in the usual BepInEx Plugins folder.

Notes for plugin developers:

Support

Join the modding community.

Post an issue on the GitHub repository.