-
Notifications
You must be signed in to change notification settings - Fork 0
API Kingdom equip_heroes
Endpoint: gm.kingdom.equip_heroes
gm.kingdom.equip_heroes <kingdom> [tier] [civilian] [includeNativeHeroes]
| Parameter | Type | Required | Description |
|---|---|---|---|
kingdom |
string | Yes | Kingdom identifier (StringId or partial name match) |
tier |
integer | No | Equipment tier (0+). Native items are tier 0-6, mods may add higher. Defaults to auto-calculated from hero level |
civilian |
boolean | No | Also replace civilian equipment (true/false). Defaults to false |
includeNativeHeroes |
boolean | No | If true, equips all heroes; if false, only BLGM-created heroes (true/false). Defaults to false |
Equips all heroes in a kingdom with level-appropriate equipment based on their combat skills. This command processes all clans in the kingdom and equips their heroes. The system analyzes each hero's skills to determine optimal weapon loadout and automatically selects culturally appropriate equipment.
The includeNativeHeroes parameter provides control over which heroes are equipped:
- false (default): Only equips heroes created by BLGM (via hero generation commands)
- true: Equips all heroes in the kingdom, including original game characters
This allows you to equip custom-generated heroes across an entire kingdom without modifying the equipment of native Bannerlord characters.
Supports named arguments: kingdom:vlandia tier:5 civilian:true includeNativeHeroes:false
Equip BLGM heroes in a kingdom with auto-calculated tier:
gm.kingdom.equip_heroes vlandiaOutput:
Equipped {count} heroes across {clan_count} clans in {Kingdom Name} with tier {tier} equipment.
Equip kingdom heroes with tier 5 equipment:
gm.kingdom.equip_heroes kingdom:vlandia tier:5gm.kingdom.equip_heroes 'Northern Empire' tier:4 civilian:trueEquip all heroes in kingdom, including native game characters:
gm.kingdom.equip_heroes kingdom:empire_w includeNativeHeroes:truegm.kingdom.equip_heroes kingdom:battania tier:6 civilian:true includeNativeHeroes:false- Only living heroes are equipped
- Dead heroes are automatically skipped
- Equipment is culturally appropriate to each hero's culture
- Weapon loadout is automatically derived from each hero's skills
- If tier is not specified, it's calculated per hero based on their level
- Processes all clans in the kingdom, including the ruling clan
- By default, only BLGM-created heroes are equipped to preserve native character appearances
- Large kingdoms may take a moment to process
- API-Hero-equip_hero - Equip a single hero
- API-Clan-equip_heroes - Equip all heroes in a clan
- API-Kingdom-Overview - Kingdom command overview
Last Updated: 2026-02-02
🏠 Home | Quick Reference | Syntax Guide
Hero Commands
- gm.hero.abort_pregnancy
- gm.hero.add_gold
- gm.hero.add_hero_to_party
- gm.hero.create_companions
- gm.hero.create_lord
- gm.hero.create_party
- gm.hero.divorce
- gm.hero.edit_appearance
- gm.hero.edit_party
- gm.hero.equip_hero
- gm.hero.export_character
- gm.hero.generate_lords
- gm.hero.give_birth
- gm.hero.heal
- gm.hero.import_character
- gm.hero.impregnate
- gm.hero.imprison
- gm.hero.kill
- gm.hero.list_appearances
- gm.hero.list_characters
- gm.hero.list_developments
- gm.hero.list_traits
- gm.hero.load_appearance
- gm.hero.load_character
- gm.hero.load_development
- gm.hero.load_traits
- gm.hero.marry
- gm.hero.open_inventory
- gm.hero.release
- gm.hero.remove_clan
- gm.hero.rename
- gm.hero.save_appearance
- gm.hero.save_development
- gm.hero.save_traits
- gm.hero.set_age
- gm.hero.set_clan
- gm.hero.set_culture
- gm.hero.set_gold
- gm.hero.set_relation
- gm.hero.start_convrsation
Clan Commands
- gm.clan.add_gold
- gm.clan.add_gold_leader
- gm.clan.add_hero
- gm.clan.add_renown
- gm.clan.create_clan
- gm.clan.create_minor_clan
- gm.clan.destroy
- gm.clan.edit_banner
- gm.clan.equip_heroes
- gm.clan.generate_clans
- gm.clan.give_gold
- gm.clan.rename
- gm.clan.set_culture
- gm.clan.set_gold
- gm.clan.set_leader
- gm.clan.set_renown
- gm.clan.set_tier
- gm.clan.sync_kingdom_colors
Kingdom Commands
- gm.kingdom.add_clan
- gm.kingdom.call_ally_to_war
- gm.kingdom.create_kingdom
- gm.kingdom.declare_alliance
- gm.kingdom.declare_war
- gm.kingdom.destroy
- gm.kingdom.edit_banner
- gm.kingdom.equip_heroes
- gm.kingdom.generate_kingdoms
- gm.kingdom.get_tribute_info
- gm.kingdom.make_peace
- gm.kingdom.pay_tribute
- gm.kingdom.remove_clan
- gm.kingdom.rename
- gm.kingdom.set_ruler
- gm.kingdom.sync_vassal_banners
- gm.kingdom.trade_agreement
Settlement Commands
- gm.settlement.add_militia
- gm.settlement.fill_garrison
- gm.settlement.give_food
- gm.settlement.give_gold
- gm.settlement.rename
- gm.settlement.reset_names
- gm.settlement.set_culture
- gm.settlement.set_hearths
- gm.settlement.set_loyalty
- gm.settlement.set_owner
- gm.settlement.set_owner_clan
- gm.settlement.set_prosperity
- gm.settlement.set_security
- gm.settlement.set_village_bound_settlement
- gm.settlement.set_village_trade_bound_settlement
- gm.settlement.spawn_wanderer
- gm.settlement.upgrade_buildings
Item Commands
- gm.item.add
- gm.item.equip
- gm.item.equip_slot
- gm.item.list_equipped
- gm.item.list_inventory
- gm.item.load_equipment
- gm.item.load_equipment_both
- gm.item.load_equipment_civilian
- gm.item.remove
- gm.item.remove_all
- gm.item.remove_equipped
- gm.item.remove_equipped_modifier
- gm.item.save_equipment
- gm.item.save_equipment_both
- gm.item.save_equipment_civilian
- gm.item.set_equipped_modifier
- gm.item.set_inventory_modifier
- gm.item.transfer
- gm.item.unequip
- gm.item.unequip_all
- gm.item.unequip_slot
Query Commands
- gm.query.character_objects
- gm.query.character_objects_any
- gm.query.character_objects_info
- gm.query.clan
- gm.query.clan_any
- gm.query.clan_info
- gm.query.culture
- gm.query.culture_info
- gm.query.hero
- gm.query.hero_any
- gm.query.hero_info
- gm.query.item
- gm.query.item_any
- gm.query.item_info
- gm.query.kingdom
- gm.query.kingdom_any
- gm.query.kingdom_info
- gm.query.modifier_info
- gm.query.modifiers
- gm.query.settlement
- gm.query.settlement_any
- gm.query.settlement_info
- gm.query.troop
- gm.query.troop_any
- gm.query.troop_info