Skip to content

API Item remove_all

SolWayward edited this page Dec 22, 2025 · 2 revisions

remove_all

Endpoint: gm.item.remove_all

Syntax

gm.item.remove_all <hero_query>

Parameters

Parameter Type Required Description
hero_query string Yes Hero identifier (StringId or partial name match)

Examples

gm.item.remove_all player

Output:

Removed all items (12 types) from Player's party inventory.
gm.item.remove_all lord_1_1

Notes

WARNING: This permanently removes ALL items from the party's inventory. Use with caution.

TIP: Use gm.item.list_inventory to check contents before clearing.

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