logo
en
English

ButterLib

Creator: Aragas
Updated:16/09/2025 04:26:21
4.0MB
mcafee
Authentification
Trusted by 200,000,000+ Users

Pre-required Mods

will be automatically installed when you use ButterLib

About this Mod

Extension library for Mount & Blade II: Bannerlord containing common functions for modification development.
Sources available at GitHub!

Installation
This module should be one of the highest in loading order and placed above native modules. Ideally, it should be second in load order after Bannerlord.Harmony
Important information for v1.2.0
ButterLib's and BEW Crash Reporters are broken by TW. We are not able to do something here via ButterLib, so we suggest to download BLSE v1.4.0 or higher from NexusMods to make Crash Reports work again!

For Players
This mod is a dependency mod that does not provide anything by itself. You need to additionaly install mods that use it.

For Modders
Distributed libraries:
ButterLib 2.1.0 distributes with itself some libraries. Unfortunately, the game has a strict dependency system and if the versions don't match the game will crash. So here's the list of packages:
  • Microsoft.Extensions.DependencyInjection - 2.0.0
  • Microsoft.Extensions.DependencyInjection.Abstractions - 2.0.0
  • Microsoft.Extensions.Logging - 2.0.0
  • Microsoft.Extensions.Logging.Abstractions - 2.0.0
  • Microsoft.Extensions.Options - 2.0.0
  • Microsoft.Extensions.Primitives - 2.0.0

  • System.Reflection.Metadata - 5.0.0
  • System.Collections.Immutable - 5.0.0
  • System.Memory - 4.5.4
  • System.Buffers - 4.5.4
  • System.Runtime.CompilerServices.Unsafe - 4.5.3

  • Serilog - 2.10.0
  • Serilog.Extensions.Logging - 3.1.0
  • Serilog.Sinks.File - 5.0.0
We are unfortunately enforcing everyone to use exactly these versions. Microsoft.Extensions.* are 2.0.0 because Serilog is compiling against 2.0.0 versions of the libraries and the game is enforcing exact version match! Same for System.Reflection.Metadata, System.Runtime.CompilerServices.Unsafe is enforcing it.

Highlighted features:
  • ExceptionHandler - Catches all exceptions in BEW style and gives the ability to save the crash report
  • CrashUploader - Uploads those crash reports to https://butr.dev for creating tiny url's for sharing!
  • CampaignIdentifier - Associates unique string ID with every campaign based on the initial character.
  • DistanceMatrix - A generic class that pairs given objects of type MBObject and for each
    pair calculates the distance between the objects that formed it.
  • DelayedSubModule - Execute code after specific SubModule method.
  • SubModuleWrappers - Wraps MBSubModulebase for easier calling of protected internal metods.
Check the /Articles section in the documentation to see all available features!

Troubleshooting
Unblocking DLL's
You may need to right click on every Bannerlord.ButterLib.*\bin\Win64_Shipping_Client\*.dll
 files, click Properties, and click Unblock if you extracted the zip file with Windows Explorer or other programs that try to secure extracted files.
Harmony installation issues:
Check Harmony's Troubleshooting for more info on how to fix it.

Top Mods for Mount & Blade 2: Bannerlord

Explore the best mods for Mount & Blade 2: Bannerlord that bring new features, upgraded visuals, and exciting ways to transform your gameplay experience.
Mod Configuration Menu
Aragas02/06/2024 16:45:30
MCM is a Mod Options screen library designed to let modders use its API for defining the options.
Fourberie
26/09/2025 11:51:42
Develop into a rogue character, or simply use dirty tactics and plans to rule the world of Calradia... After installing this Mod, enter the game and check the corresponding Mod in the Mods section to activate it.
Harmony
Aragas17/04/2025 20:58:37
A library for patching, replacing and decorating .NET and Mono methods during runtime.Intended to ensure that all mods in a player's modlist are using the latest version of Harmony to minimize conflicts.We also added a Debug UI! Available
Three Kingdoms Generals Armor
方大叔哟22/07/2025 20:27:12
ButterLib
Aragas16/09/2025 04:26:21
Extension library for Mount & Blade II: Bannerlord containing common functions for modification development.
UIExtenderEx
Aragas18/09/2025 02:00:54
Rewritten fork of UIExtenderLib with the similar goal of enabling multiple mods to alter standard game interface.
Improved Garrisons
Sidiess14/09/2024 04:00:18
Customize your fief management with recruiters, advanced troop training with templates, automatic garrison recruitment, a standalone UI, custom parties with orders and more!
Diplomacy
Katarn200022/06/2024 18:54:26
A vanilla-friendly mod for the campaign and sandbox modes of Bannerlord. Diplomacy's goal is to provide balanced, fun, and creative options for characters to have an impact on the world, including both the player and NPCs. Diplomacy creates

Unlock the full potential of Mount & Blade 2: Bannerlord with Xmod—explore these top mods today!

mcafee
Authentification
Trusted by 200,000,000+ Users

Need help with download or installation? Join our Discord community for support.

logo

Gaming solutions

Resources

Follow us on

discordfacebooktwitteryoutube
Terms and Conditions
Privacy Policy
Support
Email: cathy@business.xmodhub.com
Discord: catherine_79237
Language

LARVAS LIMITED

ROOM 1201,12/F TAI SANG BANK BUILDING 130-132 DES VOEUX ROAD CENTRAL HK