SandboxTools
Sandbox cheat commands for testing and play - unlock recipes, set skills, export live items and recipes to CSV.
模組介紹 作者原文
SandboxTools
A command set for modders, build testers, and anyone who just wants to play in sandbox mode.
It covers two jobs:
- Set up a test character - unlock materials, stations, and recipes, and set skill levels so you can craft, build, and fight without grinding.
- Data mine the live game - export whatever Valheim currently has loaded (vanilla + mods) to CSV for balance checks, recipe audits, and spreadsheets.
Pair it with Server Devcommands for the wider admin / cheat console toolset (god, fly, spawn, and the rest).
Install
- Open r2modman Mod Manager - Valheim.
- Online - search DevDonkey-SandboxTools - Install (needs BepInExPack_Valheim).
- Launch the game through the mod manager.
- Enable the cheat console (devcommands) and type sandbox for the command list.
Or manually: put SandboxTools.dll in BepInEx/plugins.
Commands
All commands start with sandbox. Type sandbox alone for a short reminder.
Test character
| Command | What it does |
|---------|----------------|
| sandbox discover all | Discovers every material and crafting station so recipes and build pieces unlock. |
| sandbox discover materials | Discovers materials only. |
| sandbox discover stations | Discovers crafting stations only. |
| sandbox discover recipes | Unlocks every crafting recipe. |
| sandbox skills | Sets every skill to 100. |
| sandbox skills 50 | Sets every skill to a custom level. |
Data mining
| Command | What it does |
|---------|----------------|
| sandbox export | Writes all CSV files under BepInEx/exports. |
| sandbox export items | Writes items.csv plus the filtered item CSVs. |
| sandbox export recipes | Writes recipes.csv only. |
Tab completes the group and the next argument.
A full export also runs once automatically after the game finishes loading items and recipes for the session.
Export files
Exports land here:
BepInEx/exports/
For r2modman that is usually:
%APPDATA%\r2modmanPlus-local\Valheim\profiles\\BepInEx\exports\
| File | Contents |
|------|----------|
| items.csv | Every item currently loaded (name, type, weight, food/armor/damage stats, flags, whether it has a recipe) |
| recipes.csv | Every crafting recipe, including station, min level, amount produced, and each material + amount |
| foods.csv | Foods only (same columns as items.csv, sorted by food value) |
| weapons.csv | Weapons only |
| armor.csv | Armour only |
| materials.csv | Materials only |
ItemName is the localized display name; InternalName is the prefab id (what spawn commands use). Biome is a best-effort guess from names/stations/materials - treat unknowns as Unknown, not gospel.
Notes
- Local player / client toolkit - meant for testing and sandbox worlds.
- Source: github.com/MattHB1/valheim-sandbox-tools
- Other mods: DevDonkey
- Changelog: CHANGELOG.md
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: