PlayerPinColors
Pick the colors of your player pin on the map: one for the figure and name, one for the sword and shield. Other players with the mod see them, and other mods can reference them.PlayerPinColors
Pick the colors of your player pin on the map. Other players with the mod see your colors, and other mods can read them so they can match each player's colors for chosen effects or customizations.
Features
- Allows players to customize their pin on a shared map to help identify who is who. All players can modify for their character:
- Player Primary Color: the figure in your map pin, your name under it, and your own map arrow.
- Player Secondary Color: the sword and shield in your map pin.
- Name Color: Option to keep your name in the game's color while the pin uses your primary color.
- Admins can decide to enforce visually distinct colors for all players. Tools are provided to help easily manage color assignments in-game.
- Optional server-side enforcement can require modded players' primary colors to be perceptually distinct. Rejected colors show five valid suggestions as color blocks: click one to use it or click the refresh button for five more.
- Colors show up for everyone in the session who has the mod, even players who are far away. Players without the mod see the normal pins.
Installation
The app must be installed on the server. Additional client installs are required when distinct color enforcement is enabled, optional by default otherwise. A player without the mod can still join, but sees the normal pins, and their colors are neither shared nor checked. Players appear on each other's maps only when they turn on public position on the large map, as in the base game.
Mod manager (recommended): install with Gale, r2modman or Thunderstore Mod Manager. Dependencies are installed for you.
Manual:
- Install BepInExPack_Valheim and Jotunn.
- Extract the
pluginsfolder from this package intoValheim\BepInEx\plugins\PlayerPinColors\.
Configuration
- Easy to set in-game picker: open the large map and click the player icon near its bottom-right corner (customizable location). The panel shows a live preview of your pin and name.
- Alternatively, type
/mycolorsin chat to open the color panel.
- Alternatively, type
For mod authors: using a player's colors
PlayerPinColors stores each player's colors on their player ZDO under the keys below. Every key starts with this mod's plugin ID (Truncated.PlayerPinColors.), so it can't be mistaken for a vanilla value or another mod's. Reading one is always a deliberate choice. The values are strings: "#RRGGBB", or "" when the player uses the game's color.
| Key | Value |
|---|---|
Truncated.PlayerPinColors.PrimaryColor |
"#RRGGBB" or "" |
Truncated.PlayerPinColors.SecondaryColor |
"#RRGGBB" or "" |
Integration details can be found in the FAQ / Wiki.
Compatibility
- Required mods: BepInExPack_Valheim, Jotunn.
- Multiplayer: install on the server and on every client. Players without the mod can still join, but see the normal pins.
- Known conflicts: other mods that change the player pin icon or name color on the map (such as MinimapPlayerColor). Use only one of them.
Credits
- Mod Icon created without AI by Truncated; all rights reserved.
- Built using ClaudeCode with Jotunn and BepInEx.
- Pin recoloring approach inspired by MinimapPlayerColor by JakubecDev.
