You are viewing a potentially older version of this package. View all versions.
cjayride-BossAffixByPlayers-1.0.5 icon

BossAffixByPlayers

Boss fights can require a minimum number of players within range before the boss takes damage, with a HUD message when blocked. Optional CL&LC affix swap by player count (off by default).

Date uploaded 2 weeks ago
Version 1.0.5
Download link cjayride-BossAffixByPlayers-1.0.5.zip
Downloads 32
Dependency string cjayride-BossAffixByPlayers-1.0.5

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

Boss Affix By Players

Control when bosses can be summoned and optionally adjust their Creature Level and Loot Control (CL&LC) affixes based on the number of nearby players.

Thunderstore Package: BossAffixByPlayers
Assembly: Cjayride.BossGroupAffix

Features

Boss Summon Requirements

By default, bosses cannot be summoned until enough living players are within range of the boss's spawn point.

  • Minimum Players: 2 living players by default.
  • Player Range: 180 meters from the boss spawn point.
  • Offering Protection: Summoning items are not consumed when the requirements are not met.
  • HUD Notification: Displays a center-screen message when a summon is blocked.
  • Configurable Messages: Customize the notification text and cooldown.

Set MinPlayersToStartFight = 0 to disable the summon requirement.

Optional Solo/Group Affix Switching

The mod can optionally change a boss's CL&LC affix based on the number of nearby players.

When enabled with SwapAffixByPlayerCount = true:

  • Applies the configured solo or group affix based on nearby player count.
  • Updates the affix while the boss is at full health.
  • Locks the affix when the boss first takes damage.

Disabled by default. When SwapAffixByPlayerCount = false, this mod does not modify boss affixes.

Configuration

Config file:

BepInEx/config/cjayride.bossgroupaffix.cfg

Setting Default Description
Enabled true Enables or disables the mod.
MinPlayersToStartFight 2 Minimum living players required within range to summon a boss. Set to 0 to disable the requirement.
PlayerRange 180 Distance in meters used to check nearby players.
FightBlockedMessage See config file HUD notification shown when a summon is blocked. Supports {0} for the required player count, {1} for the range, and {2} for the current player count.
MessageCooldownSeconds 3 Minimum time between repeated notifications.
SwapAffixByPlayerCount false Enables optional solo/group CL&LC affix switching.

Affix Configuration

These settings apply only when SwapAffixByPlayerCount = true:

  • SoloAffix — Affix used when fighting solo.
  • GroupAffix — Affix used when fighting with a group.

Installation

Install Boss Affix By Players on the server and all clients.

Compatibility

  • Verified against Valheim 1.0.21. BepInEx dependency: denikson-BepInExPack_Valheim-5.4.2360.

CHANGELOG

Changelog

1.0.5

  • Verified against Valheim 1.0.21 (Release build).
  • BepInEx dependency set to denikson-BepInExPack_Valheim-5.4.2360.

1.0.4

  • MinPlayersToStartFight (default 2): boss summon (OfferingBowl) is blocked until enough living players are within PlayerRange of the spawn point; trophies are not consumed; local player gets a throttled center HUD message.
  • SwapAffixByPlayerCount (default false): optional CL&LC solo/group affix swap; when off, this mod does not change affixes.

1.0.3

  • MinPlayersToDamage (default 2): bosses take no damage unless that many living players are within PlayerRange. Stops solo chip and group cleanup after a solo-tagged fight.
  • Defaults: SoloAffix Reflective, PlayerRange 180. Affix is refreshed from nearby player count when the boss first takes damage, then locked.

1.0.2

  • Thunderstore package renamed to BossAffixByPlayers; description covers any configurable solo/group CL&LC affix.
  • Soft dependency on CL&LC so the plugin and config file still load if CL&LC is missing (affix swap stays off until CL&LC is present).
  • Saves config on startup and logs the config path.

1.0.1

  • New icon.

1.0.0

  • First release. Bosses get Mending when fought solo and Summoner when fought as a group.