FlyingHose-GroupBuffs icon

GroupBuffs

Players near each other get a small stamina regeneration bonus, the Fellowship buff. A reward for exploring together. The server sets the numbers.

Last updated an hour ago
Total downloads 11
Total rating 0 
Categories Server-side Utility
Dependency string FlyingHose-GroupBuffs-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 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.2360

README

Group Buffs

Part of FlyingHose's Modpack. Needs only BepInEx.

Players who stay close to each other get a small bonus. It rewards you for exploring together.

The Fellowship buff

While at least one other player is within 20 metres of you, you get the Fellowship status effect. It shows in the status bar like any other effect, with its own icon, name, and tooltip.

  • Stamina regeneration goes up 15 percent with one other player near.
  • Each extra player near adds 5 percent more.
  • The bonus never goes above 30 percent.

So two players get +15 percent each, three players get +20 percent each, and four or more get +30 percent each.

The buff appears within about a second of a friend arriving. When the last friend leaves, it holds for about four seconds and then fades, so it does not blink on and off at the edge of the radius.

Dead players do not count. Players too far away for your game to have loaded do not count either. In practice the radius cannot reach past about 60 metres, even if you set it higher.

Optional extras

You can also give the buff a health regeneration bonus and an eitr regeneration bonus. Both are off by default. They are flat: they do not grow with more players. The health bonus speeds up the health that food gives you over time. It does not change the game's other healing.

The server sets the numbers

Everything in the Buff section is synced, and shows in Althing. On a server, the server's values are used and your own config file is ignored while you are connected. You cannot give yourself a bigger bonus on a shared server.

Setting Default Range
Buff.Enabled true on or off
Buff.Radius 20 5 to 100 metres
Buff.StaminaRegenBonusPercent 15 0 to 100
Buff.PerExtraPlayerPercent 5 0 to 100
Buff.MaxBonusPercent 30 0 to 100
Buff.HealthRegenBonusPercent 0 0 to 100
Buff.EitrRegenBonusPercent 0 0 to 100

General.Enabled and General.DebugLogging are local. Turning General.Enabled off applies no patches and needs a restart.

If a game update breaks it

If a game update breaks the buff, it stays off for the session and the game tells you once, in the top left: Group Buffs is off: a game update broke it. No Fellowship buff. Nothing else changes.

Everyone needs the mod

The server and every player must have the same version of Group Buffs. A server with the mod refuses players who do not have it, and a player with a different version sees which version the server runs.

Playing alone

Solo play gets nothing. The buff needs another player near you, so with no one else in the world there is no Fellowship and no bonus. That is on purpose.

How it works

Your game works out your buff on its own. It looks at the positions of the other players it can already see and checks who is within the radius. Nothing extra is sent over the network. The buff is a normal status effect on your character. It is never saved into your character file, so a character that played with the mod loads fine without it.

Group Buffs also runs on a dedicated server. There it only does the version check and the config sync.