{"id":12965,"date":"2023-07-27T00:09:28","date_gmt":"2023-07-27T00:09:28","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/how-to-change-the-difficulty-on-your-factorio-server\/"},"modified":"2023-07-27T00:09:28","modified_gmt":"2023-07-27T00:09:28","slug":"how-to-change-the-difficulty-on-your-factorio-server","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-change-the-difficulty-on-your-factorio-server\/","title":{"rendered":"How to Change the Difficulty on Your Factorio Server"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Does it seem that your game starts to feel monotone? Keep in mind that you can change your Factorio server difficulty at any time for harder gameplay.<\/p>\n\n\n\n<p>You will need to be an admin on the server to be able to change the difficulty, as you will have to use commands.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-add-admins-to-your-factorio-server\/\">Here<\/a> is our guide for adding admins to your Factorio server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Change Your Server Difficulty  <\/h1>\n\n\n\n<p>The difficulty in Factorio is affected by a handful of options that you can change, rather than having predefined difficulty levels. The changes are done via commands, which can be used in-game if you are an admin or from the game server panel console.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: To open the console in-game, just press the <code>~<\/code> key on your keyboard.<\/p>\n\n\n\n<p>The following commands will help you change the options affecting difficulty on Factorio:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.player.print(game.player.surface.peaceful_mode)<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will check if peaceful is enabled.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.player.surface.peaceful_mode=false<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will enable or disable the peaceful mode.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.forces[\"enemy\"].kill_all_units()<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will kill all the biters in the enemy force.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_expansion.min_expansion_cooldown=ticks<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the minimum cooldown for enemy expansion events. <em>Default: 14400<\/em><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: The value for this command is given in ticks. It needs to be between <code>0<\/code> and <code>4294967295<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_expansion.max_expansion_cooldown=ticks<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the maximum cooldown for enemy expansion events. <em>Default: 216000<\/em><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 <strong>NOTE<\/strong>\u26a0: The value for this command is given in ticks. It needs to be between <code>0<\/code> and <code>4294967295<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.forces[\"enemy\"].evolution_factor=X<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the enemy&#8217;s evolution factor. <em>The two values are 0 and 1.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_evolution.time_factor=0<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will disable time-based evolution.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_expansion.min_player_base_distance=-1<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will make biters ignore player structures and build next to walls.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_expansion.min_base_spacing=1<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the distance at which enemy bases can spawn next to each other. <em>Default: 3<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.map_settings.enemy_expansion.max_expansion_distance=4<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the distance between an existing and new enemy base. <em>Default: 7<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.difficulty_settings.recipe_difficulty=1<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the recipe&#8217;s difficulty. <em>The two values are 0 (normal) and 1 (expensive).<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.difficulty_settings.technology_difficulty=1<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the technology&#8217;s difficulty. <em>The two values are 0 (normal) and 1 (expensive).<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/c game.difficulty_settings.technology_price_multiplier=4<\/code><\/li>\n<\/ul>\n\n\n\n<p>This will set the price multiplier.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-success\">If you find any issues, contact us on live chat or via the <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">ticket system<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755 Useful Links \u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/getting-started-how-to-access-your-factorio-server-and-control-panel\/\">Getting Started &#8211; How to Access Your Factorio Server and Control Panel<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">How To Open a Support Ticket<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-use-the-crypto-payment-method\/\">How to Use the Crypto Payment Method<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Discover how to easily change your Factorio server difficulty using our custom game panel. Improve your game experience with GGServers&#8217; Factorio server hosting services!<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[36],"ht-kb-tag":[],"class_list":["post-12965","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-gameservers"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12965"}],"version-history":[{"count":0,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12965\/revisions"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12965"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12965"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}