Factorio gives players complete command over planetary industrialization. Deep under its optimized C++ engine lies a fully exposed Lua scripting API accessible directly through the in-game developer console. Whether you want to test high-throughput rail network blueprints in cheat mode, speed up simulation ticks to benchmark megabase production, or wipe out aggressive biter nests, Factorio's console commands provide ultimate creative power.

Factorio Console Commands & Lua Cheats Guide (PC)
Claim Free Factorio Console Commands & Lua Cheats Guide VIP Unlocked Items & Resources
Direct cloud-synchronized resource injector for Factorio Console Commands & Lua Cheats Guide. Select your desired vip unlocked items & resources package below to launch our verified, anti-ban protected online rewards portal.
How to Enable Developer Console
| Specification | Technical Parameter |
|---|---|
| Game Title | Factorio (Space Age & 2.0 Ready) |
| Game Version | v2.0+ (Live Steam & Standalone) |
| Installation Size | ~3 GB Storage (Windows 64-bit) |
| Developer / Publisher | Wube Software Steam Hub |
| Platform & Engine | Windows PC (Steam / GOG / Standalone) | Custom C++ Engine |
| Console Keybinds | ~ (Tilde) or / (Forward Slash) |
| Anti-Cheat Status | Local Inactive (Built-In Lua API Designed for Modding & Debugging) |
How to Use and Enable Lua Console Commands
Factorio utilizes a safety mechanism to prevent players from accidentally voiding achievement eligibility when typing in chat.
- Press ~ (Tilde) or / (Forward Slash) on your keyboard to open the chat bar.
- Type your cheat command starting with /c (for example: /c game.player.cheat_mode = true) and press Enter.
- A red warning message will appear stating that using Lua commands disables achievements on this save file.
- Press ~ again, tap the Up Arrow key to recall your last entered command, and press Enter a second time to execute it.
Step 1: Overriding Lua Achievement Warnings
The double-confirmation requirement protects survival saves. Once confirmed, your session enters uninhibited developer mode.
Configuring Endless Factory Supplies
Enabling cheat mode allows you to craft complex chemical plants, beacons, and tier-3 speed modules directly from raw logic.
Master Factorio Lua Cheats Reference
The following table lists verified Lua console cheats for resources, research, speed, and enemy eradication.
| Lua Command Syntax | Gameplay Effect | Parameters & Context |
|---|---|---|
| /c game.player.cheat_mode = true | Enables free hand-crafting of all unlocked items without materials | Set to false to disable |
| /c game.player.force.research_all_technologies() | Instantly finishes every technology research node in the game | Permanent for current team |
| /c game.speed = 2 | Doubles simulation speed (accepts values from 0.1 to 10.0) | /c game.speed = 1 for normal |
| /c game.player.force.kill_all_enemies() | Destroys all active biters, spitters, worms, and nests globally | New nests can still expand later |
| /c game.player.force.chart_all() | Reveals full map terrain, resources, and water bodies | Charts all generated chunks |
| /c game.player.surface.always_day = true | Prevents nighttime, locking sunlight at 100% permanently | Continuous solar panel power |
| /c game.player.insert{name="infinity-chest", count=50} | Spawns 50 infinity chests for endless resource generation | Sandbox item container |
| /c game.player.character.character_running_speed_modifier = 2 | Triples base engineer running and traversal velocity | Default modifier is 0 |
Spawning Infinity Chests and Power Armor MK2
The Lua insert method can spawn any internal entity directly into your character inventory:
- Infinity Chests: /c game.player.insert{name="infinity-chest", count=50} — Configure filters inside the chest UI to supply thousands of blue circuits or rocket fuel items endlessly.
- Infinity Pipe: /c game.player.insert{name="infinity-pipe", count=10} — Produces limitless sulfuric acid, crude oil, or water without pump jacks.
- Endgame Power Armor MK2: /c game.player.insert{name="power-armor-mk2", count=1} — Equips maximum inventory slots and 10x10 modular grid space.
- Portable Fusion Reactors: /c game.player.insert{name="fusion-reactor-equipment", count=2} — Provides 1.5 MW continuous power for your personal defense lasers and exoskeletons.
Pros and Cons of Using Lua Cheats in Factorio
Deciding when to use Lua scripts ensures you preserve the engineering challenge of genuine logistical puzzles.
| Advantages & Creative Utilities | Trade-offs & Considerations |
|---|---|
|
|
Achievement Safety and Pure Diagnostic Commands
If you wish to maintain 100% Steam achievement eligibility on your active playthrough, use these non-cheat diagnostic commands:
- Toggle FPS / UPS Display: Type /fps to view current render frames and simulation updates per second without voiding achievements.
- Check In-Game Time: Type /time to inspect the total elapsed time of the current world session.
- Check Evolution Factor: Type /evolution to see current biter alien aggression percentages safely.
- Safe Backup Protocol: Always create a manual named save (e.g. `Pre-Cheat-Backup`) before entering any /c Lua commands.
Frequently Asked Questions & Troubleshooting
Want Free In-Game Items or Digital Gift Cards?
Earn premium Robux, Google Play or Steam credits for Factorio Console Commands & Lua Cheats Guide (PC) without spending a dime.
DMCA & Trademark Fair-Use Disclaimer
All game titles, developer console commands, and brand references are the intellectual property of their respective creators. These commands are documented solely for single-player offline customization, accessibility, and informational review under nominative fair use. For copyright inquiries, please review our DMCA Compliance Policy.
Related Cheat Codes You May Like
View All →
The Sims FreePlay Cheats: Unlimited Simoleons & LP

Stardew Valley Item IDs & Spawn Cheats: 1.6 Update

Witcher 3 Next Gen Console Commands PC: God Mode & Gwent Cheats

The Witcher 3 PC Console Commands & Cheats: God Mode

Star Wars Battlefront 2 Classic Cheats: PC God Mode

DOOM Eternal PC Console Commands & Cheats: God Mode

Metro Exodus PC Console Commands & Cheats: God Mode
