Skip to content
Lean's edited this page Feb 13, 2025 · 4 revisions

Configurations

You can check the configurations section here, to view what each configuration does

Using AFK Module as Server Owner

Just add the mod inside the mods folder for your server, launch one time and the configurations will be created inside the server data folder, ModConfig/AFKModule/config/base.json

Using AFK Module as Developer

Create your own mod and import the AFKModule.dll in the mod csproj

<ItemGroup>
    <Reference Include="AFKModule">
      <HintPath>$(VINTAGE_STORY)/Mods/AFKModule/AFKmModule.dll</HintPath>
      <Private>false</Private>
    </Reference>
  </ItemGroup>

You now have access to the AFKModule.Modules.Events, you can use this events to manage when a player goes afk or exit from afk

Clone this wiki locally