GetOffMyLawn
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.
模組介紹 作者原文
🚫 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
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: