You are viewing a potentially older version of this package. View all versions.
Stuco-TotemPins-2.2.0 icon

TotemPins

Add-on for Travel Totems: totem locations appear on everyone's map like the trader once someone gets close, using the Travel Totems icon. Install on server and all clients.

By Stuco
Date uploaded a month ago
Version 2.2.0
Download link Stuco-TotemPins-2.2.0.zip
Downloads 52
Dependency string Stuco-TotemPins-2.2.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350
VentureValheim-Travel_Totems-1.0.2 icon
VentureValheim-Travel_Totems

Adds a new interconnected teleportation system! Travel Totems are added to new worlds as random locations to be discovered. Players can build Travel Totems to expand the network. Temporary Totem Bombs can be crafted or sold by merchants. Customizable!

Preferred version: 1.0.2

README

TotemPins

An add-on for Travel Totems that makes the totems discoverable.

Travel Totem locations show up on the map the same way the trader does. Once anyone gets near enough for that area of the world to load, a pin appears for every player on the server, using the Travel Totems map icon.

The pins don't say which biome a totem is in. The server sends every totem under one neutral name, so all you see is that there's a totem there.

Installation

Install TotemPins on the server and on every player's game.

  • The server marks totem locations so they get map pins and sends them to players.
  • Each player's game draws those pins with the Travel Totems icon.
  • A player without TotemPins just won't see the pins. Nothing breaks.

Travel Totems itself must be installed, as usual.

Existing worlds

Totems in areas that have already been explored are pinned as soon as the server sends its icon list. That happens when a player joins and whenever a new area is generated.

Configuration

The config file is BepInEx/config/valheimtotems.totempins.cfg.

Setting Default Description
Enabled true Turns the feature on or off.
LocationPrefix VV_TravelTotemLocation Locations whose name starts with this get a pin.
UseTravelTotemsIcon true Uses the Travel Totems icon. Needs TotemPins on the server and clients.
PinStyle Discoverable Client only. Discoverable draws Travel Totems' grey "not yet unlocked" icon. Unlocked draws the normal totem icon.
SmallPins true Client only. Draws pins at normal pin size. Set false for the large trader-icon size.
IconName StartTemple Vanilla icon to use when UseTravelTotemsIcon is false. This works with a server-only install.
LogIconNames false Client only. Writes every map icon name the game knows to the log.

Server-only mode: set UseTravelTotemsIcon = false to borrow a vanilla icon. Players then don't need TotemPins. If you use StartTemple, keep Travel Totems' AllowSelectDefaultSpawn set to false. Otherwise totem pins become selectable as spawn points on the travel map.

How it works

TotemPins uses Valheim's own trader icon system:

  1. On the server, it switches on "show icon once placed" for the Travel Totems locations.
  2. Still on the server, it renames their icon entries to a single neutral name.
  3. On each player's game, it registers the Travel Totems map sprite under that name and draws the pins at normal size.

It doesn't change Travel Totems and doesn't save anything to your world.

Compatibility

  • Built for Valheim 1.0, with BepInExPack 5.4.23.x and Travel Totems 1.0.2.
  • It doesn't use any Travel Totems settings, so it shouldn't conflict with them.

Credits

Travel Totems is made by OrianaVenture (VentureValheim). TotemPins is an unofficial add-on.

CHANGELOG

3.0.0

  • Only totems that no player has unlocked get a TotemPins pin. Once anyone unlocks one, its pin goes away for everyone and Travel Totems' own pins take over.
  • Shared unlocks: when one player unlocks a world totem, every player gets it unlocked. Built totems stay per player unless ShareBuiltTotems is on.
  • Players' games report their Travel Totems unlocks to the server, which saves them in the world. Unlocks made before this version count once that player logs in.
  • The server now controls Travel Totems' ShowMapPins, ShowDiscoverableMapPins and AdminBypass for every player (each can be left to the player).
  • PinStyle and SmallPins are now server settings, in the new [Pins] section. Old values in [Client] are ignored.
  • New HideDuplicatePins setting hides Travel Totems' grey pin where a TotemPins pin already marks the same totem.
  • The server picks up config file edits without a restart.

2.2.0

  • Pins use Travel Totems' grey "discoverable" icon at normal pin size, matching Travel Totems' own discoverable pins.
  • New client settings PinStyle and SmallPins to switch back to the large unlocked-style icon.

2.1.0

  • The server sends totems under one neutral icon name, so the biome isn't revealed.

2.0.0

  • Uses the Travel Totems map icon. Requires the mod on clients.

1.1.0

  • Optional logging of the map icon names the game knows.

1.0.0

  • First release: trader-style pins for Travel Totems, server-only, using a vanilla icon.