{"id":18484827,"url":"https://github.com/butr/bannerlord.butterlib","last_synced_at":"2025-04-08T19:31:41.605Z","repository":{"id":36990269,"uuid":"284827656","full_name":"BUTR/Bannerlord.ButterLib","owner":"BUTR","description":"Extension library for Mount \u0026 Blade II: Bannerlord.","archived":false,"fork":false,"pushed_at":"2024-06-27T07:04:48.000Z","size":8758,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2024-06-27T22:59:19.524Z","etag":null,"topics":["bannerlord","bannerlord-mod","library","mod","mount-and-blade-bannerlord"],"latest_commit_sha":null,"homepage":"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BUTR.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"supported-game-versions.txt","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-03T23:20:36.000Z","updated_at":"2024-06-27T07:04:50.000Z","dependencies_parsed_at":"2023-11-13T17:31:17.940Z","dependency_job_id":"0a78b25f-0c63-4b3c-8050-b79297d8dd90","html_url":"https://github.com/BUTR/Bannerlord.ButterLib","commit_stats":null,"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.ButterLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.ButterLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.ButterLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.ButterLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BUTR","download_url":"https://codeload.github.com/BUTR/Bannerlord.ButterLib/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223342190,"owners_count":17129796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bannerlord","bannerlord-mod","library","mod","mount-and-blade-bannerlord"],"created_at":"2024-11-06T12:43:08.785Z","updated_at":"2024-11-06T12:43:09.442Z","avatar_url":"https://github.com/BUTR.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bannerlord.ButterLib\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/BUTR/Bannerlord.ButterLib\" alt=\"Logo\"\u003e\n    \u003cimg src=\"https://github.com/BUTR/Bannerlord.ButterLib/blob/dev/resources/Butter.png?raw=true\" /\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n  \u003ca href=\"https://github.com/BUTR/Bannerlord.ButterLib\" alt=\"Lines Of Code\"\u003e\n    \u003cimg src=\"https://aschey.tech/tokei/github/BUTR/Bannerlord.ButterLib?category=code\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.codefactor.io/repository/github/butr/bannerlord.butterlib\"\u003e\n    \u003cimg src=\"https://www.codefactor.io/repository/github/butr/bannerlord.butterlib/badge\" alt=\"CodeFactor\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codeclimate.com/github/BUTR/Bannerlord.ButterLib/maintainability\"\u003e\n    \u003cimg alt=\"Code Climate maintainability\" src=\"https://img.shields.io/codeclimate/maintainability-percentage/BUTR/Bannerlord.ButterLib\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://butr.github.io/Bannerlord.ButterLib\" alt=\"Documentation\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Documentation-%F0%9F%94%8D-blue?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca title=\"Crowdin\" target=\"_blank\" href=\"https://crowdin.com/project/butterlib\"\u003e\n    \u003cimg src=\"https://badges.crowdin.net/butterlib/localized.svg\"\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n  \u003ca href=\"https://github.com/BUTR/Bannerlord.ButterLib/actions/workflows/test.yml?query=branch%3Adev\"\u003e\n    \u003cimg alt=\"GitHub Workflow Status (event)\" src=\"https://img.shields.io/github/actions/workflow/status/BUTR/Bannerlord.ButterLib/test.yml?branch=dev\u0026label=Game%20Stable%20and%20Beta\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/BUTR/Bannerlord.ButterLib/actions/workflows/test-full.yml?query=branch%3Adev\"\u003e\n    \u003cimg alt=\"GitHub Workflow Status (event)\" src=\"https://img.shields.io/github/actions/workflow/status/BUTR/Bannerlord.ButterLib/test-full.yml?branch=dev\u0026label=Supported%20Game%20Versions\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/BUTR/Bannerlord.ButterLib\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/BUTR/Bannerlord.ButterLib/branch/dev/graph/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Bannerlord.ButterLib\" alt=\"NuGet Bannerlord.ButterLib\"\u003e\n  \u003cimg src=\"https://img.shields.io/nuget/v/Bannerlord.ButterLib.svg?label=NuGet%20Bannerlord.ButterLib\u0026colorB=blue\" /\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n  \u003ca href=\"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018\" alt=\"NexusMods ButterLib\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/NexusMods-ButterLib-yellow.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018\" alt=\"NexusMods ButterLib\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnexusmods-version-pzk4e0ejol6j.runkit.sh%3FgameId%3Dmountandblade2bannerlord%26modId%3D2018\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018\" alt=\"NexusMods ButterLib\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnexusmods-downloads-ayuqql60xfxb.runkit.sh%2F%3Ftype%3Dunique%26gameId%3D3174%26modId%3D2018\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018\" alt=\"NexusMods ButterLib\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnexusmods-downloads-ayuqql60xfxb.runkit.sh%2F%3Ftype%3Dtotal%26gameId%3D3174%26modId%3D2018\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nexusmods.com/mountandblade2bannerlord/mods/2018\" alt=\"NexusMods ButterLib\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnexusmods-downloads-ayuqql60xfxb.runkit.sh%2F%3Ftype%3Dviews%26gameId%3D3174%26modId%3D2018\" /\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n  \u003ca href=\"https://steamcommunity.com/sharedfiles/filedetails/?id=2859232415\"\u003e\n    \u003cimg alt=\"Steam Mod Configuration Menu\" src=\"https://img.shields.io/badge/Steam-ButterLib-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://steamcommunity.com/sharedfiles/filedetails/?id=2859232415\"\u003e\n    \u003cimg alt=\"Steam Downloads\" src=\"https://img.shields.io/steam/downloads/2859232415?label=Downloads\u0026color=blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://steamcommunity.com/sharedfiles/filedetails/?id=2859232415\"\u003e\n    \u003cimg alt=\"Steam Views\" src=\"https://img.shields.io/steam/views/2859232415?label=Views\u0026color=blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://steamcommunity.com/sharedfiles/filedetails/?id=2859232415\"\u003e\n    \u003cimg alt=\"Steam Subscriptions\" src=\"https://img.shields.io/steam/subscriptions/2859232415?label=Subscriptions\u0026color=blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://steamcommunity.com/sharedfiles/filedetails/?id=2859232415\"\u003e\n    \u003cimg alt=\"Steam Favorites\" src=\"https://img.shields.io/steam/favorites/2859232415?label=Favorites\u0026color=blue\"\u003e\n  \u003c/a\u003e\n  \u003c/br\u003e\n\u003c/p\u003e\n\nExtension library for Mount \u0026 Blade II: Bannerlord.\n\n## Highlighted features:\n* [DelayedSubModule](https://butr.github.io/Bannerlord.ButterLib/articles/DelayedSubModule/Overview.html) - Execute code after specific SubModule method.\n* [DistanceMatrix](https://butr.github.io/Bannerlord.ButterLib/articles/DistanceMatrix/Overview.html) - Developer tools to calculate and use distances between different objects in the game.\n* [HotKeys](https://butterlib.butr.link/articles/HotKeys/Overview.html) - Event based wrapper around game's HotKey management.\n* [MBSubModuleBaseEx](https://butterlib.butr.link/articles/MBSubModuleBaseExtended/Overview.html) - Additional control over crucial parts of game and campaign loading or unloading.\n* [SaveSystem](https://butr.github.io/Bannerlord.ButterLib/articles/SaveSystem/Overview.html) - Provides helper methods for the game's save system.\n* [SubModuleWrappers](https://butr.github.io/Bannerlord.ButterLib/articles/SubModuleWrappers/Overview.html) - Wraps MBSubModulebase for easier calling of protected internal metods.\n* [DependencyInjection](https://butterlib.butr.link/articles/Optional/DependencyInjection/Overview.html) - Tools to work with ButterLib subsystems and services.\n* [Logging](https://butterlib.butr.link/articles/Optional/Logging/Overview.html) - Access to Serilog logging through ILogger Interface.\n\nCheck the [/Articles](https://butr.github.io/Bannerlord.ButterLib/articles/index.html) section in the documentation to see all available features!\n\n### Outdated features:\n* [AssemblyVerifier](https://butterlib.butr.link/articles/AssemblyVerifier/Overview.html) - Basic assembly compatibility checks.\n* [CampaignIdentifier](https://butr.github.io/Bannerlord.ButterLib/articles/CampaignIdentifier/Overview.html) - Associates unique string ID with every campaign based on the initial character.  \n\n## Installation\n### Players\nThis module should be one of the highest in loading order. Ideally, it should be second in load order after ``Bannerlord.Harmony``.\n### Developers\nAdd this to your `.csproj`. Please note that `IncludeAssets=\"compile\"` is very important!\n```xml\n  \u003cItemGroup\u003e\n    \u003cPackageReference Include=\"Bannerlord.ButterLib\" Version=\"1.0.31\" IncludeAssets=\"compile\" /\u003e\n  \u003c/ItemGroup\u003e\n```\n\n## For Players\nThis mod is a dependency mod that does not provide anything by itself. You need to additionaly install mods that use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutr%2Fbannerlord.butterlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutr%2Fbannerlord.butterlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutr%2Fbannerlord.butterlib/lists"}