224-ServerSyncedBoatMapExploreRadius icon

ServerSyncedBoatMapExploreRadius

Increases the map exploration radius while sailing. The radius is hosted on the dedicated server and synced to all clients (derivative of nearbear's BiggerBoatMapExploreRadius).

Last updated a month ago
Total downloads 27
Total rating 0 
Categories
Dependency string 224-ServerSyncedBoatMapExploreRadius-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

ServerSyncedBoatMapExploreRadius

Increases the map exploration radius while you're driving a boat. The radius value is hosted on the dedicated server and synchronized to every client on connect, so the whole server uses the same setting and players can't override it locally.

This is a derivative of nearbear's BiggerBoatMapExploreRadius. The boat-detection and explore logic is unchanged; the only difference is that the radius config now flows from the server to clients via the ServerSync library (which is bundled inside the DLL — no extra dependency to install).

Configuration

All config lives in the usual BepInEx config file: BepInEx/config/nearbear_ServerSyncedBoatMapExploreRadius.cfg.

Setting Default Range Description
BoatExploreRadius 500 1010000 Map reveal radius in meters while sailing. Synced from the server.
LockConfiguration true bool When true, the server's BoatExploreRadius is authoritative and clients cannot change it locally.

How to set the radius

  1. On the dedicated server, open BepInEx/config/nearbear_ServerSyncedBoatMapExploreRadius.cfg and set BoatExploreRadius = <your value>. Leave LockConfiguration = true.
  2. Restart the server.
  3. When clients connect, they automatically receive the server's value — they don't need to edit anything locally. The client's own config file will be overwritten with the server's value while connected.

If you'd rather let each player keep their own radius, set LockConfiguration = false on the server. Clients will then use whatever is in their local config file.

Requirements

  • BepInExPack Valheim (only Thunderstore dependency — ServerSync is bundled inside this mod's DLL)

ServerSync is only effective on a dedicated server. In single-player or a player-hosted (peer-to-peer) session, the local config file is always the source of truth.

Credits

  • nearbear — original BiggerBoatMapExploreRadius mod. The Minimap patch in this mod is essentially unchanged from the original.
  • blaxxun-boopServerSync, the config synchronization library used here.