Give All Items (c_give)
dont-starve — Console Commands
Spawns any item or resource directly into your inventory by its prefab ID. Essential for testing builds or skipping grind.
Syntax
c_give("prefab_id", count)
Example
c_give("goldnugget", 10)
💡 Notes
Requires console enabled. Prefab IDs are case-sensitive; use quotes. [verify] Some DLC items may need DLC enabled.
🎯 Tips & Tricks
Find item IDs
Use the Don't Starve Wiki or mod tools to look up prefab names like 'twigs', 'flint', or 'meat'.
Stack limits
Most items cap at 40 per stack; spawning 100 will create multiple stacks automatically.
Use with c_gonext
Combine with c_gonext("prefab") to teleport to rare resources before spawning.
🔧 Troubleshooting
Item doesn't appear
Check spelling and case; ensure the prefab exists in your current DLC/version.
Console not opening
Enable console in settings (or edit settings.ini) and press ~ or ` on PC.
⚠️ Common Mistakes
- Spawning invalid prefab IDs crashes the game
- Forgetting to close quotes in the command
👍 Pros
- Instant resource acquisition
- Works with any item prefab
- Great for testing recipes
- Count parameter allows bulk spawns
👎 Cons
- Spawning too many can lag game
- Requires knowing exact prefab IDs
- No autocomplete in console