There are upcoming maintenance events which may impact our services. Learn more

How do I Enable/Disable Peaceful Mode? Print

  • Factorio, Game Servers, Console Command
  • 1

First, make sure you are an admin on your server. Run this command from the web console with your user name to set you as a server administrator.

/promote Your User Name

Next check to see what the current setting is for the peaceful mode.

/c game.player.print(game.player.surface.peaceful_mode)

To enable or disable peaceful mode enter true or false respectively into the following command.

/c game.player.surface.peaceful_mode = false

If you enabled peaceful mode we highly recommend killing all spawned biters with this command.

/c game.forces["enemy"].kill_all_units()


Was this answer helpful?

« Back
Login Sign Up