Ashr4f-FeatureBlocker icon

FeatureBlocker

Remove specific features from other mods via config. Lists PluginGuid:TypeName pairs and strips those Harmony patches while the rest of the mod keeps working.

Last updated a day ago
Total downloads 12
Total rating 0 
Categories Tools Server-side Client-side Utility Bog Witch Update
Dependency string Ashr4f-FeatureBlocker-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

FeatureBlocker

ModBlocker disables whole mods. FeatureBlocker disables single features.

Some mods bundle several features with no config to turn one off. FeatureBlocker removes the Harmony patches a plugin applied to a chosen game class, which disables that feature while the rest of the mod keeps working.

Configuration

One setting: Blocked Patches, a comma-separated list of PluginGuid:TypeName.

Blocked Patches = aedenthorn.CraftFromContainers:CookingStation

This example keeps crafting, building, smelting and fuel pulling from CraftBuildSmeltCookFuelPullFromContainers, but cooking stations stop pulling raw food from chests and behave vanilla again.

How to find the values:

  • PluginGuid: the mod's config file name in BepInEx/config (without .cfg).
  • TypeName: the game class behind the feature (CookingStation, Smelter, Fireplace, Fermenter...). Ask on the mod's page or experiment; a wrong name simply does nothing.

Safety

BepInEx, Jotunn, ModBlocker and FeatureBlocker itself are protected and cannot be blocked. Entries targeting them are ignored with a warning.

Install

BepInEx plugin, client-side: BepInEx/plugins/FeatureBlocker.dll, or via r2modman.

Credits

Built for the "Les Fous du Bus" server. Companion of ModBlocker.