(Official) Console Documentation
kill
Kill the current player, all NPCs or all NPCs of a type.
Kill the current player, all NPCs or all NPCs of a type.
kill -a -p [npctype]
-a – kill all NPCs. -p – kill the current player [npctype] – kill all NPCs of this type.
Examples: kill -a – this will kill all NPCs. kill -p – this will kill the current player. kill goblin – this will kill all goblins.