Skip to main content
50% Discount First month
Days
Hours
Minutes
Seconds
NEW50

How to change difficulty of a Factorio server

Header image

Factorio is a strategy game that offers a wide range of options for customizing gameplay to suit player preferences. One of the key aspects that can be modified is the difficulty level. In this guide, you will learn how to change the game difficulty to Peaceful, Normal, or Expensive.

Navigation

1. How to change difficulty to Peaceful mode

Peaceful mode allows players to focus on building and developing their factory without the constant threat from aliens who, under normal conditions, may attack structures and the player. In this mode, creatures will not attack first unless they are provoked by the player.

Changing the game mode to Peaceful will require you to enter two commands. To do this, start your server and join the game as an administrator.

Read this guide to learn how to join a Factorio server

Read this guide to learn how to obtain administrator privileges on the Factorio server

Now that you have joined your server, press tilde (~) to launch the in-game console.

Enter the following command to activate Peaceful mode:

/c game.player.surface.peaceful_mode = true

After switching to Peaceful mode, you must remove existing enemy units. After completing these steps, the new units will respawn as peaceful. Paste the following command to kill enemy units:

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

Now, Peaceful mode should be fully functional on your server.

How to check if Peaceful mode is working?

To check if the command you entered worked, enter:

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

How to turn off Peaceful mode?

To disable Peaceful mode, enter the following command:

/c game.player.surface.peaceful_mode = false

2. How to change difficulty to Normal mode

Normal mode is the default difficulty level that provides a balanced experience for players. In this configuration, resources on the map are present in standard quantities, and enemies attack with average intensity. This mode is an ideal setting for beginner players, allowing them to learn the basic mechanics without excessive stress.

If you want to change the difficulty to Normal, join your server as an admin and paste the following commands:

/c game.difficulty_settings.recipe_difficulty=0
/c game.difficulty_settings.technology_difficulty=0
/c game.difficulty_settings.technology_price_multiplier=1

3. How to change difficulty to Expensive mode

Expensive mode is a higher difficulty level that provides a challenging experience for players. In this configuration, resources on the map are less abundant, and production recipes require significantly more materials. Enemies attack with greater intensity and frequency, adding to the overall difficulty. This mode is ideal for experienced players who seek a more demanding gameplay experience, as it requires advanced planning and efficient resource management.

If you want to change the difficulty to Expensive, join your server as an admin and paste the following commands:

/c game.difficulty_settings.recipe_difficulty=1
/c game.difficulty_settings.technology_difficulty=1
/c game.difficulty_settings.technology_price_multiplier=4

We hope that our intuitive web interface has allowed you to change difficulty of a Factorio server easily. If you want to ask us any questions, feel free to contact us via e-mail, ticket or live chat!


Author image
About Isabela

Support Engineer