NoCheatItems

v1.0.2·Updated 2026-09-24

Server-side plugin that deletes Valheim 1.0 cheated items from inventories, containers, and the world.

About this mod Author’s original text

NoCheatItems

Server-side BepInEx plugin for Valheim 1.0. It deletes items that the game itself has marked as cheated, plus the old debug weapons, from the server's loaded world and from online player inventories.

Clients do not need this mod. Install it on the dedicated server (or the listen-server host).

What it removes

Valheim 1.0 stamps spawned items with a persistent flag (ItemData.m_cheated). Those stacks show a grey italic tooltip:

This item was summoned through cheating means.

If a clean character picks one up, the game puts them in a temporary cheat state until every flagged item is gone. This plugin deletes those items so they never sit in chests, on the ground, or in a player's bag on your server.

By default it also deletes the vanilla debug prefabs:

  • SwordCheat
  • SledgeCheat

Optional (off by default): stacks above max stack size, quality above max quality, and extra prefab names you list in the config.

What it cannot do

Valheim keeps character files on the client. The dedicated server only sees a player's inventory while they are connected. Offline bags are cleaned the next time that player joins.

Unloaded zones are cleaned when they stream in (a chest or dropped pile is scanned as soon as that area is loaded). Vanilla can stamp creature loot with the same cheated flag (the boar drop you saw); those piles are deleted on the dedicated server. Clients still do not need this mod for that.

This does not un-flag a character or world that already used devcommands. It only destroys cheated items.

Install

  • Install BepInExPack Valheim on the dedicated server.
  • Copy NoCheatItems.dll into BepInEx/plugins.
  • Start the server once to generate BepInEx/config/ageous27.nocheatitems.cfg.

Console

On the server console:

nocheatitems_sweep

Sweeps every loaded player, container, world drop, and item stand immediately.

Config

| Setting | Default | Meaning |

| --- | --- | --- |

| Enabled | true | Master switch |

| RemoveFlaggedItems | true | Delete the 1.0 cheated flag |

| RemoveKnownCheatPrefabs | true | Delete SwordCheat / SledgeCheat |

| ExtraPrefabNames | empty | Extra prefab names, comma-separated |

| RemoveOverstacked | false | Delete illegal stack sizes |

| RemoveOverquality | false | Delete illegal upgrade levels |

| ScanPlayers | true | Online inventories |

| ScanWorldDrops | true | Items on the ground |

| ScanContainers | true | Chests, carts, ships, tombstones, Obliterator |

| ScanItemStands | true | Item stands and armor stands |

| ScanIntervalSeconds | 8 | Safety-net sweep while the world is loaded |

| NotifyPlayers | true | Center-screen message when their items are taken |

| LogDeletions | true | BepInEx log line per item |

| DryRun | false | Log only, do not delete |

Pickup and inventory changes are cleaned immediately; the interval is a backup for stands and anything a patch missed.

Build

Requires the Valheim 1.0 client (Unity 6 / 6000.0.75f1) so the project can reference assembly_valheim.dll.

dotnet build -c Release

If Valheim is not at D:\Program Files\Steam\steamapps\common\Valheim, pass /p:ValheimPath="C:\path\to\Valheim".

Output: bin\Release\NoCheatItems.dll.

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
NoCheatItems-1.0.2.zip
File size
13.4 KiB