D-SERV Digital Marketplace is now open. Download free and paid products for your game server or community.
← All products
Plugins / Version 0.1.0 / FREE

D-SERV Serpent Spawner for Valheim

By danniesmile

BepInEx 5 plugin (.dll) Server-side only: Add configurable sea serpent encounters to a dedicated Valheim server. Set spawn chances for day, night and storm forecasts, with shared cooldowns for nearby players. Server-only installation, tested on Valheim 1.0 dedicated servers.

Product Information

Overview+

D-SERV Serpent Spawner adds a separate system for spawning ordinary sea serpents near players in deep Ocean. Server admins can tune how often the plugin checks for an encounter, how likely one is to occur and how close it can be to a crew. Valheim continues to handle its natural serpent spawns.

Install the plugin on the dedicated server. The design uses Valheim's built-in serpent prefab and requires no client copy of this plugin.
Tested and working on D-SERV’s Valheim 1.0 dedicated servers.

Features+
  • Configurable encounters. Set the check interval, day and night chances, storm chance, spawn distance and cooldown in one configuration file.
  • One roll per group. Nearby players share a roll, so passengers in the same boat do not each trigger a separate chance.
  • Deep Ocean placement. The plugin checks generated terrain depth, biome and spacing from players. It samples the area around each candidate position to reduce near-shore spawns.
  • Local and world limits. An existing living serpent nearby can block a new plugin spawn. The world limit counts only living serpents added by the plugin.
  • Cleanup for plugin spawns. By default, an extra serpent becomes eligible for removal after 30 minutes of world time if all tracked players are more than 300 m away. Cleanup targets only tagged plugin spawns.
  • Dry-run and logs. Enable dry-run in the configuration to log eligible attempts without spawning or removing creatures.

| Default setting | Value |
| --- | --- |
| Check interval | 120 seconds |
| Day / night / predicted rain or thunderstorm | 15% / 40% / 60% per eligible group check |
| Cooldown after a successful spawn | 8 minutes for the group and nearby area |
| Spawn distance | 65–100 m from the selected player, at least 65 m from other tracked players |
| Minimum generated water depth | 12 m |
| Local limit | An existing living serpent within 250 m blocks additional spawning by the plugin |
| World limit | 8 living plugin-spawned serpents |

The storm chance replaces the day or night chance when the Ocean forecast qualifies. If the forecast is unavailable, the plugin uses the day or night chance. These are probabilities for eligible checks.

Requirements & Dependencies+
  • A dedicated Valheim server running BepInEx 5 for Valheim, with a loader version that supports the installed game build. Install BepInEx separately.
  • Access to the server files, BepInEx log and restart controls. The archive is suitable for manual installation, including through a Pterodactyl file manager.
  • A text editor to change the optional configuration settings.
  • The prebuilt DLL uses the game and loader runtime. The prebuilt DLL runs without installing a separate .NET SDK. The plugin has no Jötunn or Harmony dependency.
  • Compatibility status. Tested and working on D-SERV’s Valheim 1.0 dedicated servers.
What Files Do I Get?+
DServSerpentSpawner-0.1.0-experimental-EN-public.zip
├── BepInEx/
│   ├── plugins/DServSerpentSpawner/DServSerpentSpawner.dll
│   └── config/eu.dserv.serpentspawner.cfg
├── README.md              Installation, configuration and troubleshooting
└── LICENSE                MIT licence
How To Install?+

1. Download and extract DServSerpentSpawner-0.1.0-experimental-EN-public.zip.
2. Verify that BepInEx 5 starts with the dedicated server. Stop the server and back up the world. Use a copy of the world for the first test.
3. Upload the archive's DLL and configuration to these paths, relative to the server root:

  • BepInEx/plugins/DServSerpentSpawner/DServSerpentSpawner.dll
  • BepInEx/config/eu.dserv.serpentspawner.cfg

4. In the configuration, set DryRun = true and VerboseLogging = true for the first check. Start the server and look for Dedicated world ready in the BepInEx log.
5. Join from a client without the plugin and sail in deep Ocean. A WOULD SPAWN log line confirms that a spawn attempt passed the checks in dry-run. Check the BepInEx log for any skipped attempts or errors.
6. When testing is complete, set DryRun = false and restart to enable live spawning.

To disable the plugin, stop the server, set Enabled = false and restart. To uninstall, remove the DServSerpentSpawner plugin folder while the server is stopped. Any already spawned creatures can remain in the saved world.

Documentation+

The included README.md covers setup, configuration, log messages and removal.

Language: The listing, README, configuration keys and plugin logs are in English.

License Information+

MIT License. The full licence and copyright notice for the D-SERV plugin are included in LICENSE.

You may use the plugin on multiple servers, modify it, and redistribute copies or modified versions under the terms of the included licence. Keep the copyright notice and licence text with copies or substantial portions of the software. These permissions apply to the plugin code and accompanying material covered by its MIT licence. Third-party software and game content retain their own terms.

D-SERV provides its release through d-serv.dev. The MIT licence governs what recipients may do with their copies.

Important Details

  • Unofficial community mod. D-SERV Serpent Spawner is an independent mod for Valheim and has no affiliation with or endorsement from Iron Gate or Coffee Stain Publishing. The name Valheim identifies the game for which the plugin was made.
  • Release status. Version 0.1.0 retains its Experimental label. D-SERV confirmed it works on its Valheim 1.0 dedicated servers. Server setups and mod combinations can differ.
  • Weather. Storm settings use the vanilla Ocean forecast. Weather overrides and other mods can cause the forecast and the conditions seen by players to differ.
  • Performance. This build scans world network objects at the configured interval. Large-world performance has yet to be benchmarked.
  • Support. To report an issue, use the D-SERV Marketplace contact channel. Include the Valheim build, BepInEx version, relevant configuration settings and relevant log lines. Remove sensitive information from the log before sharing it.