Valheim
Install

Details

Last Updated
First Uploaded
Downloads
753
Likes
1
Size
161KB
Dependency string
DrakosDJ-MovingDay-1.0.7
Dependants
ADDatHost Valheim hosting
30% off!

Changelog - MovingDay

All notable changes to the MovingDay mod by DrakosDJ will be documented in this file.

[1.0.7] - 2026-07-29

Added

  • World Origin Cleanup Command: Added a chat command /movingdayclean (alias /mdclean [radius, default 150m]) to scan ZDOMan database objects in memory near the world origin and delete them directly, bypassing Unity physics and collider checks. Includes a vertical limit filter (y < 2m) so that only buried/corrupted ZDOs are deleted, leaving player-built surface bases completely safe.

Fixed

  • World Origin Spawning Fix: Fixed relocated building pieces spawning at the world origin (0,0,0) (the Forsaken Stones) when the player teleports away to place them. This was caused by the server rejecting position updates on ZDOs that the client did not own at the moment they teleported, and a lack of ZDO change notification. The mod now claims ZDO ownership immediately on entering Move Mode and explicitly registers position changes with ZDOMan.ClientChanged.
  • Ghost Preview ZDO Leak: Fixed ghost preview prefabs creating and leaking permanent database ZDOs during Move Mode by setting ZNetView.m_forceDisableInit = true during their instantiation. This resolved the subsequent teleport/portal loading screen locks.

[1.0.6] - 2026-07-14

Added

  • Interactive Click-To-Bind Configuration: Migrated all hotkeys to BepInEx KeyboardShortcut configurations. This changes the BepInEx Configuration Manager GUI from a tedious drop-down list to an interactive button where players can click and press any key combination to bind.
  • Typing Safety Checks: Added input block safety checks to prevent selections and key commands from triggering accidentally while writing in chat or navigating menus.
  • Convenient Modifier Clear Hotkey: Holding any modifier key (Shift or Control) while pressing the select keys (G or H) will now instantly clear your current selection, regardless of what you are currently targeting.
  • PrefabHammer Compatibility: Improved selection logic to be more compatible with PrefabHammer.

Fixed

  • Input System Compatibility: Resolved potential BepInEx input manager bugs and compatibility issues by querying raw key status via ZInput and the new Input System directly on the shortcut's MainKey.

[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 G or H) while looking at empty space or nothing will instantly clear your entire selection.
  • Configurable Height Reset Key: Created HeightResetHotkey configuration 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.CreateObject when 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 DontDestroyOnLoad to 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) or G (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 (PlayerSafetyAction set to Block, Teleport, or Ignore). Automatically teleports the local player along with the structure if selected. Blocks or warns if other players are inside.
    • Chest safety configuration option (ChestSafetyAction set to Block or Ignore) to block moves if a chest is currently in use to prevent inventory desyncs.
  • 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.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.