Skip to content

API Clan set_gold

SolWayward edited this page Feb 11, 2026 · 2 revisions

gm.clan.set_gold

Endpoint: gm.clan.set_gold

Syntax

gm.clan.set_gold <clan> <amount>

Parameters

Parameter Type Required Description
clan string Yes Clan identifier (StringId or partial name match)
amount integer Yes Target total clan gold (minimum: 0)

Description

Sets the clan's total gold by first zeroing all member gold, then distributing the specified amount evenly among all living clan members.

Example

gm.clan.set_gold clan_empire_south_1 100000

Output:

Set {Clan Name}'s gold to 100000 (distributed among {member_count} members).
Previous clan gold: {previous_gold}, New clan gold: {new_gold}.

Zero out clan gold:

gm.clan.set_gold rebel_clan 0

Related Commands

Last Updated: 2026-02-10

BLGM Version: 1.3.14.3 Bannerlord Version: e1.3.1

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