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.
MovingDay
Relocate entire buildings and structures in Valheim with safety checks, container metal cargo dropping, and terrain replication.
By DrakosDJ
| Date uploaded | 2 weeks ago |
| Version | 1.0.3 |
| Download link | DrakosDJ-MovingDay-1.0.3.zip |
| Downloads | 68 |
| Dependency string | DrakosDJ-MovingDay-1.0.3 |
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.2333README
MovingDay
MovingDay is an advanced structure relocation mod for Valheim that allows players to select, rotate, and move entire buildings and structures in real-time, complete with safety checks, container metal cargo handling, tamed animal transport, and automated terrain replication.
Features
- Structure Selection: Select individual pieces (G) or target an entire building using connected BFS flood-fill selection (H). World-generated structures and dungeons are automatically protected and cannot be targeted.
- Move Mode (L): Relocate the selected building in real-time using a blueprint ghost preview.
- Height Adjustment: Smoothly raise or lower the structure placement height in Move Mode using configurable hotkeys (defaults: UpArrow / DownArrow), scroll wheel steps (Alt + Scroll), or reset it back to 0 (Home).
- Grid-Snapped Rotations: Relocations are locked to standard Valheim 22.5 degree world-space increments, ensuring placed structures align perfectly with standard Hammer build snaps and center correctly.
- Terrain Cloning & Reversion (Held LeftControl): Replicates and rotates excavations and terrain leveling to the destination, and restores the source terrain to its natural state.
- Height Snapping: Automatically snaps the placement ghost to actual ground level or base height depending on whether terrain copying is active.
- Safety & Metal Cargo Handling:
- Blocks placement if other players are in the footprint (or teleports them along with the building).
- Blocks movement or drops metal cargo into cargo crates depending on configurations.
- Tamed Animal Transport: Scans and teleports tamed animals in a 6.0m radius of the structure safely to the destination.
- ZDO Network Authority: Claims authority for ZDOs during relocation to ensure network synchronization without duplication or data loss.
Configuration & Default Keybindings
- SelectHotkey (Default: G): Toggle selection of a hovered piece.
- SelectConnectedHotkey (Default: H): Select all connected pieces of a structure.
- MoveHotkey (Default: L): Enter Move Mode once pieces are selected.
- HeightUpHotkey (Default: UpArrow): Raise the structure placement height in Move Mode.
- HeightDownHotkey (Default: DownArrow): Lower the structure placement height in Move Mode.
- TerrainModifierKey (Default: LeftControl): Hold during placement to copy/revert terrain.
- ConnectionRadius (Default: 2.0 meters): Maximum distance between pieces to consider them connected.
- PlayerSafetyAction (Default: Block): Handling for other players inside the footprint (Block, Teleport, Ignore).
- PlayerMetalAction (Default: BlockMove): Handling for players carrying metal (Allow, BlockMove, LeaveBehind).
- ChestSafetyAction (Default: Block): Handling for open/active containers (Block, Ignore).
- ContainerMetalAction (Default: Block): Handling for container metal cargo (Allow, Block, Drop).
- MoveTamedAnimals (Default: true): Teleport tamed animals inside the footprint.
Changelog
1.0.3
- Added configurable structure height adjustment hotkeys (
HeightUpHotkeyandHeightDownHotkey, defaulting to UpArrow / DownArrow) and scroll wheel steps (Alt + Scroll) in Move Mode. Press Home to reset the height offset to 0. - Fixed Move Mode cancellation logic to prevent premature exits when equipping tools.
- Fixed build placement ghost visibility conflicts in Move Mode.
1.0.2
- Fixed selection of roofs and other large building pieces by measuring physical boundary (AABB collider bounds) distance instead of center-to-center distance, ensuring touching pieces are always selected regardless of size.
- Increased selection spatial search radius to 250m to support massive structures.
- Cached relative offsets and persistent ZDO references at Move Mode entry, preventing pieces from being left behind due to client-side unloading/culling during relocations.
- Moved player/container safety checks and cargo dropping to Move Mode entry to give instant feedback and prevent culling exploits.
1.0.1
- Fixed the BepInEx mod icon to use the correct MovingDay theme instead of PrefabHammer.
- Updated mod version to 1.0.1.
1.0.0
- Initial Release.
CHANGELOG
Changelog - MovingDay
All notable changes to the MovingDay mod by DrakosDJ will be documented in this file.
[1.0.5] - 2026-07-10
Added
- Selection Persistence & Re-highlighting: Replaced the volatile selection cache with ZDOID ulong networking IDs. You can now teleport or walk far away, unloading the source area, and the selection will remain in memory. Re-equipping the build hammer automatically scans and re-highlights the pieces when they load back in.
- Convenient Selection Clearing: Pressing either selection key (default
GorH) while looking at empty space or nothing will instantly clear your entire selection. - Configurable Height Reset Key: Created
HeightResetHotkeyconfiguration setting (default:Home) to customize the height reset key. - Height Reset Modes: Pressing the height reset key snaps the preview ghost to ground level, while holding Shift and pressing it restores the original structure height offset.
Fixed
- Teleported Placement Support: Used reflection to invoke
ZNetScene.CreateObjectwhen confirming a move while source pieces are unloaded. This forces Valheim to instantly instantiate the relocated pieces' GameObjects at the destination, preventing them from being moved only in the database (invisible). - Ghost Portal Persistence: Marked custom ghost preview GameObjects with
DontDestroyOnLoadto prevent Unity from destroying them during scene transitions when teleporting.
[1.0.4] - 2026-06-30
Added
- PrefabHammer Compatibility: Added seamless selection synchronization with the PrefabHammer mod. If both mods are installed, they will automatically share the exact same selected pieces list. Highlighting pieces in one mod allows you to use the other mod's functions (e.g. moving a PrefabHammer selection, or saving a MovingDay selection as a prefab). Both mods will correctly clean up highlight overlays when selections are cleared or deselected.
- Interactive Configuration Manager Keybinds: Migrated all hotkey configuration types from text-based strings to direct KeyCode settings. This enables BepInEx Configuration Manager's keypress recorder, allowing you to bind keys by clicking a button and pressing the key.
[1.0.3] - 2026-06-27
Added
- Configurable Structure Height Adjustments: Raise or lower the placement height of the relocated structure in Move Mode using hotkeys (defaults: UpArrow / DownArrow) or Alt + Scroll Wheel. Added Home key to reset height adjustment to 0.
- Dynamic Build Tool Checks: Refined Move Mode stability to keep the placement ghost active regardless of changes to equipped tools, preventing accidental early exits from Move Mode.
[1.0.2] - 2026-06-19
Added
- AABB-based Boundary Distance Checks: Selection connected BFS checks physical boundary distance between pieces' colliders instead of center-to-center distance, ensuring roofs and large pieces (e.g. 4x2 stone walls) connect properly.
- ZDO Relocation Caching: Caches relative coordinates and ZDO references at Move Mode entry, resolving parts of the structure getting left behind if their sectors unload during the move.
- Early Safety and Metal Checks: Validates safety/metal configurations at Move Mode entry (when pressing
L) instead of placement, preventing unloading exploits and giving immediate feedback. - Early Cargo Dropping: Drops container metals immediately when entering Move Mode if
ContainerMetalAction = Drop. - Search Radius Expansion: Increased the BFS pre-filter search radius to 250m to support massive structures.
[1.0.1] - 2026-06-18
Fixed
- BepInEx Mod Icon: Corrected the packaged icon to use the new, custom MovingDay icon in a valid 256x256 PNG format, resolving R2ModMan validation issues.
[1.0.0] - 2026-06-17
Added
- Initial Release of MovingDay: A distinct, standalone structure relocation mod for Valheim.
- BFS Structure Selection: Select a structure's pieces automatically by pressing
H(connected search) orG(manual selection toggle) while holding any build tool. - Visual Preview Ghost: Real-time translucent preview ghost showing exactly how the building aligns, rotates (using the mouse scroll wheel), and behaves relative to the terrain before confirming.
- Terrain Replication & Footprint Reversion: Replicate structural excavations, basements, and leveling at the new location by holding
LeftControl(default modifier) during placement. Restores/resets the terrain back to its natural shape at the old location footprint. - Player & Container Safety Checks:
- Player safety configuration option (
PlayerSafetyActionset toBlock,Teleport, orIgnore). Automatically teleports the local player along with the structure if selected. Blocks or warns if other players are inside. - Chest safety configuration option (
ChestSafetyActionset toBlockorIgnore) to block moves if a chest is currently in use to prevent inventory desyncs.
- Player safety configuration option (
- Robust ZDO Management: Safely updates world coordinates in Valheim's local/dedicated databases, handling sector boundaries without duplicating objects or losing container contents.
- Custom Build Script: Standalone build automation (
build_movingday.bat) deploying directly to Steam BepInEx plugins and r2modman profiles.