Skip to content

API Bandit remove_all

SolWayward edited this page Jan 7, 2026 · 1 revision

Bandit remove_all

Endpoint: gm.bandit.remove_all

Syntax

gm.bandit.remove_all <confirmation>

Parameters

Parameter Type Required Description
confirmation string Yes Must be exactly 'confirm' to execute this destructive operation

Named Arguments

Supports named argument notation:

  • confirmation:<value> - Specify confirmation value (must be 'confirm')

Description

Removes ALL bandit parties AND ALL bandit hideouts from the entire game world. This is a destructive operation that cannot be undone and requires explicit confirmation to prevent accidental execution.

Examples

Example 1: Complete Bandit Elimination

gm.bandit.remove_all confirm

Output:

Removed all bandits from the game.
Parties destroyed: 45
Hideouts cleared: 12

Remaining Counts:
Total Parties: 0
Total Hideouts: 0

By Type:
  Looters: 0 parties, 0 hideouts
  Deserters: 0 parties, 0 hideouts
  Forest Bandits: 0 parties, 0 hideouts
  Mountain Bandits: 0 parties, 0 hideouts
  Sea Raiders: 0 parties, 0 hideouts
  Steppe Bandits: 0 parties, 0 hideouts

Example 2: Failed Execution (Wrong Confirmation)

gm.bandit.remove_all yes

Output:

ERROR: Invalid confirmation value: 'yes'. Must be 'confirm' to execute this command.

Example 3: Using Named Arguments

gm.bandit.remove_all confirmation:confirm

Output:

Removed all bandits from the game.
Parties destroyed: 45
Hideouts cleared: 12
...

Use Cases

  • Create completely peaceful gameplay without bandit interference
  • Test scenarios requiring no bandit presence
  • Remove all bandits for custom difficulty settings
  • Prepare world for specific roleplay scenarios
  • Clear bandits before major testing or demonstration

Notes

  • WARNING: This operation is PERMANENT until natural game respawn mechanics
  • Requires explicit 'confirm' confirmation to prevent accidental execution
  • Removes ALL parties and ALL hideouts of ALL bandit types
  • Natural game mechanics will slowly respawn bandits over time
  • Consider using selective removal commands for partial bandit reduction
  • Always use gm.bandit.count first to see what will be removed

Impact

Complete bandit elimination affects gameplay:

  • Trade Routes: Caravans become extremely safe
  • Villages: No longer harassed by bandits
  • Economy: Reduced income from bandit hunting
  • Prisoners: No bandit prisoner source for armies
  • Difficulty: Significantly reduces early to mid-game challenge
  • Respawn: Bandits will slowly respawn through game mechanics

Strategy

Consider alternatives before complete removal:

Option 1: Selective Removal

gm.bandit.destroy_bandit_parties looters,deserters

Remove only low-tier bandits, keeping challenge from elite types.

Option 2: Partial Clearing

gm.bandit.clear_hideouts all
gm.bandit.destroy_bandit_parties all 30

Clear hideouts and most parties, but leave some for gameplay.

Option 3: Complete Removal

gm.bandit.remove_all confirm

Only use when you truly want NO bandit presence.

Related Commands

Last Updated: 2026-01-06

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