DestroyTribeStructuresLessThan

DestroyTribeStructuresLessThan command

Removes structures owned by the tribe with the given TribeTeamID that have fewer than the specified number of Connections (snapped neighbors); the example clears every isolated structure owned by the tribe with ID 1234567890.

Argument information
  • <Tribe Team ID>type: number

    The numeric ID of the target tribe.

  • <Connections>type: text

    The snapped-structure count threshold — tribe structures with fewer connections than this are destroyed.

Command builder

Tribe Team ID
Connections

Examples

This console command removes structures owned by the tribe with team ID 1234567890 that have fewer than 2 snapped connections, clearing every isolated structure that tribe owns.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.