-
Notifications
You must be signed in to change notification settings - Fork 0
API Clan edit_banner
Endpoint: gm.clan.edit_banner
gm.clan.edit_banner <clan> [removeExtraIcons:false]
| Parameter | Type | Required | Description |
|---|---|---|---|
clan |
string | Yes | Clan identifier (StringId or partial name match). If the clan is a ruler of a kingdom, then the kingdom banner and colors are updated |
removeExtraIcons |
bool | No | When true, removes all icons except the last one (main icon), centers it, and resets rotation. Defaults to false. If cancelled, the original multi-icon banner is fully restored. |
This command supports named argument notation, allowing you to specify the clan using the format argName:value (with a colon and no spaces).
Examples:
# Using named arguments
gm.clan.edit_banner clan:'dey meroc'
# Using positional argument
gm.clan.edit_banner player
# Strip to single icon before editing
gm.clan.edit_banner 'dey Meroc' removeExtraIcons:true
gm.clan.edit_banner clan:sturgia removeExtraIcons:trueOpens the native Bannerlord banner editor for the specified clan, allowing you to customize the clan's banner design. If the clan is the ruling clan of a kingdom, then the kingdom banner will be updated which will update the banner colors of vassal clans that are members of the kingdom. Vassal member clan banners can edited after updating the kingdom banner to diverge their banner colors from the kingdom colors. Clothing / Armor colors will always match the kingdom colors instead of the clan colors if the clan is a member of a kingdom, but shields will retain the clan colors over the kingdom colors.
Remove Extra Icons: Many banners in Bannerlord have multiple layered icons. The banner editor only allows editing one icon at a time, and the primary (main) icon is often the last layer, hidden behind other decorative layers. Using removeExtraIcons:true strips all icons except the main icon, centers it, and resets its rotation to 0. This allows you to clearly see and edit the primary icon. If you cancel the editor, the original multi-icon banner is fully restored. This also works on single-icon banners to reset a rotated or off-center icon.
Kingdom Banner Effects: When you edit the banner for a clan that rules a kingdom, the changes will also update the kingdom's banner. This means all vassal clans that are members of that kingdom will reflect the new banner design, as kingdom banners are inherited from the ruling clan.
Important: The banner editor must be enabled in the campaign for this command to work. The editor provides access to all available banner icons, colors, and design elements.
# Open banner editor for player's clan
gm.clan.edit_banner playerOutput:
Opened banner editor for clan '{Player Clan Name}' (ID: {clan_id})
# Edit banner for Meroc clan
gm.clan.edit_banner Meroc
# Edit banner for dey Meroc clan using single quotes for multi-word name
gm.clan.edit_banner 'dey Meroc'# Strip multi-icon banner to single icon before editing
gm.clan.edit_banner 'dey Meroc' removeExtraIcons:true
# Reset rotation on a single-icon banner using named argument
gm.clan.edit_banner clan:sturgia removeExtraIcons:trueOutput:
Opened banner editor for clan 'dey Meroc' (ID: clan_dey_meroc) (stripped to single icon)
Clan names or clanIds can be used.
If using clan names with spaces, use single quotes 'dey Rothad' Alternatively, you can just use rothad without single quotes omitting the dey
Find Clans: Use query commands to find the exact clan identifier:
gm.query.clan empire
gm.query.clan --kingdom vlandiaRuling Clan Effects: Remember that changing a ruling clan's banner affects the entire kingdom:
- The kingdom banner is updated to match the ruling clan's banner
- All vassal clans display this banner as their kingdom affiliation
- The banner appears on kingdom troops, settlements, and diplomatic screens
Named Arguments: Use named notation for clarity:
gm.clan.edit_banner clan:sturgiaIcon Stripping: Use removeExtraIcons:true when:
- The banner has multiple layered icons and you want to edit just the main icon
- The main icon is rotated or off-center and you want to reset it
- You want a cleaner starting point for redesigning the banner
- If you cancel, the original banner is fully restored
- API-Clan-Overview - All clan commands
- gm.clan.create_clan - Create new clan
- gm.clan.rename - Rename a clan
- gm.clan.set_culture - Change clan culture
- gm.query.clan - Find clans
Banner Editor Availability: The banner editor must be enabled in the campaign. If it's disabled, the command will return an error message.
Ruling Clan Impact: When you edit the banner for a clan that rules a kingdom:
- The kingdom's banner is automatically updated
- All kingdom settlements display the new banner
- Kingdom troops carry the new banner into battle
- Vassal clans show the new banner as their kingdom affiliation
- The change is immediate and persists through save/load cycles
Visual Changes: Banner modifications made through the editor are saved immediately and affect:
- Clan's visual representation on the map
- Kingdom's visual representation (if ruling clan)
- Troop banners in battle
- Settlement flags and decorations
- Diplomatic screens and UI elements
Save Persistence: Banner changes persist through save/load cycles and are stored with the clan data.
Last Updated: 2026-02-10
BLGM Version: 1.3.14.3 Bannerlord Version: e1.3.1
🏠 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