CheatCleanup

版本 v1.0.0·更新於 2026-09-10

Repairs persistent devcommand/spawn cheat markers in Valheim saves without bypassing achievement checks. Cleans the active local/hosted character, world, ZDO flags and persisted item data.

模組介紹 作者原文

CheatCleanup

CheatCleanup is a save-repair tool for Valheim 1.0 saves affected by persistent

devcommands / spawn cheat markers.

It removes persistent cheat markers from the active character and local/hosted world.

It does not patch or bypass Valheim's achievement checks.

Important

  • Back up the affected character and world before the first cleanup.
  • Nothing is changed automatically when the mod loads.
  • scan and verify are read-only.
  • Actual cleanup requires cheatcleanup clean confirm.
  • Cleanup is blocked when you are only a client on somebody else's server.
  • While BepInEx is loaded, Valheim still reports the session as modded. After cleanup,

quit normally and reopen the same save without mods for vanilla behavior.

Commands

Open the Valheim console with F5:

  • cheatcleanup or cheatcleanup help - show help
  • cheatcleanup scan - scan without changing the save
  • cheatcleanup clean - show the confirmation warning
  • cheatcleanup clean confirm - perform cleanup and request a native Valheim save
  • cheatcleanup verify - scan again after cleanup

What CheatCleanup repairs

CheatCleanup scans and, when confirmed, can clear:

  • the character's persistent used-cheats flag
  • the historical Cheats player statistic
  • cheated item flags in the local player's inventory
  • cheated item flags inside persistent ZDO inventory payloads
  • direct/indexed persistent item payloads used by world items and stands
  • persistent ZDO cheated and cheatedQueued propagation flags
  • compatible loaded runtime cheat-state copies
  • starting world keys that Valheim's own current world-modifier validation treats as cheated

Items are preserved; CheatCleanup clears the cheat marker instead of deleting the item.

Recommended workflow

  • In Valheim's Manage Saves screen, create a backup of the character and world.
  • Launch a profile containing CheatCleanup.
  • Enter the affected local world using the affected character.
  • Run cheatcleanup scan.
  • Review the report.
  • Run cheatcleanup clean confirm.
  • Wait for Valheim's native save to finish and quit normally.
  • Launch Valheim without mods and reopen the same save.

Compatibility

Release 1.0.0 was tested with:

  • Valheim 1.0.7 (network version 39)
  • BepInExPack Valheim 5.4.2350
  • Jotunn 2.30.0

Because CheatCleanup works with Valheim save internals, game updates can require a new

CheatCleanup version. Do not assume compatibility with a newer Valheim build until the

mod has been checked against it.

Notes

CheatCleanup is intended as a save-repair utility, not an achievement enabler.

It does not set Game.isModded to false and does not override the game's achievement

decision functions.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_ValheimValheimModding-Jotunn

檔案與校驗

檔案名稱
CheatCleanup-1.0.0.zip
檔案大小
17.8 KiB