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.
| Last updated | 4 days ago |
| Total downloads | 715 |
| Total rating | 1 |
| Categories | Mods Misc Client-side Utility Building AI Generated |
| Dependency string | DrakosDJ-MovingDay-1.0.7 |
| Dependants | 0 other packages depend on this package |
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 anything from individual build pieces to 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 snap it back to ground level (Home) / original height (Shift + 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.
How to Use
- Equip your Build Tool (Hammer).
- Select Pieces: Hover over pieces and press G (to select/deselect individual pieces) or H (to select the entire connected structure). Selected pieces will pulsate with a green highlight. (Hold Shift or Control while pressing G or H to instantly clear the entire selection).
- Enter Move Mode: While standing near the selected structure, press L to enter Move Mode. A blue-green ghost preview of the structure will spawn.
- Relocate:
- Walk or Teleport to your destination. The preview ghost will follow you (even through portals!).
- Rotate the structure with the mouse scroll wheel.
- Adjust Height using Up/Down Arrows or Alt + Scroll Wheel (holding Left Shift enables fine-tuning). Press Home to snap the height back to ground level, or Shift + Home to restore the original height offset.
- Hold Left Control to copy the modified terrain at the source and automatically replicate it at the destination.
- Place: Left-click to place the structure at the destination. Right-click or press Escape to cancel.
[!IMPORTANT] You must enter Move Mode (Step 3) prior to teleporting or moving away from the structure. If you teleport before entering Move Mode, the source area will unload from memory, and the mod will not be able to cache the structure's layout or generate its preview ghost.
Compatibility with Prefab Hammer
If you also have the Prefab Hammer mod installed, they will automatically work together:
- Shared Selection: They share the exact same selection pool in memory. Highlighting a structure with MovingDay's select keys will immediately make it targetable by Prefab Hammer's save keys, and vice versa.
- Coordinated Highlights: Selecting pieces in one mod keeps them visually highlighted, and clearing the selection in either mod cleans up both mods' highlight overlays.
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.
- HeightResetHotkey (Default: Home): Reset structure height adjustment (Home snaps to ground, Shift + Home restores original offset).
- 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.7
- Added chat command
/movingdayclean(alias/mdclean[radius, default 150m]) to scanZDOMandatabase objects near the world origin and delete them directly, bypassing Unity physics colliders. Features a vertical limit check (y < 2m) to safely delete only buried/corrupted ZDOs while preserving player surface bases. - Fixed relocated building pieces spawning at the world origin
(0,0,0)(the Forsaken Stones) when the player teleports away to place them. The mod now claims ZDO ownership immediately on entering Move Mode and explicitly registers position changes withZDOMan.ClientChangedduring relocation. - Fixed ghost preview prefabs creating and leaking database ZDOs during Move Mode (resolved the portal/teleport screen infinite load lock) by bypassing
ZNetViewinitialization on preview instantiations.
1.0.6
- Migrated keybind settings to
KeyboardShortcutconfigurations for click-to-bind BepInEx GUI support. - Added
PlayerCanTakeInputcheck to prevent selections/hotkeys from triggering while typing in chat or menus. - Added modifier-key check (Shift or Control) to instantly clear selections when pressing selection hotkeys (
GorH). - Resolved input system shortcut triggers by querying key status via
ZInput/ Input System directly on the shortcut'sMainKey. - Improved selection logic to be more compatible with PrefabHammer.
1.0.5
- Added persistent ZDOID selection logic, allowing players to teleport or walk far away without losing selection state.
- Added auto-scanning and highlight restoration when re-equipping the build tool.
- Fixed custom ghost preview destruction during teleports by marking preview objects with
DontDestroyOnLoad. - Fixed placement issues where unloaded structures were only moved in the ZDO database, forcing immediate GameObject instantiation at placement via reflection.
- Added selection clearing by pressing select hotkeys (
GorH) while looking at empty space. - Snapped ghost preview to ground level on Move Mode entry, and added custom height reset key config (
HeightResetHotkey) supporting both ground level reset (Home) and original height reset (Shift + Home).
1.0.4
- Migrated hotkey configuration types from text-based strings to direct KeyCode settings, allowing interactive keybind assignment via the BepInEx Configuration Manager GUI.
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.
Discord
Join our Discord Server for discussion, suggestions, and bug reports!