God Mode (c)

factorio — Console Commands

Makes the player invincible and grants flight, allowing free movement over obstacles and enemies. Ideal for observation or creative building.

Syntax

/c game.player.character=nil

Example

/c game.player.character=nil

💡 Notes

This removes the character entity; to revert, use /c game.player.character=game.player.surface.create_entity{name='character', position=game.player.position}. Disables achievements.

🎯 Tips & Tricks

Combine with speed

Use /c game.player.force.game_speed=10 to move faster while in god mode for quicker exploration.

Revert safely

Always save before entering god mode; the revert command requires your exact position, so note it down.

🔧 Troubleshooting

Stuck in god mode

Run the revert command with your current position; if it fails, reload a save from before activation.

Cannot place entities

God mode removes the character, so use /c game.player.character=... to return to normal before building.

⚠️ Common Mistakes

  • Forgetting to save before toggling
  • Using in multiplayer without admin rights
  • Not knowing the revert command

👍 Pros

  • Invincible to damage
  • Can fly over water and cliffs
  • Perfect for map inspection
  • No collision with entities

👎 Cons

  • Cannot interact with machines directly
  • Must revert to build normally
  • Disables achievements permanently until revert
🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.