Give Item (c)

factorio — Console Commands

Adds a specified item to your inventory instantly. Useful for testing builds or skipping resource grinding in sandbox mode.

Syntax

/c game.player.insert{name="ITEM_NAME", count=NUMBER}

Example

/c game.player.insert{name="iron-plate", count=100}

💡 Notes

Requires cheats enabled (use /cheat or launch with --cheat-mode). Item names use internal IDs (e.g., 'iron-plate', 'copper-ore'). [verify] for modded items.

🎯 Tips & Tricks

Use for blueprints

Insert items like 'blueprint' or 'rail' to quickly test large builds without waiting for production.

Check exact names

Type /c game.player.print(game.item_prototypes) to list all valid item IDs in your current modded game.

Stack limits

Counts above stack size (e.g., 500 iron-plate) will overflow into multiple stacks automatically.

🔧 Troubleshooting

Command does nothing

Ensure cheats are enabled by typing /cheat first, then re-run the command.

Invalid item name error

Use the exact internal name; check with the prototype list command or wiki for vanilla IDs.

⚠️ Common Mistakes

  • Using wrong item ID (e.g., 'iron' instead of 'iron-plate')
  • Forgetting to enable cheats first
  • Spawning items in multiplayer without permission

👍 Pros

  • Instantly adds resources
  • Works for any item or fluid
  • Great for prototyping
  • Supports large counts

👎 Cons

  • Disables achievements
  • Can clutter inventory
  • Not available in multiplayer without admin rights
🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.