Configure Server Events and Raids
Control raid frequency, event types, and base defense mechanics on your Valheim server.
Valheim's event system sends waves of enemies to attack player bases. These raids scale with boss progression and can be customized with world modifiers.
How Raids Work
- Raids trigger randomly near players who are close to player-built structures
- The type of raid depends on which bosses have been defeated
- Raids last a few minutes and spawn waves of enemies around the base
- Players must fight off the attackers to end the event early
Raid Types by Progression
| Bosses Defeated | Possible Raids |
|---|---|
| None | Boar rush, Neck attack |
| Eikthyr | Greydwarf attack |
| The Elder | Troll attack, Skeleton surprise |
| Bonemass | Draugr army, Blob attack |
| Moder | Drake raid |
| Yagluth | Fuling raid, Goblin army |
Configure Raid Frequency
Via Panel
Go to Startup
In the sidebar, click Startup.
Set the Raids modifier
Find the Raids world modifier and select your preference:
| Value | Effect |
|---|---|
| None | Raids are completely disabled |
| Much Less | Very rare raids |
| Less | Fewer raids than normal |
| (default) | Standard raid frequency |
| More | More frequent raids |
| Much More | Very frequent raids |
Via Console
As admin, open the console (F5) and type:
setworldmodifier raids none
saveDisable Raids Entirely
For building-focused or casual servers:
Set the raids modifier to None in Startup, or use the console:
setworldmodifier raids none
save💡 Tip: The
hammerdifficulty preset disables raids and enables no-build-cost mode, making it ideal for pure building servers.
Player Events Key
The playerevents set key makes events only trigger when players are near. This means raids only happen when someone is actively at their base, not when they're exploring.
Enable via startup parameter:
-setkey playereventsBase Defense Tips
For servers that keep raids enabled:
- Build walls — surround your base with stake walls or stone walls
- Dig trenches — enemies can't cross deep trenches easily
- Light the area — torches and fires keep the area visible at night
- Workbench coverage — workbenches prevent enemy spawns within their radius
- Ward placement — wards protect against other players but not raid mobs
Raid-Focused Server
For servers that want more combat challenge:
setworldmodifier raids muchmore
setworldmodifier combat hard
saveThis creates a base defense experience where players need strong fortifications to survive.
Related Guides
See also: World Modifiers | Change Difficulty | Server Startup Parameters
If you need help, join our Discord.
How is this guide?
