This command kills all nearby enemies and tamed creatures.
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.
The killall
command instantly kills all the nearby enemies and tamed creatures in the game, offering a quick way to clear the area for the player.