GetOffMyLawn

v0.3.1·Updated 2026-10-04

Strictly server-side Valheim 1.0 mod - no client install ever. Active wards keep wild creatures (and raids) out of your base, and doors inside wards close themselves.

About this mod Author’s original text

🚫 Get Off My Lawn

Your wards finally keep the greydwarfs out. No client install, ever. The server does the work.

A vanilla ward stops other players from building and using things inside it. It does nothing about

the troll walking through the gate. Get Off My Lawn makes every active player ward a creature barrier,

and closes the doors people leave open - entirely from the dedicated server, working on the world's raw

ZDO data, so Steam, Xbox, PlayFab and crossplay parties all get it with nothing installed on their side.

🛡️ Creature Blocking

Every switched-on player ward (the vanilla guard stone, plus any modded ward that uses the vanilla

PrivateArea component with the player faction) keeps wild creatures out of its radius.

  • Bounce (default): a creature found inside the ward is put back just outside the edge. Walk in,

get pushed out - the ward visibly repels it. A monster that keeps charging gets bounced every scan.

  • Despawn: the creature is removed the moment it is inside.
  • Escalation (optional): in Bounce mode, a creature bounced DespawnAfterBounces times within

BounceWindowSeconds is despawned - for the wolf pack that will not take the hint.

  • Raids are blocked by default (IncludeEventCreatures): an active ward keeps the raid out of the

base. Set it off to let raids behave as vanilla.

  • Never touched: tamed creatures, a tameable creature whose taming has begun (your wolf in the

warded pen stays put), player summons, training dummies, and anything on ExcludedFactions /

ExcludedPrefabs. Bosses are excluded by default (IncludeBosses).

  • WardRadius sets the effective barrier radius in metres (default 32m, exactly matching vanilla guard stone range; set to 0 to use each prefab's native radius). RadiusBonus adds extra metres on top; MaxVerticalDistance stops a hilltop ward policing a cave below it.

[!NOTE]

How Ward Radius Control Works:

  • Default 32m: Matches vanilla Valheim's native guard_stone radius so the creature barrier lines up with your build boundary out of the box.
  • Custom Sizing: Set WardRadius to any desired radius (e.g. 50m, 100m) or use RadiusBonus for extra margin. Setting WardRadius = 0 automatically falls back to each ward prefab's native radius.
  • Auto-Close Doors: If OnlyInsideWards = true, this radius also defines which doors are protected and auto-closed inside the perimeter.
  • Server vs Client Boundary: Because GetOffMyLawn is strictly server-side, this setting directly governs all creature detection, repelling, despawning, and door enforcement. Vanilla client building protection (CheckAccess) is evaluated client-side against local game files (32m), so players without client mods will still see building prevented at 32m.

Only active wards count, exactly like vanilla build protection. Faction wards (the dvergr ones) stay

vanilla.

🚪 Auto-Closing Doors

A door or gate standing inside an active ward that has been open for longer than Delay (default 10s)

closes itself - unless a player is within PlayerClearance metres of it, in which case it waits for them

to step away. Key doors and one-way dungeon doors are never touched. OnlyInsideWards = false turns it

into a global auto-close for every door near a player, warded or not.

🔦 Visible Shield

Active wards can continuously display their shield dome while active, and also flash reactively when

repelling intruders:

  • Continuous visibility (AlwaysVisible, default off): active wards pulse their vanilla shield

shimmer periodically (AlwaysVisibleInterval, default 1.3s, tightened for an overlapping shimmer wave)

to keep the shield dome continuously visible while active.

  • Reactive shimmer: every time an active ward bounces or despawns a creature, it immediately flashes

the shield dome. Throttled per ward (MinInterval, default 1.5s) so repeated hits don't strobe, and

automatically resets the periodic timer to keep the effect seamless.

Both visual effects reuse Valheim's built-in PrivateArea FlashShield RPC triggered straight from the

dedicated server: not

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
GetOffMyLawn-0.3.1.zip
File size
165.5 KiB