You are viewing a potentially older version of this package. View all versions.
DraagynMods-PlayerColorCompass-0.3.0 icon

PlayerColorCompass

A compass strip at the top of the screen showing other players in colors they choose, saved on the server. Simplified fork of shudnal's Compass. The server needs this mod too.

Date uploaded 2 weeks ago
Version 0.3.0
Download link DraagynMods-PlayerColorCompass-0.3.0.zip
Downloads 46
Dependency string DraagynMods-PlayerColorCompass-0.3.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333

README

PlayerColorCompass

A compass strip at the top of your screen that shows your map pins and the other players. Every player picks their own marker color, and the server remembers it, so everybody sees everybody in the right color, every time they join.

Credit

This mod is a simplified fork of Compass by shudnal (Unlicense). The compass strip images and the idea of scrolling the strip with your view come from that mod. What is different here:

  • Simplified. Pin filters, wildcard ignore lists, custom image folders and image syncing were left out.
  • Player colors are handled through the server. Instead of the server handing out colors, each player picks their own, and the server stores them by Steam/Epic ID and shares them with everyone.

Please do not run both mods at the same time: you would get two compasses.

Server requirement

Player markers and colors only work on a server that also has this mod installed (put it in the server's BepInEx/plugins folder, along with BepInEx). Map pins on the compass still work everywhere, including single-player and servers without the mod, but other players are hidden.

Features

  • Compass strip with regular and detailed styles.
  • Other players as colored markers (only players who share their position on the map). Optional names and distances.
  • Your map pins (death, bed, bosses, placed pins) with optional names and distances. They shrink and fade with distance.
  • Other players' icons and names on the map and minimap use the same colors.
  • Shared pins (optional): turn on SharePins and pins you place, rename or remove show up for everyone else who has it on. Needs the mod on the server.
  • Starred pins: left-click a pin on the map to cycle nothing, red X, gold star, nothing. A starred pin always shows on the compass at full size, however far away. Stars are yours alone and are remembered between sessions.
  • Everything is tweakable: marker size, font sizes (separate for players and pins), distance effects, position and scale of the compass.

Shared pins and stars

  • SharePins (Pins section, off by default): the server only passes pins along, it keeps no list. Pins placed while you were offline are not sent to you later, and pins you already have are never duplicated. Only pins you place by hand are shared (not death, bed or boss pins).
  • Stars use the mouse left-click on the map. They are not shared, so everyone can star what matters to them.

Picking your color

Open Configuration Manager and set MyColor (Players section). Everyone on the server sees your color. The server keeps it, so it follows your account to other PCs.

For admins

Admins get an extra section, Admin - Player colors, in Configuration Manager: one color setting for every other player who is online. Change it to set that player's color for everybody. This is handy for friends who struggle with the settings. The server checks that you are on its admin list.

Settings summary

Section Setting What it does
General Enabled, DetailedMode, Scale, Offset Show the compass, pick the style, size and position
Players MyColor, ShowPlayers, MarkerScale, ShowPlayerNames, ShrinkDistantPlayers, ColorMapIcons Your color and how players look
Pins ShowMapPins, ShowPinNames, MaxPinDistance, OnlyLastDeath, SharePins Which pins to show
Labels PlayerNameFontSize, PinNameFontSize, ShowPlayerDistance, ShowPinDistance, DistanceScaling, NearDistance, FarDistance, FarScale, FarAlpha Text and distance effects
Debug TestMarkers Fake players to preview the colors when playing alone

How color saving works

The server stores colors in BepInEx/config/PlayerColorCompass.colors.txt. When you join, you take the color the server has for you (or send yours if it has none). Colors do not need to be in anyone's own config for others to see them.