Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
GetOffMyLawn
Server-side only, nothing for players to install. Active wards keep wild creatures and raids out, stop spawns inside, close doors left open and whisper the owner when someone walks in uninvited.
| Date uploaded | 3 days ago |
| Version | 0.3.4 |
| Download link | Wubarrk-GetOffMyLawn-0.3.4.zip |
| Downloads | 69 |
| Dependency string | Wubarrk-GetOffMyLawn-0.3.4 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
🚫 Get Off My Lawn
| 🧌 Kept out | 🚫 No spawns | 🚪 Doors shut | 🗣️ Trespass |
|---|---|---|---|
| creatures bounced out | nothing appears inside | left open, closed | the owner is told |
"He built the stone, he lit the runes, and still the greydwarf walked through the gate like it paid rent. Now the stone answers back."
Your ward finally keeps the greydwarfs out. Nobody installs a thing.
A vanilla ward stops other players from building inside it. It does nothing about the troll walking through the gate. Get Off My Lawn makes every switched-on player ward a creature barrier, stops anything spawning inside it, closes the doors people leave open and tells you when someone walks in uninvited.
It all runs on the dedicated server, on the world's own data, so Steam, Xbox and PlayStation players in a crossplay world get it with the plain game.
Nothing spawns inside your ward any more, bounced creatures land on the real ground, and you hear about visitors.
| You | It |
|---|---|
| build inside an active ward | wild creatures that would spawn there are removed the moment they appear (NoSpawnInsideWards) |
| ward a base on a hill or on raised ground | a bounced creature lands on the ground the players see, terraforming included, not in mid-air or under it |
| ward a base by the sea or beside a neighbour | the bounce tries angles around the ward for dry, open ground, so creatures no longer land in the water or in someone's wall |
| are away while a stranger walks into your ward | if you are online you get a whisper in chat naming them, and the ward flashes |
🔹 Also: wards whose stone sits just outside the area players are loading now count too, so creatures in that strip are no longer missed.
| If… | Then… | |
|---|---|---|
| 🏰 | you run a dedicated server | install it there only. Players install nothing, on any platform. |
| 🛡️ | you want a ward to count | it must be switched on, exactly like vanilla build protection |
| ⚔️ | you want raids to reach your base | turn IncludeEventCreatures off; by default an active ward keeps raids out |
| 🗣️ | you get a trespass whisper | it shows under your own name in chat, in the soft whisper colour; vanilla writes whispers in lower case |
Every switched-on player ward keeps wild creatures out of its radius.
| You | It |
|---|---|
| 🧌 watch a troll walk in | it is put back just outside the edge (Mode Bounce), or removed (Despawn) |
| 🌱 build where things spawn | wild creatures that spawn inside the ward are removed at once (NoSpawnInsideWards) |
| 🐺 tame a wolf in a warded pen | tamed creatures, creatures being tamed, newborns, summons and bosses are never touched |
| 🔁 see one keep charging | DespawnAfterBounces removes a creature bounced that many times in BounceWindowSeconds (off by default) |
| 📏 want a bigger barrier | WardRadius (32 m, a vanilla ward's own reach) and RadiusBonus |
📖 Read the saga — how a server moves a creature it cannot see
The server has no creatures. A dedicated server builds nothing near players: a creature there is only a record owned by the player's game that runs its AI. So the server takes the record for a moment (OwnershipHandBackDelay), writes the new position past everything the player's game still has in flight, and hands it back. The creature snaps to the new spot and carries on.
Where it lands. The straight line out from the ward first, then angles around it, each spot measured on the ground the players actually see: the game's own terrain recipe, hoe and pickaxe work included. Walkers need dry ground clear of buildings, trees and rocks; serpents need water; flyers keep their height above the ground.
No spawning. Everything a player's game spawns reaches the server as a new record. A wild creature that arrives inside an active ward is removed before it takes a step.
What it costs. A bounced creature is frozen and cannot be hit for the hand-back (0.75 s), and a running troll gets about one stride inside the edge before it is put back. Lower ScanInterval for a tighter line.
A door left open inside an active ward closes itself.
| You | It |
|---|---|
| 🚪 leave a gate open | it closes after Delay seconds |
| 🧍 stand in the doorway | it waits until nobody is within PlayerClearance m |
| 🌉 lower a drawbridge | left alone: drawbridges and shutters are on ExcludedDoorPrefabs |
| 🗝️ open a crypt door | key doors and one-way dungeon doors are never touched |
The ward's own vanilla shield shimmers when it does something.
| You | It |
|---|---|
| 🧌 watch it repel a creature | the ward flashes its dome, at most every MinInterval s |
| ✨ want the dome always showing | AlwaysVisible pulses it every AlwaysVisibleInterval s |
It is the game's own shield effect, sent from the server, so only players close enough to have the ward loaded see it.
Someone walks into your ward uninvited, and you hear about it.
| You | It |
|---|---|
| 🗣️ are online when a stranger walks in | a whisper in your chat names them and the ward's spot |
| 🤝 added them to the ward | permitted players and the builder are never reported |
| ⏱️ have a regular visitor | once per visit, and not again for CooldownSeconds s |
| 🔦 want everyone nearby to see it | FlashShield flashes the ward when they cross the line |
What the main dials are set to out of the box. All set on the server.
| Dial | Setting | Default | Range |
|---|---|---|---|
| barrier radius, m | WardRadius (2) |
32 | 0 to 150 |
| how far outside the edge a creature lands, m | BounceMargin (2) |
2 | 0.5 to 20 |
| nothing spawns inside a ward | NoSpawnInsideWards (2) |
true | on / off |
| raids kept out | IncludeEventCreatures (2) |
true | on / off |
| seconds between scans | ScanInterval (1) |
0.3 | 0.1 to 5 |
| seconds before an open door closes | Delay (3) |
10 | 1 to 600 |
| never shut on someone this close, m | PlayerClearance (3) |
3 | 0 to 30 |
| trespass whisper | Enabled (5) |
true | on / off |
| seconds before the same visitor is reported again | CooldownSeconds (5) |
300 | 10 to 86,400 |
First ten minutes: drop GetOffMyLawn.dll into the server's BepInEx/plugins → restart → switch on a ward → watch the next greydwarf get put back over the line. The server log prints a summary every 5 minutes when anything happened; VerboseLogging logs every bounce, stopped spawn, door and trespass.
| 🌍 Works with vanilla players | 🏰 Needs it on the server | 🤝 Needs it on both ends |
|---|---|---|
| everything: every player, PC or console, uses the plain game | everything: it is a server-only mod | nothing |
Player-hosted worlds: it runs on the host too. The host's own creatures are moved directly; spawns are stopped on a dedicated server, where every spawn arrives from a player's game.
| Mod | How they get on |
|---|---|
| Modded wards | count if they use the vanilla ward component with the player faction; dvergr faction wards stay vanilla |
| Wonderland, TortalPortal Lite | checked: each touches object ownership only for its own objects |
| Client mods | none needed; players with mods are unaffected |
BepInEx/config/wubarrk.getoffmylawn.cfg on the server, picked up within 5 seconds, no restart.
🔒 Server — every setting lives on the server
| Section | Settings |
|---|---|
| 1 - General | Enabled · VerboseLogging · ScanInterval · OwnershipHandBackDelay |
| 2 - Creature Blocking | Enabled · Mode · NoSpawnInsideWards · WardRadius · RadiusBonus · BounceMargin · MaxVerticalDistance · IncludeAnimals · IncludeBosses · IncludeEventCreatures · SkipTamingInProgress · ExcludedFactions · ExcludedPrefabs · DespawnAfterBounces · BounceWindowSeconds |
| 3 - Auto Close Doors | Enabled · Delay · PlayerClearance · OnlyInsideWards · ExcludedDoorPrefabs |
| 4 - Visible Shield | Enabled · AlwaysVisible · AlwaysVisibleInterval · MinInterval |
| 5 - Trespass Notice | Enabled · CooldownSeconds · FlashShield |
Every entry carries its own description and range in the file.
Needs: BepInExPack for Valheim · Ground probe: shared with TortalPortal Lite · Made by Wubarrk.
ᛟ The runes on this page — every banner is sealed with one
| Rune | Means | Seals |
|---|---|---|
| the elk, protection | the name: the ward that keeps them out | |
| dawn, a new day | what is new | |
| need, what must be | what you need to know first | |
| Thor's thorn, thunder | creatures kept out | |
| the seed, a thing complete | the doors that close themselves | |
| the sun, victory | the shield you can see | |
| Odin's word, a message | the trespass whisper | |
| the harvest, the year's reckoning | the ledger of defaults | |
| cattle, wealth earned | the toolbox | |
| the gift, give and take | multiplayer | |
| humankind, the folk | other mods | |
| water, the flow | the settings | |
| the homestead, heritage | the credits |
CHANGELOG
Changelog
0.3.4
Added
- Nothing spawns inside an active ward (
NoSpawnInsideWards, on). A wild creature a player's game spawns inside a switched-on ward (spawn system, creature spawners, raids) is removed the moment it reaches the server, instead of being bounced out at the gate. The bounce filters apply: tamed creatures (newborns and hatched chicks are tamed from birth), creatures being tamed, bosses, summons and excluded prefabs are never touched; raids followIncludeEventCreatures. Works on a dedicated server, where every spawn arrives from a player's game. - The trespass whisper (new section
5 - Trespass Notice:Enabledon,CooldownSeconds300,FlashShieldon). When a player who is neither the ward's builder nor on its permitted list walks into an active ward, the owner (if online) gets a whisper in game chat naming them and the ward's spot, and the ward flashes. Once per visit, then not again for the cooldown. It is vanilla's own whisper, sent under the owner's own platform id: a client prints a chat line only for a sender it knows, and a made-up "server" sender is silently dropped.
Fixed
- Bounced creatures landed at the wrong height. A creature kept the height it had inside the ward, corrected only to be no lower than the world generator's base height, which ignores terraforming and is off by metres at biome borders. On a hill or a raised base that dropped creatures from the air or buried them. The exit is now measured on the ground the players see (the game's own terrain recipe, terraforming included, shared with TortalPortal Lite): walkers land on it, serpents stay on the water, flyers keep their height above the ground.
- The bounce always went straight out from the ward centre, which could end in the sea, in a neighbour's wall or against a rock. It now tries the straight line first, then angles around the ward (20 degree steps) for dry, lava-free ground clear of building pieces, trees, logs and rocks. If no angle passes, the straight-line spot is used with the height corrected, so a bounce never fails where it used to work.
- Wards just outside the scanned area were missed. Wards were only collected from the sectors players simulate, but a ward centred one sector further out still reaches up to 32 m into them, and creatures in that strip walked in unbounced. Wards are now also read from one ring wider (cached every 2 s).
Changed
- The 5-minute summary also counts stopped spawns and trespass notices.
- Checked against Valheim 1.0.30 and 1.0.31: builds clean against the 1.0.31 server, and the ownership hold still rests on
unchanged vanilla behaviour (the data-revision ordering in
ZDOMan.RPC_ZDOData,ReleaseNearbyZDOS, the became-owner snap inZSyncTransform). A headless 1.0.31 server boot loads it with no errors. - The store page is rebuilt to README schema v3.1, and the package carries
GetOffMyLawn.pdb(matching the DLL). - (0.3.3 was published on Thunderstore on 2026-11-13 with no record in this source; 0.3.4 supersedes it.)
0.3.2
Changed
- Rebuilt and checked against Valheim 1.0.21 (network version 41) and re-verified: a static reference check against both the client and dedicated-server assemblies, and a headless dedicated-server boot. No source changes were needed: 1.0.21 touched none of the ZDO, ZDOMan, ZNetScene or door code this mod relies on.
- Website link moved to https://www.rossgilsonlabs.dev.
- Needs BepInExPack Valheim 5.4.2360.
0.3.1
Changed
- Rebuilt against Valheim 1.0.16 (client build 25527674 / dedicated server build 25527701, network
version 40, unchanged from 1.0.15) and re-verified: a static reference check against both the client
and dedicated-server assemblies, and a headless 1.0.16 dedicated-server boot. No source changes were
needed for compatibility — 1.0.16 removed only
ObjectDB.GetAllFoodItems()andButtonSfx.Start(), and this mod calls neither. - Dropped stale references to a specific past Valheim patch (Steam build id, versioned-decompile
citation) from the csproj, README and
OwnershipHold.cs; they now read version-agnostically ("Valheim 1.0", "vanilla ZDOMan.RPC_ZDOData") since the mod targets whatever the current 1.0.x dedicated server is rather than one pinned patch.
0.3.0
Added
- Configurable ward radius. Added
WardRadiusto[2 - Creature Blocking]with a 32m default matching vanilla guard stones (set to0to use each prefab's native radius). Governs creature barrier reach and door auto-close perimeter.RadiusBonuscontinues to work on top. - Continuous shield shimmer pulse option. Added
AlwaysVisible(defaultfalse) andAlwaysVisibleInterval(default1.3s) to[4 - Visible Shield]. Tightened the default pulse timer to 1.3s so when enabled, overlapping pulses create an undulating shimmer wave rather than spaced flickers.
Fixed
- Independent reactive flash and periodic pulse throttles. Creature bounces flash immediately while automatically resetting the periodic shimmer timer, avoiding double-shimmer artifacts.
- Shield scan gate. Wards now update visual shield presence whenever
AlwaysVisibleis active even if creature blocking and auto-door closing are both disabled.
0.2.1
Changed
- Startup log line no longer pins a Valheim patch version. The
Starting GetOffMyLawn v<version>...line read "built for Valheim 1.0.7", which had gone stale now that the mod is confirmed working unchanged through 1.0.12 (seeMIGRATE-1.0.md). It now reads "built for Valheim 1.0+".
0.2.0
Added
- Visible shield. An active ward now flashes its own vanilla shield effect - the same shimmer the
game shows when a player is denied building in someone else's ward - every time it bounces or despawns
a creature. This reuses
PrivateArea's existing networkedFlashShieldeffect; nothing new is installed on any client, and only players close enough to have that ward loaded ever see it. New4 - Visible Shieldconfig section:Enabled(default on) andMinInterval(default 1.5s, minimum seconds between flashes on the same ward so a creature repeatedly charging one edge doesn't spam it).
0.1.0
Added
- Creature blocking for active wards. Any wild creature found inside a switched-on player ward is
teleported back to just outside the ward's edge (
Mode = Bounce, default) or removed (Mode = Despawn). Tamed creatures, creatures being tamed, bosses (configurable), player summons and anything on the configurable faction/prefab exclusion lists are left alone. Raid creatures are blocked by default (IncludeEventCreatures). Optional escalation: a creature bouncedDespawnAfterBouncestimes insideBounceWindowSecondsis despawned. - Auto-closing doors. A door or gate standing inside an active ward that stays open longer than
Delay(default 10s) closes itself, unless a player is withinPlayerClearancemetres of it.OnlyInsideWards = falseextends it to every door near a player. Drawbridges and window shutters are excluded by default (ExcludedDoorPrefabs); key doors and one-way dungeon doors are never touched. - Live config reload. Edits to the cfg on a running server are picked up within 5 seconds.
How it works (read this before reporting "it moved the creature back inside")
- Vanilla wards are pure client logic; a dedicated server has no ward, door or creature instances at all,
only ZDO data owned by clients. This mod scans the ZDOs around every connected player from the server's
own sector table, and corrects a creature or door by briefly taking ownership of its ZDO, jumping the
ZDO's data revision past everything the owning client still has in flight, writing the correction, and
handing ownership back a moment later so the client's own ZSyncTransform snaps the object to the new
position. The
OwnershipHandBackDelay(default 0.75s) is the window in which the corrected creature is frozen and cannot be hit. - Every fact this relies on was read from the Valheim 1.0.7 dedicated-server decompile (ZDOMan.RPC_ZDOData, ZDOMan.ReleaseNearbyZDOS, ZSyncTransform.OwnerSync/ClientSync, Door.UpdateState, PrivateArea.IsInside).