Source-checkedBuilding & decoration

Deathsquito Lightning Tower

by valheimvibes · for Valheim

A defensive deathsquito nuking lightning tower, that can recharge from storms or thunderstones. Enemies, range, damage, etc are all configurable.

62Downloads
35d agoLast updated
BepInExLoaders
ThunderstoreSource

About Deathsquito Lightning Tower

From Thunderstore

A defensive deathsquito nuking lightning tower, that can recharge from storms or thunderstones. Enemies, range, damage, etc are all configurable.

Deathsquito Lightning Tower

A storm-powered defense against Deathsquitos.

0.3.8 is a beta. Tested locally on Valheim 1.0.16 with BepInExPack 5.4.2351 and Jötunn 2.30.2. Multiplayer still needs testing with connected players.

Build and charge

Find Lightning Tower in the Hammer's Misc category. An Artisan Table is required.

| Material | Amount | | --- | ---: | | Thunder Stone | 5 | | Copper | 15 | | Black Metal | 15 | | Crystal | 10 |

New towers start empty. Interact with a tower while carrying a Thunder Stone to restore all 30 charges. Thunderstorms replenish one charge every two seconds while the area is loaded.

Each lightning attack spends one charge and deals 50 lightning damage by default. Default range is 40 m with a two-second cooldown. The target list defaults to Deathsquitos and can include other creatures.

Ready towers coordinate their shots: for example, three towers with three reachable bugs can hit three different bugs. With one shared bug, the closest eligible tower gets the shot. With several bugs, assignment favors hitting as many different bugs as possible, then minimizes total distance.

Server compatibility

You can leave this mod installed when joining a server that does not use it, including a vanilla server. The tower stays inactive: it is hidden from the Hammer menu and spawn list, cannot be placed, and sends no tower attack or refill messages. It waits for the connection to finish before enabling tower features.

The tower works normally in single player and on servers that have the mod. Switching worlds or servers updates availability automatically; no restart or configuration change is needed. Use lt_status to check whether it is active.

Servers using Lightning Tower still require every player to install the same version, plus BepInEx and Jötunn. This protects clients from missing custom building assets. Other mods may have their own connection requirements.

Configuration

Launch the game once to generate BepInEx/config/valheim.lightningtower.cfg. Close the game before editing, then restart.

The plugin now uses the neutral ID valheim.lightningtower. When replacing an earlier development build, rename its Lightning Tower config to valheim.lightningtower.cfg before launching to preserve settings. Remove the old plugin DLL so only one copy is installed. Placed towers and their saved charge keys are unchanged. All multiplayer participants must use the new build.

Settings include attack range, capacity, damage, cooldown, target list, scan interval, line of sight, storm recharge rate, recipe, tower height, lightning width and jaggedness, charged halo size, attack volume, and hum range/volume. TowerHeightMeters defaults to 6 and measures the placement point to the highest branch; an additional 0.45 m of base extends into the ground at default scale. ChargedHumVolume defaults to 0.3 and ChargedHumRangeMeters to 3. Gameplay settings are synchronized from the host/server.

The [Crafting] settings are ThunderstoneCost = 5, CopperCost = 15, BlackMetalCost = 15, and CrystalCost = 10. Every enabled ingredient is recoverable. If all four are set to zero, the default recipe is used.

Example combat configuration:

[Combat]
TargetPrefabs = Deathsquito, Seeker, Gjall
LightningDamage = 50
BluntDamage = 0
SlashDamage = 0
PierceDamage = 0
FireDamage = 0
FrostDamage = 0
PoisonDamage = 0
SpiritDamage = 0

Use exact, case-sensitive creature prefab names. Spaces and duplicate entries are ignored; unknown names are logged and skipped. An empty list disables targeting. Players, dead and tamed creatures are always excluded. The one-to-one assignment also applies to mixed creature types.

Damage types add together, before the game's resistances, weaknesses and damage-over-time rules. Each accepts 0–10,000; zero disables that type. All types at zero prevents attacks and charge consumption. Existing LightningDamage values are preserved when updating.

For console testing, the prefab name is piece_lightningtower:

spawn piece_lightningtower

Current limitations

  • Use with trusted multiplayer participants. Refill payment is client-controlled, and sender authentication and RPC flood protection need hardening before treating this mod as safe against malicious clients.
  • Recharging from weather requires the tower's area to be loaded.
  • The model is original geometry; its native materials, effects and audio depend on the installed Valheim version.

The mod references game assets at runtime. No Valheim models, textures, or sound files are included in this package. This mod was developed with AI assistance (some vibing and lots of reading).

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 35d ago.

Deathsquito Lightning Tower on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Required on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.3.8, released 2026-09-30

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 2 recorded builds of Deathsquito Lightning Tower.

Recent builds

BuildReleasedGame versionsLoaders
0.3.82026-09-30n/aBepInEx
0.3.72026-09-29n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run Deathsquito Lightning Tower on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Building”

Building & decoration

Blocks, furniture, decorations and building tools.

Runs on your server

From source side support

Thunderstore lists Deathsquito Lightning Tower as required on the server. Check its Thunderstore page to see whether players need it too.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serverrequired on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-01Open ↗
  • ✓Authorvalheimvibes, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

Deathsquito Lightning Tower, answered

Generated from the mod’s own source data.

Do my players need to install Deathsquito Lightning Tower?

Thunderstore lists Deathsquito Lightning Tower as required on the server. Check its Thunderstore page to see whether players need it too.

Which loaders does it support?

BepInEx.

Is it free?

Yes. Deathsquito Lightning Tower is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Deathsquito Lightning Tower on a Valheim server.

Deploy in about a minute from $9.99 a month, then add Deathsquito Lightning Tower in one click.