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 DefeatedPossible Raids
NoneBoar rush, Neck attack
EikthyrGreydwarf attack
The ElderTroll attack, Skeleton surprise
BonemassDraugr army, Blob attack
ModerDrake raid
YagluthFuling 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:

ValueEffect
NoneRaids are completely disabled
Much LessVery rare raids
LessFewer raids than normal
(default)Standard raid frequency
MoreMore frequent raids
Much MoreVery frequent raids

Via Console

As admin, open the console (F5) and type:

setworldmodifier raids none
save

Disable 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 hammer difficulty 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 playerevents

Base 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
save

This creates a base defense experience where players need strong fortifications to survive.

See also: World Modifiers | Change Difficulty | Server Startup Parameters

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page