You are viewing a potentially older version of this package. View all versions.
Wubarrk-Njord-2.0.10 icon

Njord

A mythic overhaul of Valheim’s ship handling, steering and sea‑faring — now with a Harbourmaster who gives every new Viking their first hull and refits the rest. HUD and OdinShipPlus support.

Date uploaded 2 weeks ago
Version 2.0.10
Download link Wubarrk-Njord-2.0.10.zip
Downloads 191
Dependency string Wubarrk-Njord-2.0.10

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
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.2360

README

⚓ Njord

NJORD VERSION SERVER AND CLIENTS

Njord, god of the sea, has watched you put a Karve into the same rock nine times. He does not love your steering. He tolerates it. So he sent a shipwright to the shore, gave your rudder some teeth, and told the wind it may — if you ask nicely — blow the way you are going.

Take the helm. She answers now.

Njord rebuilds how Valheim's ships handle: a rudder that bites, sails that pull like they mean it, a wind you can fight or tame, and a top speed of its own for every hull — OdinShip and OdinShipPlus hulls included. Every number is the server's, synced to every player.

Then it gives the sea a harbour. A Harbourmaster on your shore sells hulls for timber, hands every new Viking one free Karve, and refits the rest up to four stars. Name your ships, watch them on a clean HUD, leave a runic wake behind you — and, if you want, let a Discord bot read your fleet's records.


NEW IN 2.0.8

Post a Harbourmaster at every base and outpost — and your boat launches at the one you are talking to.

You It
Post another Harbourmaster with njord.harbour.place the others stay where they are
Buy a hull or claim your first one she launches in that Harbourmaster's slipway, not at another harbour thousands of metres away
njord.harbour.find lists every Harbourmaster in the world and how far away each one is
njord.harbour.remove dismisses the one near you and forgets her site; all dismisses every one
njord.harbour.forget forgets one site — near you, or at coordinates — without touching the other ports

🗺️ Every harbour is remembered across server restarts, and worlds with one harbour carry straight over.


BEFORE YOU INSTALL

If… Then…
🤝 you play on a server the server and every player run Njord, and update together. The server's settings are locked and synced to everyone.
🏝️ your world is established and everyone spawns at their own base the Harbourmaster may never place herself — nobody visits the world spawn. An admin posts her with njord.harbour.place, standing where the players are.
🐢 your crews sail Longships or Drakkars each hull has a top speed (MaxSpeed_Longship, MaxSpeed_Drakkar and the rest). Raise them in the config if you don't want a ceiling.
📦 you turn on cargo refits lowering them later, or removing Njord, destroys whatever sits in the lost rows. They are off out of the box.
🛡️ you ever remove Njord run njord.harbour.remove all first. Otherwise the Harbourmaster stays in your world save as an object nothing can build — harmless, she just fails to appear.

I

Your longship finally answers the helm.

🪝 Steering a steering multiplier makes the rudder bite; a steering gate stops the jitter as you take the helm
💨 Acceleration a smoother, more realistic sailing curve out of the box; forward and reverse force are yours to set
⛵ Sails Base, Half and Full sail each pull with their own force
↩️ Reverse kick a quick burst astern to back out of a rocky harbour
🏁 A top speed per hull Raft, Karve, Longship, Drakkar, and every OdinShip and OdinShipPlus hull
🤝 One helmsman per ship the server tracks who holds each helm — two crewmates never both claim her, and the helm passes cleanly between players
🧮 Typo-proof every value is clamped, so a bad number can never hand the physics NaN or Infinity
📖 Read the saga — handing over the helm, and how the caps work

The helm changes hands the way vanilla hands over a hull. When the server names a new helmsman, the machine that was simulating the ship passes it to them on the spot, in one exchange. No tug-of-war between two machines, so no jitter, no hull snapping under the crew, no deck throws, and no helm that steers but will not take forward or back. A helmsman whose connection drops — logout, timeout or crash — has their helm released for everyone, so a ship is never bound to someone who can no longer let go.

She keeps her way. Step back from the rudder and your ship sails on, as in vanilla, until you actually leave the boat.

Each ship knows who is aboard, exactly — a crew standing on the seam between two deck volumes no longer piles up phantom passengers that leave a hull unresponsive.

Every hull has its own cap, matched to the prefab the game really uses. OdinShip and OdinShipPlus hulls are found by inspection, not from a fixed list, so new ones from those mods are picked up with no Njord update, and each gets a MaxSpeed_ setting of its own when that mod is installed. Set a cap above what a hull can physically reach and the limiter is, in effect, off.


II

Sail the wind Valheim gives you — or the one you wish it gave.

🌬️ Full wind, always on out of the box: a perfect tailwind whatever the sky says. Turn it off to sail the real wind.
🧭 An honest wind needle grab the rudder and the HUD shows the true wind at once — no slow swing round from zero
🌊 Blended with the game's Njord's wind physics blend with Valheim's natural winds
⏳ A grace period when the wind turns against you, you feel the dead zone first — 2.5 s by default — before any assist steps in
🧪 Experimental assists Wind_NoDeadZone nudges you out of the dead zone; Wind_BlendToFull blends a crosswind toward a tailwind. Both opt-in.

III

A shipwright on your shore, selling hulls for timber.

You It
Find her on the shoreline nearest the world spawn, the first time anyone loads that zone — or wherever an admin posts her
Use on her opens her shipyard: Hulls · Refit · Your First Hull
Claim your first hull a free Karve, once per player for as long as the world exists, already named <your name>'s Pride
Buy a hull paid in materials, a list per hull set by the server — no coins
Post her on a dock she stands on the pier, jetty or deck you built, not on the seabed beneath it
📖 Read the saga — where she stands, the free hull, and why no other trader is touched

Where she appears. She takes her post the first time anyone loads the zone nearest the world spawn, and keeps it across restarts. A dedicated server loads a zone only while somebody is standing in it, so on a world where everyone spawns straight into their own base she may never appear by herself — and the log says so plainly rather than going quiet. New worlds place her on their own, because the first thing anyone does is stand at the spawn.

Placing her is done from your own game. The shoreline is found by raycast and she is seated on settled ground, and a dedicated server has no colliders or heightmaps outside the world origin: it decides, it cannot measure. So your machine sites her, and the server checks you against its adminlist.txt and records where she went. The server's half of an answer prints in the server log; what your own machine can see prints in your console. njord.harbour.placeat needs that zone loaded on your machine — if in doubt, stand there and use njord.harbour.place.

She stands on what you built. Njord seats her once, at the moment she is posted, on every solid surface at that spot — terrain, your pieces, the world's own structures — but never on a boat moored under her, and never on a roof over her head, so in a boathouse she stands on the deck. For half a minute afterwards Njord watches that she has not sunk into ground still settling, and lifts her if she has.

When she never appeared, njord.harbour.find reports the world spawn, whether that zone is loaded, and whether the shoreline search finds an acceptable site — which tells "the search never ran" from "the search ran and rejected everything". Those look identical in a log and have completely different fixes.

The free hull is the one thing the server keeps. Buying follows vanilla's own trust model — you pay out of your own inventory — but a grant that can be repeated is not a grant. Who has had theirs is decided on the server, against a ledger keyed by your persistent player ID, and the row is written before the boat is handed over: a crash mid-grant costs a boat rather than handing out a second one. Rerolling a character does not get you another. A gift is not a christening either — you did not name her, so she does not count toward your christenings.

Her own shop, not Haldor's. Vanilla's shop can only count coins, and Njord's prices are lists of materials, so Njord draws its own — no other trader mod on your server is patched or touched. Hulls carry the names the game gives them, translated, modded hulls included, and the window wears the same gilt frame as VikingOS's. Costs are written as prefab names (FineWood:60,DeerHide:20,BronzeNails:80), the same string in every language; a cost naming an item this world does not have takes that hull out of the shop, with the reason in the log, rather than selling it cheap.


IV

Raise a hull from one star to four.

You It
Stand aboard at the harbour, or moor alongside the Refit tab offers her next star
Pay 2×, 3×, then 4× her price she climbs to ⭐2, ⭐3, ⭐4 — anyone aboard may pay
Read the panel her top speed in m/s, before and after — 16.8 → 18.8 m/s, never a bare multiplier
Take the helm her stars show on the helm hover and in the HUD
📖 Read the saga — what a star is worth, and the one refit that can cost you

What a star is worth is the server's business. Upgrade_Tier2, Upgrade_Tier3 and Upgrade_Tier4 are lines of speed, accel, health and cargo values against the hull's base figures, never compounding — so a ⭐4 hull is exactly base × her own tier's numbers, however she got there.

speed raises the cap; accel raises the boat. If your MaxSpeed_* values sit above what a hull can physically reach, the cap is not what holds her back and speed does nothing at all — accel is the only key that makes her faster there, and it still helps on a default server by reaching the cap sooner. Its return is sub-linear, because drag rises with speed, so the defaults are a starting point to measure, not a promise. That is why the panel quotes m/s you can check against your own HUD, and tells you outright when a hull has no cap at all.

A refit neither heals nor hurts her. Raising her maximum health scales what she has now by the same factor, so a battered boat leaves the yard exactly as battered as she arrived, with a bigger hull around it.

⚠️ cargo is the one refit that can destroy items — an item in a slot that stops existing is gone. It is 0 in every tier out of the box, and Njord never shrinks a hold within a session; lowering it later, or removing Njord, takes those rows away with whatever is in them.


V

Name her, read her, and leave runes in her wake.

🪶 Christen your ship Alt + Use at the helm — up to 24 characters, stored on the ship herself, seen by every player
🏷️ Her name, everywhere on the helm hover, the crosshair label and the top of the HUD
🧭 The Njord HUD steering, speed, waterline, hull integrity, wind blend, readiness, and her name and hull type — F7 hides it, drag moves it
✨ Runic wake glowing runes behind your ship, in your colour, growing with speed and sail — seen by every player, at no cost to the server

VI

Your fleet's records, for a Discord bot, a dashboard or a status page. Off until the server turns it on.

⚓ Fleet census how many hulls exist in the world, by type
🏁 Speed records the fastest each hull type has gone — who was at the helm, when, the cap in force and her refit tier
🧭 Sailor stats distance sailed, time at the helm, hulls helmed, wrecks, christenings, and each sailor's best on every hull
🙈 Fleet without names Barrkbot_Sailors_Enable off publishes the fleet and leaves the sailors out
📖 Read the saga — the files, and why they never lie with a zero

With Barrkbot_Enable on, the server writes barrkbot_boats.json to BepInEx/config/Njord/: world_boats, the census by prefab, and speed_records, one per hull type. Players' games sample the speed of the ship they steer and report their bests; only the server writes. Records survive restarts in njord_speed_records.tsv beside the export, and every file is written whole, so a reader never catches one half-written.

Absence is honest. A hull missing from the census means none exist; missing from the records, nobody has sailed one; cap_in_effect is null when no cap applied; world_boats is null until the first count finishes. None is ever reported as a zero. Each record also carries samples_observed and samples_recorded — the second is the sample size behind top_speed, after Barrkbot_MinSpeed has discarded the drifting.

Where a cap is in force, top_speed settles on it — it measures the cap, not the hull — so the lasting content of a record is the helmsman and recorded_at. A null cap on a capped server is an admin signal: a hull Njord has no cap for, such as a boat from another mod. A reader checking top_speed <= cap_in_effect should skip nulls rather than fail them.

Sailor stats are split by subject, never by rows: barrkbot_sailors.json (distance, helm time, hulls helmed, last seen), barrkbot_wrecks.json (wrecks, christenings and the world totals) and barrkbot_hull_bests.json (one flat row per sailor × hull). Every file holds every sailor, keyed by persistent player ID with the name beside it, so any ranking sits on a complete base. A sailor's best is personal_best_speed; top_speed only ever means the world record for a hull.

A wreck is a hull destroyed by damage — not one you dismantled, not one that rotted at her mooring — and a hull lost with nobody at the helm is unattributed, not blamed on whoever last touched her. Distance is counted once, on the machine that owns the hull, so sailing in company never banks the same miles twice.

Big rosters roll over. Past Barrkbot_RowBudget characters of rows, a collection continues into _2, _3 and so on, each part carrying part, part_of, and a _leaders block — the top three per field, worked out across the whole collection before the split, so every part names the true leader. Leftover parts are swept when the roster shrinks. A growing roster is the writer's job, never a reason to ship a new build.

Not included: a per-player leaderboard across hulls. "Who holds the Longship record" has an answer; "who is the fastest sailor on the server" does not.


THE TOOLBOX

First ten minutes: install with a mod manager, or unzip into BepInEx/plugins → launch once → walk to the shore by the world spawn → Use on the Harbourmaster and claim your Karve → take the helm → Alt + Use to name her → F7 if you want the HUD out of the way.

Key Command (F5 console, admins)
Use on the Harbourmaster her shipyard njord.harbour.place post a Harbourmaster where you stand
Alt + Use at the helm christen your ship njord.harbour.placeat <x> <y> <z> the same, at world coordinates
F7 HUD on / off njord.harbour.find every Harbourmaster and her distance — or why there is none
Drag the HUD move it njord.harbour.remove dismiss the one near you; all for every one
Esc close the shipyard njord.harbour.forget forget a site; all or <x> <y> <z>
njord.firstboat.revoke <playerID> give one player their free hull back
njord.whoami what Njord thinks your identity and admin status are, and why
🛠️ Post the Harbourmaster on an established world

Stand on the shore where your players actually gather, facing the water, and type njord.harbour.place in your own game's console (F5) — not the server console, which has no ground to measure. The slipway is worked out from the water in front of you. The server checks its adminlist.txt, records her, and prints its half of the answer in the server log. If it says you are not an admin, njord.whoami shows why your machine thinks so.

🛠️ Set hull prices

In 12 - Shipwright, each vanilla hull has a Vendor_Cost_ line (Raft, Karve, Longship, Drakkar) and Vendor_Cost_Default covers every other hull, modded ones included. Write PREFAB:AMOUNT, comma separated — FineWood:60,DeerHide:20,BronzeNails:80. Vendor_HullList picks which hulls she sells, in order; empty sells every hull in the world.

🧹 Remove Njord cleanly

Run njord.harbour.remove all first, so no Harbourmaster is left in the save. Everything else Njord stores — ship names, refit stars — lives on the boats themselves and is simply ignored once the mod is gone. Cargo rows from refits go with it, and so does whatever is in them.


MULTIPLAYER

Yours alone Decided by the server Needs Njord on every machine
the HUD and where it sits · debug logs every handling, wind, speed, wake, shop and refit setting (locked by default) · who has had a free hull · admin commands · the ship's-log files the helm hand-over · the shipyard · ship names and stars

⚠️ Update the server and its players together. Njord turns away an older client only when its settings or its network messages change shape, so most updates lock nobody out — but every machine should run Njord. Works in single player too, and is safe to add mid-playthrough.


COMPATIBILITY

Mod
OdinShip Full support: its hulls are found automatically, get Njord's physics, and each gets a speed cap of its own.
OdinShipPlus Full support: CargoCaravel, Skuldelev, GoblinShip and the rest are mapped into Njord's speed caps.
Sailing (Smoothbrain) Compatible — Njord respects its skill progression.
Other trader mods Untouched. The shipyard is Njord's own panel, not a patch on Haldor's.
VikingOS Not needed. The shipyard shares its gilt frame, so the two look like one family.
Modded water shaders The runic wake may look very different. On some OdinShip hulls its emitters can sit slightly off.

SETTINGS

BepInEx/config/wubarrk.njord.cfg, or a configuration manager in game. Every value is clamped to a safe range.

🔒 Server-synced — set on the server, locked for everyone
Section Setting What it does
1 – General Lock Configuration only admins change synced settings
2 – Wind System Wind_SystemEnable · Wind_AlwaysFull · Wind_NoDeadZone · Wind_BlendToFull · Wind_BlendRate · Wind_GracePeriodDelay the wind physics, full tailwind, the two experimental assists, how fast the wind turns and the grace period
3 – Steering SteeringMultiplier how hard the rudder bites
4 – Acceleration AccelerationMultiplier · BaseForwardForce · BaseReverseForce how she gets under way, ahead and astern
5 – Sails SailForwardForce · HalfSailForce · FullSailForce · ReverseKick each sail setting's pull, and the burst astern
6 – Speed Limits MaxSpeed_Raft · MaxSpeed_Karve · MaxSpeed_Longship · MaxSpeed_Drakkar top speed per vanilla hull, in m/s
7 – OdinShip Speed Limits MaxSpeed_MercantShip · MaxSpeed_CargoShip · MaxSpeed_BigCargoShip · MaxSpeed_RowingCanoe · MaxSpeed_DoubleRowingCanoe · MaxSpeed_LittleBoat · MaxSpeed_WarShip appear when OdinShip or OdinShipPlus is installed
8 – OdinShipPlus Speed Limits MaxSpeed_CargoCaravel · MaxSpeed_HugeCargoShip · MaxSpeed_CargoAnimalShip · MaxSpeed_HerculeShip · MaxSpeed_Skuldelev · MaxSpeed_TaurusWarShip · MaxSpeed_FastShipSkuldelev · MaxSpeed_GoblinShip appear when OdinShipPlus is installed
9 – VFX VFX_Enable · VFX_Color the runic wake and its colour
11 – BarrkBOT Export Barrkbot_Enable · Barrkbot_WriteInterval · Barrkbot_CensusInterval · Barrkbot_MinSpeed · Barrkbot_Sailors_Enable · Barrkbot_RowBudget the ship's log: on/off (off), how often it writes (60 s) and counts (900 s), the speed floor (1 m/s), sailor files, and the rollover size
12 – Shipwright Vendor_Enable · Vendor_AutoPlace · Vendor_Name · Vendor_HullList · Vendor_FirstBoat_Enable · Vendor_FirstBoat_Hull · Vendor_Cost_Default · Vendor_Cost_Raft · Vendor_Cost_Karve · Vendor_Cost_Longship · Vendor_Cost_Drakkar the Harbourmaster, where she places herself, her name, what she sells, the free hull and every price
13 – Hull Upgrades Upgrade_Enable · Upgrade_MaxTier · Upgrade_Tier2 · Upgrade_Tier3 · Upgrade_Tier4 · Upgrade_CostMultiplier refits on/off, the highest star, what each star gives, and its price multiple (2,3,4)
🖥️ Local to your game — yours alone
Section Settings
HUD HudEnabled · HudPositionX · HudPositionY — F7 and dragging set these for you
10 – Debug Debug_Enable · Debug_PhysicsWind · Debug_AuthControl · Debug_Shipwright

CREDITS

Needs: BepInExPack Valheim 5.4.2360 — the mod loader, with HarmonyX. ServerSync is compiled into Njord; nothing else to download.

🔗 Also by me: VikingOS, whose gilt frame the shipyard wears, and Mists of Avalor.

Made by Wubarrk — ravenirongames.com. Support Wubarrk on Patreon (WubarrkDev). Bug reports welcome on Discord. License: MIT — use, modify and redistribute freely, including commercially; just keep the copyright notice. Full text in LICENSE.md.

CHANGELOG

📜 Njord — Changelog


⚓ v2.1.0 — The Knarr: the Trailership, finished

[!IMPORTANT] Every player and the server need 2.1.0: the ServerSync floor rises from 2.0.5 to 2.1.0. A 2.0.x client would see a Knarr as vanilla's broken Trailership and would not know the trade goods crate.

Valheim ships a merchant ship it never finished: the Trailership, a Longship given a trader's deck (tent awnings, a lamp, crates, barrels, a row of shields) and then left. No hammer offers it, its hull has no mesh, its mast and figurehead render magenta, its sail is a frozen pre-1.0 cloth, and taking its helm throws an error. Njord finishes it as the Knarr.

  • The Knarr: the Longship's hull, sail and helm carrying the Trailership's own merchant deck (awnings, lamp, crates, barrels). It keeps the vanilla prefab name, so a Trailership already in a world loads finished. Her hull is 25 mm a side slimmer than a Longship's so the row of shields hangs clear of the planking; the shields are filled in (the Trailership's shield material cut the board out and left only the iron rim); and her sail is reefed so its foot clears the awnings at every angle the mast swings to. Heavier (2600) and a little slower than a Longship (MaxSpeed_Knarr 21 m/s), with an 8x5 hold (the Longship's is 6x3).
  • Cargo weight slows her: full speed up to 300 kg in the hold, falling to 70% at 1500 kg (Knarr_CargoLightKg, Knarr_CargoHeavyKg, Knarr_CargoHeavySpeed).
  • Two ways to get one: build it with the hammer near a workbench, after the Longship (FineWood:80, ElderBark:60, IronNails:120, LinenThread:20, Knarr_Recipe), or buy one from the Harbourmaster (Vendor_Cost_Knarr).
  • A floating shop: her builder sets a price in coins for anything in her hold (Alt + Use on the hold; Alt is the game's alternate key, Left Shift unless rebound) and opens the shop; while it is open her hold is the builder's alone, and other players browse her wares and buy while she is moored. Deals follow Valkyrie's Cargo's rules: the price you saw is checked, a moved price turns amber and asks again, a repeated deal is refused, nothing leaves your pack until she answers, and goods that did not fit wait on her to be collected, never twice.
  • Trade runs: the Harbourmaster sells trade goods (a new Trade Goods tab, 60 coins a crate). A crate weighs 40, does not stack and will not go through a portal. Moor a Knarr near Haldor, Hildir, the Bog Witch or a Harbourmaster and Alt + Use on them sells every crate in her hold: next door pays less than you paid, every kilometre carried adds 60% of the price, up to 4x (Trade_*). The coins go into her hold.
  • Fixed: the Njord readout no longer gets stuck on. If the boat you held the helm of was destroyed, the panel stayed on screen until another boat happened to be sailing nearby. It now goes as soon as the boat is gone.
  • Fixed: njord.harbour.forget no longer wipes every harbour site by accident. A bare forget reaching a dedicated server (typed in its console, or sent by a 2.0.x client) used to forget every site. It now forgets nothing, and you say what to forget: njord.harbour.forget <metres> (the sites within that many metres of you, 1 to 1000), njord.harbour.forget <x> <y> <z> [metres] (30 m unless given), or njord.harbour.forget all. In the same way njord.harbour.remove with no player to measure from, as on a server console, dismisses nothing unless you say all.
  • New config section 14 - Knarr (all synced); Knarr_Enable off leaves the vanilla Trailership alone and keeps it off the Harbourmaster's shelf. Knarr_Name renames her at once, and a server's name reaches every player.
  • The package now carries Njord.pdb (matching the DLL), so an error in a player's log names Njord's file and line.

⚓ v2.0.10 — One Page For Every Store

  • The store page was rewritten to the new layout and is now the same on every store; the website link now goes to https://ravenirongames.com/.
  • No change to the mod: Njord.dll is the same file as in 2.0.9, and the ServerSync floor stays at 2.0.5.

⚓ v2.0.9 — Valheim 1.0.21 compatibility

[!NOTE] Rebuilt against the Valheim 1.0.21 release assemblies (network version 41) and BepInExPack 5.4.2360, and re-verified. No floor change - the ServerSync floor stays at 2.0.5: nothing on the wire and nothing written to the world changed.

Valheim 1.0.21 re-signed the private Ship.UpdateSail and Ship.UpdateSailSize (they now take a haveControllingPlayer flag, and the sail-position swap effect only plays with a controlling player) and touched the body of Ship.CustomFixedUpdate. Njord pins none of those signatures: its sea-dog engine resolves CustomFixedUpdate(float fixedDeltaTime) by name, which is unchanged, so every patch binds exactly as before. Checked by a static reference check against both the client and dedicated-server assemblies and a headless boot of the 1.0.21 dedicated server.


⚓ v2.0.8 — Multiple Harbourmasters & Slipway Proximity

[!NOTE] Supports multiple Harbourmasters in the same world, ensuring boats always drop at the slipway of the Harbourmaster being used rather than arbitrarily across the world at another harbour. ServerSync floor stays at 2.0.5.

  • Boats Drop At The Used Harbourmaster: when claiming your first boat or purchasing a hull, the vessel now launches directly within the slipway radius of the specific Harbourmaster you are interacting with. Previously, claiming the first boat used a single global harbour coordinate from the server ledger; on worlds with more than one Harbourmaster, this could cause the boat to drop at the other harbour thousands of meters away, leaving the player stranded.
  • Multiple Harbourmasters Supported: worlds can now post Harbourmasters at multiple bases, outposts, and ports. Posting a new Harbourmaster with njord.harbour.place or njord.harbour.placeat no longer wipes out existing Harbourmasters at other sites.
  • Multi-Harbour Ledger: all placed Harbourmasters are tracked in the harbour ledger (njord_harbour.tsv) across server restarts with full backward compatibility.
  • Enhanced Admin Commands:
    • njord.harbour.find lists all placed Harbourmasters and their distances.
    • njord.harbour.remove dismisses the Harbourmaster near you and forgets her site (or pass all to dismiss all).
    • njord.harbour.forget can forget a specific site near you or at coordinates without affecting other ports.

⚓ v2.0.7 — The Dockside Update

[!NOTE] The Harbourmaster will now stand on a dock you built instead of falling through it onto the seabed. Client-side placement only - the ServerSync floor stays at 2.0.5, nothing on the wire changed, and no config entry changed.

  • She Stands On What You Built: post her on a pier, a jetty, a raised deck, anything with a floor, and she stays on it. Until now she was cloned from Haldor and inherited his SnapToGround, which finds the ground by raycasting the terrain layer and only the terrain layer - a dock is simply not there as far as it is concerned. So she was dropped straight through it to whatever the natural ground was underneath, which over water means the seabed, with the Harbourmaster standing on it. Worse, that height was then written into her saved position, so everyone on the server loaded her down there too.
  • Njord Seats Her Itself Now: vanilla's snap is off her prefab entirely, because she was getting it twice and both were terrain-only - once the frame after she spawns, and again on the next global snap pass anywhere in the world, which would have undone any correction. She is now seated once, at the moment she is posted, against every solid surface at that spot: terrain, player pieces, and the world's own structures. Boats are deliberately excluded - a karve moored under her is not a floor - and so is anything directly over her head, so posting her inside a boathouse puts her on its deck rather than in its roof.
  • The Watchdog Measures Her Post, Not Her Feet: for half a minute after she is placed Njord checks she has not sunk into the ground, which covers a zone that finishes settling around her. That check now asks what the floor is where she was posted; asking what is under her feet was useless in exactly the case that mattered, because once she is under a dock the honest answer is "the seabed". It also only ever lifts her, never lowers her, so a dock collider that is slow to stream in can no longer be read as an excuse to drop her off it.

[!TIP] On a world where she is already under the dock, her bad position is saved in the world file and this build will not move her on its own. Stand where you want her and run njord.harbour.place once; she will stay put from then on.


⚓ v2.0.6 — Valheim 1.0.16 compatibility

[!NOTE] Rebuilt against Valheim 1.0.16 and re-verified. No floor change - the ServerSync floor stays at 2.0.5: nothing on the wire and nothing written to the world changed.

Rebuilt against the Valheim 1.0.16 release assemblies (client build 25527674 / dedicated server build 25527701, network version 40) and BepInEx 5.4.2350, and re-verified: a static reference check against both the client and dedicated-server assemblies, and a headless boot of the 1.0.16 dedicated server. Njord touches none of the members 1.0.16 changed (it removed only ObjectDB.GetAllFoodItems() and ButtonSfx.Start(), neither of which Njord reads), so every patch binds exactly as it did before.


⚓ v2.0.5 — The Handover Update

[!IMPORTANT] This is the fix for boats that jitter, refuse to take forward or back, snap around under the crew, or throw people overboard after two players trade the helm — the bug that previously only cleared when the original helmsman dove off. Everyone updates together: the server and every client. The ServerSync floor is raised to 2.0.5 because the hand-off is cooperative — one machine aboard on an older build is enough to bring the fight back for everyone on that hull. No config entry changed.

Traced from two rounds of live logs (two clients plus a dedicated server, with a transition-only ownership trace). There were two causes stacked, and fixing only the first was not enough.

  • The Server Was Never Listening: Njord's helm authority is meant to be arbitrated by the server — a client asks for the helm, the server records who has it and tells every other client. That arbiter was being switched on from a hook that only fires when a player spawns, and a dedicated server has no player. So on a dedicated server it never switched on at all: every helm request was silently dropped and no one was ever told to stand down. The arbiter now comes up the moment the network layer exists, on every peer, headless server included — and re-registers itself cleanly if you log out and join another world in the same session.
  • The Hull Was Being Grabbed, Not Handed Over: with the arbiter alive, every handover still fought for one to six seconds. The incoming helmsman's machine took the hull's physics the instant it took the wheel, while the outgoing helmsman's machine was still simulating the hull and still believed it owned it. Valheim settles two machines' claims by whichever wrote data most recently, and the machine simulating a hull writes every tick — so the grab was undone by its next packet, the helmsman's machine grabbed again, and the two traded the hull back and forth until, by luck of timing, the outgoing side heard the news first. Every swap hard-snaps the hull to the other machine's position under everyone's feet: that is the jerking, the boat that "re-dropped like it was just built" (a snap large enough to teleport rather than glide), the deck throw, and the helm that steered but would not take forward or back (each press landed on a copy that was overwritten a few ticks later).
  • The Fix: vanilla never takes a hull from a machine that is still simulating it — Ship.UpdateOwner has the owner pass it on, and that is the one kind of transfer the game settles in a single exchange. Njord now does the same. When the server announces a new helmsman, the machine simulating the hull hands it to them on the spot; its own simulation stops there and then, and its next packet carries the new owner with the freshest data, which every copy accepts at once. The incoming helmsman no longer claims from a live owner at all; the only hull it takes outright is one nobody holds. Thrust is applied only once the hull has actually arrived, as vanilla gates every force it applies. A helmsman whose hull never arrives — its previous simulator gone or unloaded — still claims it outright, but only after a full second, well past any hand-off that is ever going to come, when nobody else is writing to it.
  • Nobody Left Holding A Dead Rope: if a helmsman's connection drops — logout, timeout, or crash — the server releases their helm and tells everyone, so a hull is never bound to someone who can no longer let go of it. A machine that finds itself simulating a hull with people aboard and no record of who steers it (a late joiner, typically) now asks the server before it could contest the real helmsman without knowing.
  • Your Debug Flags Were Working All Along: Njord's Debug_Enable output was written at a log level BepInEx's default disk logger discards, so turning the flag on appeared to do nothing. Debug output now goes out at Info level; the flag is still the gate. Debug_AuthControl additionally traces every helm request, arbitration reply, and ownership transition — logged on change, never per tick, so it is safe to leave on. A clean swap reads RPC_AuthorityUpdate applied → handed ZDO ownership to peer … on the outgoing machine and a single IsOwner False -> True on the incoming one; no claimed … outright line and no repeating IsOwner flips.

⚓ v2.0.2 — The True Muster Update

[!NOTE] A correctness fix to how a ship knows who is aboard her. No config, RPC, or synced setting changed — the ServerSync floor stays at 2.0.0.

  • The Boarding Roll No Longer Drifts: vanilla adds a player to a ship's boarding list on every single trigger-volume touch, with no check for whether they're already listed. A hull whose deck spans more than one trigger volume — or a standing player jostled by waves at the seam between two — could rack up duplicate entries that never fully cleared, so a solo sailor's own "onboard" count could climb into double digits over a long session on a longship instead of resting at one. Njord now tracks how many of a ship's volumes each player actually overlaps and only touches the real boarding list on a genuine arrival or departure. Every hull behaves exactly as it always has for the ordinary case; the drift is gone for the complex one.
  • Why It Matters Beyond The Log: a stale duplicate entry could leave a ship's own "is anyone still aboard" check stuck on true long after the honest answer was false — the kind of desync that can leave a hull unresponsive at the helm. This closes that specific failure mode. It does not touch helm-claim or ZDO-ownership logic, which are unchanged from 2.0.1.

⚓ v2.0.1 — Valheim 1.0.7 compatibility

Rebuilt against the Valheim 1.0.7 release assemblies (client build 25185596 / dedicated server build 25185644, network version 39) and BepInEx 5.4.2350, and loaded on the 1.0.7 Linux dedicated server with every rune bound and no Harmony errors. Njord touches none of the members 1.0 changed (the sector API, VisEquipment hashes, ItemStand, ZDOExtraData, Inventory.Load, save paths, Version), so every patch binds exactly as it did before.

  • The ship destroy hook is real now. Njord_Ship_Destroy_Patch targeted Ship.OnDestroy, a method that has never existed on any build (Ship's only destruction method is the private OnDestroyed() that WearNTear calls when a hull is broken, which never fires on zone unload or logout). The class was never handed to the rune binder either, so it was dead code rather than a crash — the rune-trail emitter's bookkeeping was simply never cleared when a ship left the world. The cleanup now rides on a NjordShipEmitterCleanup component attached to the ship's GameObject the first time a trail is built for it; its Unity OnDestroy fires on every teardown path — wreck, dismantle, zone unload, logout — and the dead Harmony target is gone.
  • ServerSync floor stays at 2.0.0: no synced entry or RPC changed, so 2.0.0 clients can still join a 2.0.1 server.

⚓ v2.0.0 — The Shipwright Update

[!IMPORTANT] Everyone updates together. 2.0.0 raises ServerSync's floor to 2.0.0, so a 1.x client cannot join a 2.0.0 server. This is a release rather than a test build, and the RPCs behind the shipyard are new.

[!IMPORTANT] Njord now adds an NPC who is written into your world save: the Harbourmaster's ZDO names a prefab only Njord registers, so if you later remove the mod she becomes an object nothing can build. Nothing breaks — she simply fails to appear — but njord.harbour.remove takes her out cleanly if you want the world left tidy.

The Harbour

  • The Harbourmaster: a shipwright takes her post on the shoreline nearest your world spawn, the first time anyone loads that zone. Talk to her to buy a hull, claim your first one, or have the vessel you are stood on refitted. She keeps her post across restarts. On an established world she may never place herself — a dedicated server loads a zone only while somebody is standing in it, and nobody revisits spawn — so put her where your players actually are with njord.harbour.placeat <x> <y> <z>.
  • She Will Not Be Buried: traders are one of only four things in Valheim that snap themselves to the ground, and they do it one frame after spawning, before the terrain has necessarily finished. Njord finishes the ground under anything about to snap, places her only once the ground has settled, and watches her for thirty seconds afterwards — digging her out and persisting the fix if she has sunk.
  • Placing Her Is Done From Your Own Game: the shoreline is found by raycast and she is seated on a settled heightmap, and a dedicated server has no colliders or heightmaps outside the world origin. It decides; it cannot measure. So your machine sites her and the server authorises it and records where she went, checking you against its adminlist.txt first. The ledger half of an answer appears in the server log; what your own machine can see prints in your console.

The Shipyard

  • Your First Hull, Free: every player is given one boat — a Karve — once, for as long as that world exists, named <your name>'s Pride before she touches the water. Eligibility is decided on the server, against a ledger keyed by your persistent player ID, and the row is written before the boat is handed over: a crash mid-grant costs you a boat rather than handing out a second one. Rerolling a character does not get you another.
  • A Gift Is Not A Christening: the free hull arrives already named, and that does not count toward your boats_christened stat. You didn't name her.
  • Hulls Are Paid For In Timber: prices are lists of materials, per hull, set by the server. Vanilla's shop can only count coins, so Njord draws its own — which means no other trader mod on your server is patched or touched.
  • Hulls Are Called What The Game Calls Them: names come from each hull's own Piece token, so vanilla's Trailership gets its real name, modded hulls get theirs, and every name arrives translated.
  • The Shop Wears The VikingOS Frame: the same gilt window chrome as the rest of the suite, shared rather than reproduced — so a frame style changed anywhere changes it here too.

Refits

  • Refits (⭐1–⭐4): stand aboard a hull at the harbour — or moor her alongside — and pay 2×, 3×, then 4× her price to raise her. Anyone aboard may pay for it. What a star is worth is entirely the server's business: Upgrade_Tier2/3/4 are lines of speed, accel, health and cargo values against the hull's base figures, never compounding. Stars show on the helm hover panel and in the HUD.
  • speed Raises The Cap; accel Raises The Boat: if your MaxSpeed_* values are set above what a hull can physically reach — which is how most servers turn the limiter off — then the cap is not what is holding her back, and the speed key does nothing. The tier defaults therefore put the refit's real weight into accel, the only key that changes speed on such a server, and which still helps on a default one by reaching the cap sooner. They are larger than they look because drag rises with velocity, so the return is sub-linear: measure them rather than trusting them.
  • The Panel Quotes m/s, Not Multipliers: the refit tab shows a hull's top speed as 16.8 → 18.8 m/s rather than speed ×1.12. A multiplier is a claim about how fast she will go, and on a server whose caps are unreachable it is a false one. A hull with no cap at all is told so outright.
  • A Refit Does Not Heal Or Hurt Her: raising a hull's maximum health scales what she currently has by the same factor, so a battered boat comes out of the yard exactly as battered as she went in — with a bigger hull around it.
  • Cargo Rows Are Off By Default: they are the one refit that can destroy your belongings, because an item in a slot that stops existing is gone. cargo is 0 in every tier out of the box, and Njord never shrinks a hold within a session. Turn it on knowing that lowering it later — or removing Njord — takes those rows away with whatever is in them.

Admin & Data

  • Admin commands: njord.harbour.place, njord.harbour.placeat <x> <y> <z>, njord.harbour.find, njord.harbour.remove (and remove force), njord.harbour.forget, njord.firstboat.revoke <playerID>, njord.whoami. All print to your console, and help lists them with descriptions.
  • njord.harbour.find Diagnoses An Absence: if there is no harbour it reports the world spawn, whether that zone is loaded on your machine, and whether the shoreline search finds an acceptable site — which separates "the search never ran" from "the search ran and rejected everything". Those two look identical in a log and have completely different fixes.
  • njord.harbour.remove Will Not Orphan Her: it can only destroy a Harbourmaster whose zone is loaded, so when it cannot reach her it keeps the site and says so rather than forgetting where she is. remove force overrides that, and tells you what it cost.
  • Export Schema 5: speed_records and hull_bests now carry tier. A refitted hull sails to a raised cap, so a speed and the cap beside it are only meaningful together with the refit that was on her — without the field a ⭐4 Karve's record would read as either a cheat or a lie about the published cap. null means no record exists, never tier 1.

📐 v1.3.5 — The Legible Ledger Update

[!NOTE] Export shape only. No physics, handling or speed changes — every hull sails exactly as it did in 1.3.4.

  • Sailor Stats Split By Subject: barrkbot_sailors.json now carries only distance and time; wrecks and christenings moved to barrkbot_wrecks.json, and per-hull bests to barrkbot_hull_bests.json. The reason is row width rather than file size — a reader renders one row per sailor into a fixed budget, so a wide row does not just take up space, it pushes whole people out of the visible roster.
  • Per-Hull Bests Are Now Flat: One row per sailor-and-hull pairing instead of a map nested under each sailor. Nested objects are stripped from multi-row listings, so the old shape rendered as a list of names carrying nothing rankable — every hull best reachable one sailor at a time and no other way. "Who is fastest on a Karve" is now a question with an answer.
  • Rollover (schema_version: 4): A collection that outgrows Barrkbot_RowBudget continues into barrkbot_sailors_2.json, _3, and so on, rather than needing a new Njord release. Because Njord pins ServerSync's minimum version to its own, every release disconnects every player until they update — so "the file got big" should never be a reason to make everyone update.
  • Split Files Still Rank Correctly: Every part carries the top three per field computed across the whole collection before splitting. A part holding one row of thirteen still names the true overall leader. Ranking within a fragment would report a wrong winner with complete confidence, and the reader is told to trust that figure over anything said earlier — so this is the difference between a split file being safe and being actively misleading.
  • No Two Fields Share A Name: A sailor's best on a hull is personal_best_speed. top_speed now means exactly one thing across every Njord export — speed_records[hull].top_speed in barrkbot_boats.json, the world record for that hull across everyone. The two are different bases, and one name in two files is a collision a reader cannot see; a name that can't be confused beats a warning telling you not to confuse it.
  • Stale Parts Are Swept: If the roster shrinks, leftover numbered files are deleted rather than left behind for a reader to treat as live data.

🪶 v1.3.4 — The Saga‑Keeper Update

[!IMPORTANT] The Longship and the Drakkar are now speed‑capped for the first time. MaxSpeed_Longship (26) and MaxSpeed_Drakkar (30) have existed since Njord shipped but never once applied — crews used to these two hulls will feel them slow down. Server admins may want to warn their players, and can raise both values in the config if the vanilla ceiling isn't wanted.

  • Speed Limiter Fix: Njord's per‑ship speed cap matched the hulls players call the Longship and the Drakkar, not the prefabs the game actually uses (VikingShip and VikingShip_Ashlands). Neither ever resolved, so both boats fell through the limiter entirely and sailed uncapped. Every other hull — Raft, Karve, and all OdinShip / OdinShipPlus ships — was unaffected and keeps the exact behaviour it had.
  • BarrkBOT Data Export: Njord can now publish what it measures, so a Discord bot, dashboard or status page can answer questions about your fleet. Off by default. Enable Barrkbot_Enable and the server writes BepInEx/config/Njord/barrkbot_boats.json with a per‑prefab boat census and the top speed each hull type has ever reached, including who was at the helm and the cap in force at the time. Records survive server restarts.
  • Honest Absence: The export never reports a fabricated zero. A hull missing from the census means none exist, a hull missing from the records means nobody has ever sailed one, and a null cap means none applied — three different facts that a 0 would flatten into one wrong one.
  • Census Is Cheap To Tune: Counting boats sweeps every ship ZDO, so it runs on its own long interval (Barrkbot_CensusInterval, default 15 minutes) rather than sharing the speed table's cadence. Both intervals are written into the export so a reader labels staleness honestly instead of guessing.
  • Per-Sailor Stats: The export now also writes barrkbot_sailors.json — distance sailed, time at the helm, boats wrecked, boats christened, and per-hull bests, for each player. Kept in a second file so a growing roster never costs a reader the boat census. Controlled by Barrkbot_Sailors_Enable, which can be turned off to publish fleet data without naming individuals.
  • Wrecks Counted Honestly: A shipwreck means a hull destroyed by damage — not one you dismantled with a hammer, and not one that rotted at its mooring. Njord tells those apart, and a hull lost with nobody at the helm is recorded as unattributed rather than blamed on the last person who touched it.
  • Distance Measured Once: The odometer accumulates only on the peer that owns the hull, so two players sailing near each other can't both bank the same distance. A mileage leaderboard that quietly rewarded playing in groups would be worse than none.
  • OdinShip 0.7.8: Verified against the current prefab list — all seven hulls were already supported, and boats are now discovered by inspection rather than a hardcoded list, so future OdinShip additions are picked up with no Njord update.

⚓ v1.3.3 — The Named Vessel Update

[!IMPORTANT] Fixes a single-player regression where boats slowed to a halt the moment you let go of the rudder.

  • Helm Release Fix: Njord now holds the helm binding after you step back from the rudder, matching vanilla — your ship keeps her way until you actually leave the boat. Previously she coasted to a stop as soon as you released the helm. All multiplayer authority handling is unchanged: the helm is still a single, server-tracked binding per ship, so two crewmates can never both claim her.
  • Name Your Vessel: Alt + Use at the helm christens your ship. The name is stored on the ship itself, so it persists through logouts and shows up for everyone on the server.
  • Named Everywhere: Your vessel's name now appears in the helm hover text, on the crosshair hover label, and at the top of the Njord HUD.
  • Taller HUD: The readout panel is one centimetre taller, making room for the vessel name without crowding the rest of the gauges.

🌊 v1.3.2 — The ServerSync & OdinShipPlus Update

[!IMPORTANT] This update migrates Njord to ServerSync for highly stable, server-authoritative configuration locking and syncing.

  • ServerSync Migration: Completely replaced custom sync RPCs with ServerSync. Server admins can now reliably lock configuration settings across the entire server.
  • OdinShipPlus Support: Seamlessly mapped speed limits and physics logic for all new ships provided by OdinShipPlus (CargoCaravel, Skuldelev, GoblinShip, etc.).
  • Multiplayer VFX Fix: Resolved a multiplayer bug that was preventing the runic wake VFX from displaying properly on other clients.
  • Config Safety Engine: Re-wrote the configuration backend with strict float clamping, protecting your server against physics-breaking NaN/Infinity values.

🌬️ v1.3.0 — The Wind & Configuration Update

  • MAJOR CONFIG OVERHAUL: Completely rebalanced default ship handling physics (acceleration, sails, forces) for a smoother, more realistic feel across all ships.
  • Wind System Overhaul: Rebuilt the Njord wind physics system to perfectly blend with Valheim's natural winds. Full Wind Always is now togglable!
  • UI Snap Fix: The wind HUD icon now instantly snaps to the correct natural wind angle when you grab the rudder, rather than slowly interpolating from 0.
  • Mythic Logs: Improved debug and mythic saga logging consistency.
  • Experimental Wind Assists: The Wind_NoDeadZone and Wind_BlendToFull features have been moved to an opt-in [EXPERIMENTAL] status and are disabled by default.
  • Grace Period Mechanics: Added a configurable grace period delay (default 2.5s) to the wind assists. Ships will now feel the punishing effects of natural dead zones and crosswinds before the Njord assist systems kick in.

🔧 v1.2.2 — The Configuration Polish Update

  • Refined default generated configuration values.

⚓ v1.2.1 — The Authority Fix Update

[!WARNING] Fixed a critical network sync bug that caused boats to occasionally refuse to move.

  • Boat control authority tweaks and fixes.
  • Network sync bug that caused boats to refuse to move is fully resolved!

⛵ v1.2.0 — The OdinShip Update

  • Initial OdinShip support.
  • OdinShip prefabs now seamlessly benefit from Njord's advanced physics and custom config generation.

✨ v1.1.0 — The Runic Wake Update

[!NOTE] A visual identity update introducing mythic ship‑trail effects and polishing Njord’s presentation on the open sea.

  • Runic Wake VFX (New)
    • Optional glowing wake effect behind ships.
    • Color‑tinted based on config.
    • Scales with speed and sail state.
    • Fully multiplayer‑safe.
  • HUD & Visual Polish
    • Improved wake blending with waterline motion.
    • Minor HUD clarity adjustments.
    • Better visual consistency across ship types.

🛠️ v1.0.8 — The Deterministic Sea Update

[!TIP] A foundational stability update focused on multiplayer correctness, identity tracking, and predictable helm behavior.

  • ZDOID-Based Ship Identity (New Architecture)
    • Ships now use Valheim’s true network identity system.
    • No HUD flicker, no control loss, no prefab collisions.
  • Multiplayer-Safe Helm Control
    • Each ship tracks its own controller.
    • Identical ships no longer overwrite each other.
  • Deterministic Startup & Config Sync
    • Movement works instantly — no more F8 ritual.

🚀 v1.0.0 — First Public Release

  • Complete overhaul of Valheim ship handling and steering.
  • Added steering multiplier system.
  • Added acceleration and reverse force tuning.
  • Added Half/Full sail force configuration.
  • Added wind‑blend smoothing system for natural sail transitions.
  • Added Njord HUD with configurable X/Y position.
  • Added runtime config reload hotkey (F8).
  • Added server‑to‑client config sync for multiplayer.
  • Added mythic startup logs and diagnostics.