Source-checkedBuilding & decoration

Canons

by 6Vikings · for Valheim

BETA - Stops the endless "Missing prefab hash" log spam (ValheimRAFT 5.0.9 cannonballs and any other unknown object). Client-side, not enforced.

25Downloads
19d agoLast updated
BepInExLoaders
ThunderstoreSource

About Canons

From Thunderstore

BETA - Stops the endless "Missing prefab hash" log spam (ValheimRAFT 5.0.9 cannonballs and any other unknown object). Client-side, not enforced.

Canons

Stops the endless Missing prefab hash log spam in Valheim.

When the game receives a networked object whose prefab it does not know, it logs a warning and retries about 25 times per second, for every such object, forever. With ValheimRAFT 5.0.9, cannonballs are in that case: a client near a cannon fills its log. On our server one client wrote 2.6 million of these lines in 2 h 24 min, up to 980 per second, while all three players had heavy FPS drops.

This mod lets the game log the first warning for each unknown prefab, then answers "nothing to create" silently, with at most one summary line per minute, and only when something new happened.

  • Client-side, not enforced. It protects the game it is installed in. The server does not need it, other players do not need it, and it never blocks a connection.
  • It works for any unknown prefab, not only cannonballs, and does not depend on ValheimRAFT.
  • It does not create, change or remove any object. The orphan cannonballs still exist (from the code, until the player whose game created them disconnects); the real fix belongs in ValheimRAFT.

In game

The console answers and the in-game message follow your game language: English, or French when your game is in French.

Console (F5):

| Command | Effect | |---|---| | canons | Status: active or not, patch applied or not, what was silenced since launch | | canons off | Turn it off without restarting: the game logs as before. The choice is saved and survives a restart | | canons on | Turn it back on |

After 30 days with nothing to silence, the mod says in game that it can be removed. That only means nothing happened for 30 days: check that your ValheimRAFT version says the bug is fixed before removing it. And if the fix was turned off (canons off) and forgotten, the message can come without it ever having run.

Measured

On an RTX 4080 PC, with BepInExPack Valheim's logging config, writing these warnings the way the game does costs about 0.37 ms per line. 35 stuck cannonballs (about 970 lines per second) dropped an empty scene by 21 to 28 % (two runs: 177.5 to 127.0 FPS, then 175.6 to 138.5 FPS).

Proven in single player with fake unknown objects (50 lines without the mod, 1 with it). The real case, a client connected to a dedicated server, goes through the same game method but has not been measured yet.

Made by San Tiépi (team 6Vikings). Feedback and bug reports: Discord 6Vikings Mods, forum #bugs: give the mod's version, what happened, and your BepInEx\LogOutput.log file.


En français

Fait taire la répétition Missing prefab hash du jeu. Quand Valheim reçoit un objet dont il ne connaît pas le modèle, il l'écrit dans son journal et réessaie environ 25 fois par seconde, sans fin. Les boulets de canon de ValheimRAFT 5.0.9 sont dans ce cas.

Le mod laisse passer la première ligne par modèle inconnu, puis se tait, avec au plus un résumé par minute, et seulement s'il y a du nouveau. Il se pose chez chaque joueur qui le veut : ni le serveur ni les autres n'en ont besoin, et il ne refuse jamais une connexion. Commandes : canons, canons on, canons off.

Retours et bugs : Discord 6Vikings Mods, forum #bugs : la version du mod, ce qui s'est passé, et le fichier BepInEx\LogOutput.log.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 19d ago.

Canons 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
Optional 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
1.0.1, released 2026-10-16

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 2 recorded builds of Canons.

Recent builds

BuildReleasedGame versionsLoaders
1.0.12026-10-16n/aBepInEx
1.0.02026-10-15n/aBepInEx

Dependencies

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

Run Canons 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 “Content”

Building & decoration

Blocks, furniture, decorations and building tools.

Works on a server

From source side support

Thunderstore lists server-side support for Canons as optional: it can run on a server, but isn’t required there.

Compatibility

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

Verified at the source

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

Canons, answered

Generated from the mod’s own source data.

Do my players need to install Canons?

Thunderstore lists server-side support for Canons as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. Canons 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 Canons on a Valheim server.

Deploy in about a minute from $9.99 a month, then add Canons in one click.