'Spawn' console command

The spawn command lets you use a console command to spawn NPCs. See below for ways to use it
It will spawn the NPC at your cursor up to 25 meters away, if you’re pointing at the sky, it will try to find ground under your cursor, and will even try to snap the NPCs to slopes

Spawn [NumberToSpawn] [search strings and keywords]

Parameters

Notes

Keyword

What it does

If specified, this parameter must come first. Otherwise the number is read as a search word

{ numberToSpawn }

Spawns up to 100 of this NPC at a time in a grid. See the Spacing command to define how far apart from each other they will spawn.

exact

Instead of searching as substrings, forces an exact match

thrall

Spawns the NPC as a thrall in your inventory

kill

Kills all the NPCs previously spawned from this command

These keywords are Memorized between calls to the command

notify

Enables the notification on the side of the screen

silent

Disables the notification

r{number}

Sets the rotation of the NPC compared to you, eg r90, r0, r180, r-45

s{number}

Spacing in cm between NPCs when spawning multiple. e.g. s100, s50, s600

a{number}

Spawn the NPC with a specific attack. e.g. a20736. This will only works with non humanoid NPC. This command will not be memorized between calls to the command.

Examples

datacmd spawn fighter

AbandonedCity_Skeleton_Fighter

Spawns the first fighter in the database

datacmd spawn kappa red

Wildlife_KappaRed

Spawns red Shaleback (they’re called kappas in data)

datacmd spawn kappa

Wildlife_KappaRed

There are other Kappas in the data before this one, but it prefers to spawn previously matched entries like favorites!

datacmd spawn 3 dancer r90

Aesir_Dancer_1

Spawns 3 dancers with rotation 90 degrees

datacmd spawn

Depends

Repeats the last spawn command.

datacmd spawn cook thrall 2

Aesir_Cook_2

Spawns an Aesir cook at level 2 in your inventory

datacmd spawn 16 rabbit s600

Wildlife_rabbit

Spawns 16 rabbits in a grid, 6 meters apart

datacmd spawn kill

Removes everything (except thralls) you’ve spawned

datacmd spawn exact aesir_armorer_4

aesir_armorer_4

Spawns this exact NPC even though there is Aesir_armorer_4_Purge in front of it in the data

datacmd spawn wildlife_frost_giant_armor A20736

wildlife_frost_giant_armor

Spawn a Frost Giant with taunt as its only attack

datacmd spawn wildlife_frost_giant_armor A20736 A20734

wildlife_frost_giant_armor

Spawn a Frost Giant with taunt and stomp as its attacks