Cheat
This command kills all nearby enemies and tamed creatures.
Examples
Here is an example of how to use killall.
Kills every loaded creature, hostile or tamed, except players. Players are unaffected.
In-Depth Description
The `killall` command in Valheim is an area-clearing tool.
When you input this command, every creature in a certain vicinity, both enemy mobs and your tamed animals, will instantly die.
Keep in mind that it doesn't differentiate between friend or foe. This is why all tamed creatures such as boars, lox or wolves, will die along with the enemy creatures.
This command can be helpful in a variety of situations. For example, if your base is getting overwhelmed by a swarm of Greydwarves or a group of Trolls, it can be used to quickly clear the area and spare your structures from damage.
It can also be a lifesaver if you're out exploring and suddenly find yourself surrounded by too many hostile creatures.