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.
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.
| Last updated | 2 weeks ago |
| Total downloads | 135 |
| Total rating | 1 |
| Categories | Server-side Client-side Utility |
| Dependency string | DraagynMods-PlayerColorCompass-1.0.0 |
| 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
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
SharePinsand pins you place, rename or remove show up for everyone else on the server. On a server that has the mod, the server's setting applies to everybody and only admins can change it. 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): on a server with the mod, the server's value is used by everyone, and other players' own copy of the setting is hidden. Admins can change it in-game (the server checks its admin list and saves it) or in the server's config file. 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.