SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWorld generation

Toggle Peaceful Mode

by Cerbrus · for Factorio

Allows you to toggle peaceful mode at will, on every surface (Space Age planets included), while keeping in-game achievements enabled.

20KDownloads
3 mo agoLast updated
MITLicense
2.1Latest game version

About Toggle Peaceful Mode

From Factorio Mod Portal

Allows you to toggle peaceful mode at will, on every surface (Space Age planets included), while keeping in-game achievements enabled.

Toggle Peaceful Mode

For feedback, please submit an issue on the GitHub repository. I'm not getting notifications for messages submitted here.

This mod allows you to toggle "Peaceful mode" at will, on every surface. Space Age planets and space platforms are included, also the ones you visit after toggling.

Normally, toggling peaceful mode through a lua command disables achievements for the save: /c game.player.surface.peaceful_mode = true / false This mod lets you circumvent that.

About achievements: this only keeps Factorio's in-game achievements enabled. Steam achievements are disabled by Factorio whenever any mod is active, and this mod is no exception. If you want Steam achievements, toggle peaceful mode with this mod, then disable the mod again: the "peaceful" setting stays what it was last set to, and the save is unmodded again.

The mod shouldn't corrupt your save, but as always, back-up first. (The author of this mod can't be held responsible for corrupted saves ;-) )

How to use

Use the toggle in the shortcut bar (bottom of the screen, next to the blueprint tools). It lights up while peaceful mode is on. You can also bind a hotkey (Settings → Controls → Mods) or flip the "Peaceful mode" setting under Mod Settings → Map.

In multiplayer only admins can toggle by default; the map setting "Only admins can toggle peaceful mode" opens it up to everyone.

Notes

  • The toggle kills all mobile biters, spitters and Gleba pentapods, as their "peacefulness" is set when they spawn. They respawn from their spawners with the new setting.
  • Demolishers on Vulcanus are never killed: they do not respawn. They don't need to be, they follow the setting live. In peaceful mode they ignore new buildings in their territory; switch back and they attack them again. A demolisher that is already charging a building when you toggle finishes that attack first.
  • Toggling is announced in chat with the name of the player who toggled.
  • Modded biter factions are supported as long as their force's name starts with biter_faction_. If there are modded factions this doesn't work with, please let me know!

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

Toggle Peaceful Mode on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.5.2, released 2026-09-04

Run Toggle Peaceful Mode on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Runs on your server

From source side support

Factorio Mod Portal lists Toggle Peaceful Mode as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
  • ✓AuthorCerbrus, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Toggle Peaceful Mode, answered

Generated from the mod’s own source data.

Do my players need to install Toggle Peaceful Mode?

Factorio Mod Portal lists Toggle Peaceful Mode as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Toggle Peaceful Mode is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Toggle Peaceful Mode on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Toggle Peaceful Mode in one click.