You are viewing a potentially older version of this package. View all versions.
sighsorry-DropNSpawn-1.2.4 icon

DropNSpawn

Configure all object/creature drops, spawns, spawners, and boss altars. Add boss despawn rules, remote Forsaken power selection, altar hover info for offerings/bosses, RuneStone location pins, Vegvisir buffs, stacked drops and multiple trophy drops.

Date uploaded a week ago
Version 1.2.4
Download link sighsorry-DropNSpawn-1.2.4.zip
Downloads 72
Dependency string sighsorry-DropNSpawn-1.2.4

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333
JereKuusela-Expand_World_Data-1.63.0 icon
JereKuusela-Expand_World_Data

Allows adding new biomes and changing most of the world generation.

Preferred version: 1.63.0

README

DropNSpawn

Configure all object/creature drops, spawns, spawners, and boss altars. Add boss despawn rules, remote Forsaken power selection, altar hover info for offerings/bosses, RuneStone location pins, Vegvisir buffs, stacked drops, and level-scaled trophies.

Domains

Domain What it controls
location Boss altars, altar item stands, Vegvisir global effects, and RuneStone global pins
character CharacterDrop loot, one-per-player drop counting, drop-in-stack, despawn rules, and boss-tamed pressure
object Containers, pickables, pickable items, fish, destructibles, mine rocks, trees, and object drop tables
spawner SpawnArea and CreatureSpawner tables, intervals, caps, level ranges, and location-scoped spawner rules
spawnsystem World SpawnSystem rows, biome rules, time-of-day rules, global-key gates, and extended spawn data

spawnsystem is a full replacement domain: the loaded rows become the live world spawn table. Keep every spawn row you still want.

Location


Boss-location and location-helper behavior.

  • boss altar behavior, summon requirements, and respawn timing
  • slot-specific ItemStand restrictions and offering changes
  • biome-based vegvisirGlobalEffects status-effect rewards when interacting with Vegvisirs
  • RuneStone global pins for revealing configured map locations from pinless RuneStones
  • hover on altar to see the offering and summonable boss

Character

  • configure creature loot
  • merge multiple conditional loot rows for the same creature
  • VNEI-compatible character drop display
  • drop creature loot in one stack when configured
  • onePerPlayer can count nearby living players within the configured range
  • character despawn rules and boss-tamed pressure

Object

  • chest loot replacement
  • tool-tier and health changes for trees and rocks
  • tree or rock drop changes
  • pickable loot changes (bone piles, fish, berries)
  • destructible health and spawn-on-destroy changes
  • DNS_object.locations.reference.yml exists because many objects are dependent on locations

Spawner

  • change spawn tables
  • change spawn intervals, trigger distance, caps, level range, respawn time
  • apply location-scoped spawner overrides with top-level locations
  • ExpandWorldData compatible
  • DNS_spawner.locations.reference.yml exists because many spawners are dependent on locations

SpawnSystem

The vertical lines in the spawner image are world SpawnSystem checks.

  • biome/world spawn rules
  • global-key-gated spawning
  • time-of-day spawn rules
  • world-level conditional behavior
  • ExpandWorldData compatible
  • This domain is authoritative and replaces the live SpawnSystem table with the rows you define.
  • Above image explains how Valheim world spawning works.

Workflow

  1. Open BepInEx/config/DropNSpawn/.
  2. Use the generated .reference.yml files to find real prefab names and current values.
  3. Copy only the rows you want to change into DNS_<domain>.yml or DNS_<domain>_*.yml.
  4. Save the YAML file. DropNSpawn reloads loaded YAML at runtime.

Generated samples live in BepInEx/config/DropNSpawn/examples/. They are safe examples until you copy them into an active override file or rename them to a loaded DNS_<domain>_*.yml file.

YAML Files

Loaded override files:

  • DNS_<domain>.yml
  • DNS_<domain>.yaml
  • DNS_<domain>_*.yml
  • DNS_<domain>_*.yaml

Generated helper files:

  • DNS_<domain>.reference.yml shows current game data and prefab names.
  • DNS_object.locations.reference.yml shows which location roots contain object prefabs.
  • DNS_spawner.locations.reference.yml shows location context for spawner rules.
  • DNS_<domain>.full.yml is an exhaustive scaffold written by dns:full; it is not loaded.

Use one primary file per domain when possible. Supplemental files are useful for splitting large configs by biome, progression tier, or feature.

Reference Updates

Reference files are generated lookup snapshots. Missing reference files are created automatically, and existing reference files are updated automatically when their source game data changes.

Notes:

  • DNS_spawnsystem.reference.yml is generated from vanilla and upstream mod SpawnSystem data. DNS_spawnsystem.yml full overrides are not used as reference source data.
  • DNS_object.locations.reference.yml and DNS_spawner.locations.reference.yml are generated lookup files and are also kept up to date automatically.

Console Commands

  • dns:reference [object|character|spawner|location|spawnsystem|all] Regenerates reference files.
  • dns:full [object|character|spawner|location|spawnsystem|all] Writes non-loaded full scaffold files.
  • dns:inspect spawner Shows the current or nearest spawner target and resolved location selector context.
  • dns:inspect bossstone Shows per-player boss stone state for the aimed target.
  • dns:bossstone reset <exactPlayerName> Admin command that resets per-player boss stone state for one player.

Useful Config

Most server-facing settings are synced from the server.

Domain toggles live under 4 - Domains:

  • Enable Object Overrides
  • Enable Character Overrides
  • Enable Spawner Overrides
  • Enable Location Overrides
  • Enable SpawnSystem Overrides

General, boss, and character settings include:

  • Lock Configuration
  • Default SpawnArea Max Total Spawns
  • Enable Runestone Global Pins
  • Enable Vegvisir Global Effects
  • Show LocationProxy Offering Bowl Hover Info
  • Per Player Boss Stones
  • Remote Forsaken Power Selection
  • Enable Boss Tamed Pressure
  • Enable Same Boss Duplicate Block
  • default despawn delay seconds
  • default despawn range
  • OnePerPlayer drop check range
  • global drop in stack
  • global drop in stack blacklist
  • global trophy level multiplier
  • global trophy level multiplier blacklist

Client-only settings include Rotate Forsaken Power Shortcut.

Compatibility

If another mod fully owns the same system, disable the overlapping DropNSpawn domain instead of stacking both.

  • VNEI: DropNSpawn character drops are exposed for normal lookup.
  • MonsterDB: overlaps with character and spawnsystem.
  • Drop That!: overlaps with object and character.
  • Spawn That!: overlaps with spawner and spawnsystem.
  • Expand World Spawns: overlaps with spawnsystem.

Helpful Mods

  • ESP for spawners, spawn points, and object info
  • XRayVision for object components
  • Infinity Hammer for placing and removing test objects

GitHub

https://github.com/sighsorry1029/DropNSpawn

CHANGELOG

Version Update Notes
1.2.4 - Fixed RuneStone global pins on dedicated servers by resolving location targets on the authoritative server and returning the selected pin to clients.
- Fixed Same Boss Duplicate Block for CreatureSpawner so duplicate-blocked bosses do not finish their respawn delay while the previous boss is still alive.
- CharacterDrop now supports non-item prefabs, such as monster prefabs, in reference/override YAML and VNEI display. Non-item drops default levelMultiplier to false; item drops keep the vanilla-style default of true.
1.2.3 - Added Vegvisir global effects with biome-based weighted status rewards, optional FX, localization, and DNS_ClearStatus.
- Breaking: removed location vegvisirs pin-edit fields and location runestones edit/reference fields; Vegvisirs keep vanilla pins and RuneStone location reveals use runestoneGlobalPins.
※※※ Regenerate dns.locations.yml on new profile and check the new format. Or you can just regenerate your current dns.locations.yml if you have not edited any ※※※

- Breaking: spawner location filters now use locations: [] instead of location: and can match multiple locations.
- Added global trophy level multiplier config with blacklist support.
- Reference files now auto-update; SpawnSystem reference is generated from vanilla and upstream mod data, not DNS override YAML.
- Removed manual reference update mode, old diagnostics logging options, afternoon timeOfDay support, and the OnePerPlayer living-player toggle; nearby OnePerPlayer checks now count living players only.
- Cleaned config ordering, transport sync, and runtime queue performance.
1.2.2 - Refactoring and optimizations
1.2.1 - Added RuneStone global pins, allowing pinless RuneStones to reveal a saved map pin for a configured location.
- Added SpawnArea total spawn limits, allowing spawners to automatically break after a set number of successful spawns.
1.2.0 - VNEI shows fish's random loot with DNS installed
1.1.9 - Vegvisir supports weighted random location pinning. Put weight: n on vevgisir.locations in locations.yml
1.1.8 - Boss despawn when no player is near(configurable)
- Boss despawn refund offerings when they are stated in the character.yml
Block summon and spawn of more than one boss wihtin the area(configurable)
- Organized configs and refactored some codes for better performance
- Better support for EWD fields
1.1.7 - Fixed boss trophy sacrificing
- Fixed forsaken rotation making UI too often
1.1.6 - Optimized objectdrop hotpath
- Fixed bossstone reset command not working on host self
1.1.5 - Refactored huge amount of codes
- Removed cllc fields since it can be done with ewd field
- Added rotation of forsaken powers
- Added per player bossstones option
1.1.4 - Fixed destructibleType field casuing framedrop when it is in object override.yml
1.1.3 - Fixed EWD clone locations not working as conditions for character,object and spawner domain
1.1.2 - Fixed location domain triggering errors related monstrum locs
1.1.1 - Spawnsystem reference would be generated through command only
- Lightened up how spawnsystem domain works
- Fixed serversync not working for spawnsystem on dedi for real
1.1.0 - Ligthened some queue logic for some domains
1.0.9 - Fixed framedrop with treebase/minerock health override
- Fixed spawnsystem reference not generating automatically sometimes
1.0.8 - Fixed spawnsystem serversync not working on some clients on dedi
1.0.7 - Fixed creaturespawner edit not working on dedi
1.0.6 - Fixed cloned location not working with dns location conditions on dedi
- Fixed spawners not working with location conditions on dedi
1.0.5 - Fixed serversync not working on some domains
- Fixed cloned location not being applied in override yml
- Fixed custom biome spawnsystem lines being not shown through ESP
- VNEI compatibility is now always live
- Performance and network performance improvement
1.0.4 - Support for custom EWD biomes on all domains and conditions
1.0.3 - Improved reference grouping and fps
1.0.2 - Lightened spawnsystem check and other domains to reolve hitch
1.0.1 - Resolved hitch that was caused by deleting obsolete spawnsystem lines
1.0.0 - Initial Release