Skip to content

API Item load_equipment_both

SolWayward edited this page Dec 22, 2025 · 2 revisions

load_equipment_both

Endpoint: gm.item.load_equipment_both

Syntax

gm.item.load_equipment_both <hero_query> <filename>

Parameters

Parameter Type Required Description
hero_query string Yes Hero identifier (StringId or partial name match)
filename string Yes Base name of the equipment files (without extension)

Examples

gm.item.load_equipment_both player complete_setup

Output:

Loaded battle equipment for Player from Documents\Mount and Blade II Bannerlord\Configs\GameMaster\HeroSets\complete_setup.json. Equipped 6 items.
Loaded civilian equipment for Player from Documents\Mount and Blade II Bannerlord\Configs\GameMaster\HeroSets\civilian\complete_setup.json. Equipped 3 items.
gm.item.load_equipment_both companion lord_template

File Locations

Battle Equipment:

Documents\Mount and Blade II Bannerlord\Configs\GameMaster\HeroSets\{filename}.json

Civilian Equipment:

Documents\Mount and Blade II Bannerlord\Configs\GameMaster\HeroSets\civilian\{filename}.json

Notes

NOTE: Loads both battle and civilian equipment from previously saved JSON files with a single command.

NOTE: Handles cases where only one file exists gracefully - loads available equipment and reports which files were found/missing.

TIP: This is the most convenient way to restore a complete equipment backup or apply a full equipment template.

Related Commands

Last Updated: 2025-12-16

Quick Links

🏠 Home | Quick Reference | Syntax Guide


Hero Commands
Clan Commands
Kingdom Commands
Settlement Commands
Item Commands
Troop Commands
Caravan Commands
Bandit Commands
Query Commands

Clone this wiki locally