Settings

Updated a month ago

Changing a setting in game

  1. Press F5 to open the console. If nothing opens, add -console to Valheim's launch options (in Steam: right-click Valheim, Properties, Launch Options) and start the game again.
  2. Type one of these and press Enter:
    • mysix lists every MySix setting with its current value.
    • mysix get <setting> shows one setting: its value, its choices, its default and what it does.
    • mysix set <setting> <value> changes it.

Setting names and values are not case sensitive, and a change is saved at once and kept.

Who can change what

  • Server settings belong to the world. On a dedicated server, a server admin (someone listed in the server's adminlist.txt) types the mysix set command in their own console while connected, and it changes for every player at once; anyone else is told they must be an admin. In a world you host yourself, you change it.
  • Player settings are each player's own: type the command in your own game, and it changes only for you.

This mod's settings

Setting Who Values Default What it does
UniqueItems.Enabled Server true or false true One-of-a-kind pickups and creatures in unique world locations come back after a while, so every player can have them.
UniqueItems.RespawnMinutes Server a number of minutes of game time 30 How long before one comes back. One game day is 30 minutes.
UniqueItems.CoverSpawners Server true or false true Also bring back those locations' one-off creatures, such as Lord Reto, not only the pickups.
UniqueItems.ExtraPrefabs Server names separated by commas (or nothing) (empty) Extra pickup or spawner names to treat as one-of-a-kind. Only needed for something the game's location list does not cover.
UniqueItems.StartClockForOldPicks Server true or false false Start the respawn clock for pickups taken before the mod was installed, instead of waiting until a player next visits them. Costs one pass over the world.

For example, to change each one:

mysix set UniqueItems.Enabled false
mysix set UniqueItems.RespawnMinutes 60
mysix set UniqueItems.CoverSpawners false
mysix set UniqueItems.ExtraPrefabs Pickable_Swordpiece2,Pickable_Swordpiece3
mysix set UniqueItems.StartClockForOldPicks true

In the config file: BepInEx/config/com.mysix.uniqueitems.cfg, under [UniqueItems]: Enabled, RespawnMinutes, CoverSpawners, ExtraPrefabs, StartClockForOldPicks.

A setting that takes a list of names is emptied again in the config file: the console cannot set a value to nothing.

Changing a setting in the config file instead

Every setting is also in a config file, in BepInEx/config/ (your mod manager's Config editor opens the same file). Change it while the game is closed. For a server setting on a dedicated server, edit the server's own copy of the file and restart the server.

Pages