Skip to content

API Query Hero hero_info

SolWayward edited this page Dec 22, 2025 · 2 revisions

gm.query.hero_info

Endpoint: gm.query.hero_info

Syntax

gm.query.hero_info <heroId>

Description

Get detailed information about a specific hero by their StringId. Displays comprehensive hero information including status, clan, kingdom, and all applicable type flags.

Parameters

Parameter Type Required Description
heroId string Yes Hero's StringId (exact match required)

Examples

Get detailed hero information:

gm.query.hero_info lord_1_1

Get wanderer information:

gm.query.hero_info wanderer_empire_1

Get notable information:

gm.query.hero_info notable_merchant_5

Output

Success: Displays comprehensive hero information including:

  • ID and Name
  • Clan and Kingdom affiliation
  • Age
  • All applicable types (Lord, ClanLeader, KingdomRuler, etc.)
  • Status (Alive/Dead, Prisoner status)
  • Additional role information if applicable

Example output:

Hero Information:
ID: lord_1_1
Name: Raganvad
Clan: Clan Gundaroving
Kingdom: Sturgia
Age: 45
Types: Lord, Male, ClanLeader, KingdomRuler, PartyLeader, Married
Status: Alive

Notes

TIP: Use gm.query.hero to find the exact StringId before using this command.

NOTE: The StringId must be an exact match. Use query commands to locate heroes if you're unsure of the exact ID.

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