NoAFKEvents

v1.0.2·Updated 2023-08-26

Prevent random events/raids from happening around AFK players.

About this mod Author’s original text

Have you ever gone to the toilet and returned to your 3* Boar farm overrun with Drakes?

Well, I did...:c

Did your friend forget to log out, stayed at a base, went away for an hour, and got your base destroyed by trolls?

Well, my friend did...:c

This mod prevents random events/raids from happening near AFK players. If a player doesn't move for a specified amount of time he is marked as AFK.

(The event will start if at least one player is not afk)

Config

You can change the time of how long the player should not be moving until recognized as AFK (default 5min) and the frequency of checking AFK players (default 30s) in the config.

It's recommended to use Configuration Manager's in-game F1 panel as it is much easier and does not require a restart.

Otherwise it is in Valheim/BepInEx/config/GemHunter1.NoAFKEvents.cfg

Installation

This mod depends on BepInEx for Valheim.

Use Vortex or you can install the mod manually by copying its.dll file into your Valheim/BepInEx/plugins folder.

Server compatibility

The mod is server-side as random events are decided on the host. If you want to be safe then have everyone install it, idk.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
NoAFKEvents-1.0.2.zip
File size
110.2 KiB