Factorio: Creative Mode Wiki
Advertisement

Besides the in-game menu or the GUI for some special entities, there are also some configurable settings inside the config.lua file. These settings affect how Creative Mode works or the behaviors of Creative items. If you want to change their values, it is recommended to do so before starting Factorio.

File location

ConfigLua

Using Bandizip to find config.lua.

To find and access the config.lua file:

  1. Find the Creative Mode .zip file in Factorio mods folder.
  2. Use any software (e.g. 7-Zip, WinRAR, Bandizip) to browse the .zip file.
  3. You should see the config.lua file in the first layer. Unzip it to edit.
  4. (After editing) put it back to the .zip file and overwrite the existing one.

Configurable settings

The settings are divided into different groups according to their natures. Some settings require you to restart Factorio after you changing their values.

creative_mode_config.misc

Here are the miscellaneous settings that do not belong to any specific item or entity, but they can still affect the behavior of the mod.

Possible values Default value Preserved? Need restart Factorio?
preserve_settings true / false true Yes No
Whether the configurable settings should be preserved for the same game once they are loaded. Preserved settings will be applied during the same game and not affected by future update of this mod, unless otherwise specified.

By default, it is true. If this is set to false, every time a save is loaded, the game reads the config.lua file to get the values.

Please note that not all settings can be preserved due to Factorio's mechanism. See the Preserved column for the behavior of each setting.

Even if you set this value to true, you can still use command to update the settings for an existing game.

auto_enable true / false false No No
Whether Creative Mode will be automatically enabled with all default cheats for every new game. This doesn't affect existing game that did not have this mod before.

Default cheats include:

show_popup_in_new_game true / false true No No
Whether the initial popup will be shown to the first player in every new game or any existing game that did not have this mod before.

creative_mode_config.duplicating_provider_chest

Settings about the duplicating chest and duplicating provider chest.

Possible values Default value Preserved? Need restart Factorio?
inventory_size 1 - 255 48 No Yes
Inventory size of the chests.

creative_mode_config.creative_provider_chest

Settings about the creative chest and creative provider chest.

Possible values Default value Preserved? Need restart Factorio?
Inventory_size 1 - 254 150 No Yes

Inventory size of the chests. Its value affects how many chests you need to place for one item cycle. Larger inventory size means fewer chests are needed. However, it is also more likely to cause performance issue when hovering the chests.

Changing this value for an existing game will cause item regrouping.

Do NOT change it after the game has been loaded or error may occur.

contain_hidden_items true or false false Yes No
Whether the chests should contain the hidden items. Some items are hidden for good reasons, like the rocket-part item which is not reasonable if you get it.

creative_mode_config.void_requester_chest

Settings about the void requester chest.

Possible values Default value Preserved? Need restart Factorio?
inventory_size 1 - 255 48 No Yes
Inventory size of the chest.

creative_mode_config.void_storage_chest

Settings about the void storage chest.

Possible values Default value Preserved? Need restart Factorio?
inventory_size 1 - 255 48 No Yes
Inventory size of the chest.

creative_mode_config.duplicating_cargo_wagon

Settings about the duplicating cargo wagon.

Possible values Default value Preserved? Need restart Factorio?
inventory_size 1 - 255 40 No Yes
Inventory size of the wagon.

creative_mode_config.creative_cargo_wagon

Settings about the creative cargo wagon.

Possible values Default value Preserved? Need restart Factorio?
Inventory_size 1 - 254 200 No Yes

Inventory size of the wagon. Its value affects how many wagons you need to place for one item cycle. Larger inventory size means fewer wagons are needed. However, it is also more likely to cause performance issue when hovering them.

Changing this value for an existing game will cause item regrouping.

Do NOT change it after the game has been loaded or error may occur.

contain_hidden_items true or false true Yes No
Whether the wagons should contain the hidden items. Some items are hidden for good reasons, like the rocket-part item which is not reasonable if you get it.

creative_mode_config.void_cargo_wagon

Settings about the void cargo wagon.

Possible values Default value Preserved? Need restart Factorio?
inventory_size 1 - 255 40 No Yes
Inventory size of the wagon.

History

Version
0.2.2 Fixed possible configurable inventory size for Creative cargo wagon. It should be 254 instead of 255 due to the extra trash slot.
0.2.0 All config for Item Source (now Matter Source), Item Void (now Matter Void), Duplicator (now Matter Duplicator) were removed from config.lua.
0.1.5 Fixed the bug that Creative Mode is incorrectly automatically enabled if config misc.auto_enable is on and then Creative Mode is manually turned off in game.
Fixed the error when config item_source.can_drop_on_ground is set to true.
Fixed the bug that config item_source.insert_only_once_to_player was not working properly.
No more duplicated creative items will be presented in the creative chests if config creative_provider_chest.contain_hidden_items is set to true.
Fixed the bug that misc.show_popup_in_new_game did not work when it was set to false.
Removed creative_mode_config.misc.show_hint_after_creative_mode_denied.
0.1.4 Added descriptions about the possible values for inventory size related config. If invalid values are provided, they will be automatically corrected and thus no error will be shown.
Added one extra slot in the creative chests for conveniently voiding unwanted items. But the maximum usable slots become 254 (from 255).
Removed the config of creative_mode_config.creative_provider_chest.clear_non_used_slots. Creative chests now always clear the unused slots.
0.1.1 Introduced creative_mode_config.misc.auto_enable.
0.1.0 Due to the new popup, creative_mode_config.misc.increase_player_reach_when_enabled, creative_mode_config.misc.increase_player_mining_speed_when_enabled, creative_mode_config.misc.reset_player_reach_when_disabled and creative_mode_config.misc.reset_player_mining_speed_when_disabled were removed from config.lua.
0.0.3 Changing the inventory size of Creative Provider Chest and/or whether hidden items should be included inside will automatically trigger item regrouping, which updates the number of chests required for each item cycle.
Introduced creative_mode_config.misc.preserve_settings.
Due to a performance issue when hovering the creative provider chests, the default value of creative_mode_config.creative_provider_chest.inventory_size was tuned down to 150 (from 250).
Introduced creative_mode_config.creative_provider_chest.clear_non_used_slots.
creative_mode_config.misc.show_popups_for_more_features_when_enabled and creative_mode_config.misc.show_popups_for_reset_features_when_disabled were removed due to the new "Yes for all" buttons.
0.0.2 Introduced creative_mode_config.misc.show_popup_in_new_game together with the initial popup.
Changed the names of some configurable settings for consistency.
0.0.1 Introduced config.lua together with the mod.

Advertisement