NoPopUpsInMyValheim
A BepInEx patcher that disables mod telemetry and error reporting, and removes the popups, welcome windows and splash screens mods show on the main menu. Once you are in a world, nothing is touched: in-game popups keep working as their mods intended.
What Does It Do?
Some mods send usage data and error logs to their author's server, and many open a window over the main menu every time you launch the game. This patcher switches off exactly those calls and nothing else. Every mod keeps all of its features, settings and in-world behaviour.
Telemetry and Error Reporting Disabled
Every mod built on Vapok.Common, including:
- AdventureBackpacks
- AutoFeedRedux
- BaitMeBruh
- BetterSleepBruh
- ConsoleBuddy
- DoorOpenerBruh
- FastItemTransfer
- NoFogBruh
- RandomSpawnPointBruh
- SaveYourLuckBruh
- ShieldMeBruh
- TheQueensDeadBruh
- WardMeBruh
- XPortalNetworks
Vapok.Common is merged into each of these mods, so every copy is patched on its own. Launch pings, hourly heartbeats, world session pings and automatic error reports are all blocked. Error reports are on by default in these mods, so they are sent unless you opt out.
Main Menu Popups Removed
- Vapok.Common mods (all of the above): the startup splash screen
- EpicLoot: the welcome message and the config update prompt
- RideOnTroll: the title screen message
- Artisan_Mastery, Hunter_Legacy, Magic_Supremacy: the config reset prompt shown after each update
- CaptainSkillTree: the difficulty selection window shown on first install and after each update
Installation
This is a patcher, not a regular plugin. Mod managers put it in the right folder for you.
- Download
NoPopUpsInMyValheim.dll - Place it in your
BepInEx/patchers/folder - Launch the game
Updating from 1.0.1 or older by hand? Delete NoPopUpsInMyValheim.dll from BepInEx/plugins/ first. While a copy sits there, BepInEx refuses to load Vapok.Common mods released since November 16.
Install it on dedicated servers too if you run any Vapok.Common mod there. Those mods also send telemetry from the server.
On launch you'll see one line for each thing it switched off, for example:
✓ AdventureBackpacks: telemetry and error reports disabled
✓ AdventureBackpacks: startup splash screen disabled
✓ EpicLoot: welcome message disabled
✓ EpicLoot: config update prompt disabled
✓ RideOnTroll: title screen message disabled
✓ Hunter_Legacy: config reset prompt disabled
Mods you don't have installed are skipped silently.
How It Works
Each covered mod has one method that sends its telemetry or opens its main menu popup. The patcher switches each of those methods off and leaves everything around it alone. Mod files are never modified on disk; all changes are in memory.
Most methods get a Harmony prefix that skips them. The two in Vapok.Common are emptied instead, because the December 1 builds of those mods look for Harmony patches on themselves and shut all of their own features off when they find any. See Vapok.Common tamper detection below.
The patcher starts before BepInEx loads any mod, and patches each mod the moment the game loads it, before that mod's own startup code runs. The main menu has not opened yet, so nothing is shown or sent first.
Technical Details
| Mod | Method switched off | Effect |
|---|---|---|
| Vapok.Common (Sep 30 to Nov 16 builds) | DynamicPatches.Patch |
Vapok.Common can't remove this patcher's patches |
| Vapok.Common (every copy) | TelemetryManager.SendEventsAsync |
No mod_launch, mod_heartbeat, world_session_start or mod_error event is ever sent |
| Vapok.Common (every copy) | ModSplashManager.CheckAndQueueStartupSplashes |
The startup splash screen never opens |
| EpicLoot | WelcomeMessage_FejdStartup_Start_Patch.ShowWelcomeMessage |
The welcome message never opens |
| EpicLoot | ConfigUpdatePrompt_FejdStartup_Start_Patch.ShowConfigMessage |
The config update prompt never opens |
| RideOnTroll | TitleMessage.FejdStartup_Start_TitleMessage |
The title screen message never opens |
| Artisan_Mastery, Hunter_Legacy, Magic_Supremacy | ConfigVersionManager.TryShowPrompt |
The config reset prompt never opens |
| CaptainSkillTree | FejdStartup_DifficultyPatch.ShowDifficultyUI |
The difficulty selection window never opens; the mod's own fallback runs instead |
Vapok.Common telemetry
All of Vapok.Common's network traffic for telemetry and error reports goes through SendEventsAsync, whether it is sent through Unity's web requests or the fallback HTTP client. Emptying that one method stops all of it. It also means no anonymous client ID is ever generated or stored on your machine. Checked against the Vapok.Common inside all 14 mods released on November 16, December 1 and December 2, and in game with ShieldMeBruh 2.1.8, 2.1.6 and WardMeBruh 1.0.4.
Vapok.Common tamper detection
Vapok.Common mods released on December 1 look for a Harmony patch on their own telemetry and splash classes, and for a shortened method body on SendEventsAsync or CheckAndQueueStartupSplashes. The check runs in five places: as each mod starts, twice more when the main menu opens, once when the splash is about to appear, and again when you spawn into a world. On a hit the mod logs Incompatible runtime patch detected, drops itself from BepInEx and destroys every Vapok mod that is loaded, so all 14 lose every feature.
So those two methods are no longer given a Harmony prefix. Their bodies are replaced with an immediate return instead, which leaves the Harmony registry empty and the methods' recorded IL untouched. All five checks pass, every Vapok mod loads and keeps its features, and no telemetry is sent and no splash opens. Nothing is written to any mod's files, and the detection code itself is left alone.
The December 2 builds dropped all of it again: the five checks are gone, and so is the incompatibility flag below. This patcher keeps the emptied bodies anyway, because they cost those mods nothing, they work the same either way, and anyone still on a December 1 build needs them.
Vapok.Common patch remover
Vapok.Common mods released between September 30 and the November 16 updates carry a hidden class, DynamicPatches, that finds this mod by its Harmony ID and removes all of its patches when the main menu opens. Without a counter, that brings back the telemetry, the splash screen and every other popup this mod removes. The patcher skips DynamicPatches.Patch in every copy, so nothing is removed. That method does nothing else, so the Vapok.Common mods lose no features.
Vapok.Common incompatibility flag
Vapok.Common mods released between November 16 and December 1 declare themselves incompatible with this mod's plugin ID, so BepInEx refused to load them next to 1.0.1 and older. That check runs before any plugin loads, so no plugin can undo it, which is why this mod is a patcher since 1.0.2. A patcher has no plugin ID for the flag to match, so BepInEx loads those mods as normal and the patcher silences them as before. Their files and BepInEx itself are left alone.
The December 2 builds removed the flag. This mod stays a patcher regardless: it is the design that starts before every mod loads, and it is immune to the flag coming back.
Config reset prompts
The reset prompt asks whether to wipe your config to defaults after a mod update. With the prompt skipped, your current config is always kept, the same as answering "keep".
CaptainSkillTree difficulty
CaptainSkillTree needs a difficulty on record, so its window is not just hidden. In its place the patcher runs CaptainSkillTree's own fallback, which is what happens when that window is closed without a choice. After an update, the fallback keeps your current settings. On a fresh install, it applies the mod's default, VeryHard.
Vanilla popups
Valheim's own dialogs are never touched. That includes the connection error shown when a server rejects you and the extra version details some mods add to it.
FAQ
Q: Does this remove any mod features?
A: No. Only the telemetry sender, the main menu popups and Vapok.Common's patch remover are switched off. Items, pieces, settings and everything else these mods do in a world work exactly as before.
Q: Are popups inside the world affected?
A: No. Only popups that open on the main menu are removed.
Q: Do I need to change any mod settings?
A: No. Telemetry is blocked no matter what the mod's own Enable Anonymous Telemetry or Send Error Reports settings say.
Q: Does it modify files on disk?
A: No. Everything is done in memory when the game starts. Remove the DLL and every mod behaves as it did before.
Q: What happens when one of these mods updates?
A: If a mod renames the method this patcher switches off, the log shows a warning naming the mod and what may still be active, instead of failing silently.
Q: Will my Vapok mods still load?
A: Yes, on every build of theirs. Their December 1 builds unload themselves and every other Vapok mod when they catch a Harmony patch on their telemetry or splash code, so this patcher no longer uses one there. Their December 2 builds dropped that check again. See Vapok.Common tamper detection above.
Q: Does it work with other mods built on Vapok.Common?
A: Yes. Any mod that includes Vapok.Common is covered automatically, even if it isn't in the list above.