Compare the best products from Amazon in the easiest way

Factorio console instructions – what to sort and when to sort it

Final Up to date:

Factorio is a tremendous sport. Its scope is never touched in different video games and it’s simply so addictive, and that’s simply if you’re enjoying it vanilla. However do you know you may tweak and alter nearly every thing within the sport from the console? And even in case you did, have you learnt all the best issues that you could code into the sport’s console to regulate every thing to the way in which you prefer it? Need gadgets to craft quicker, no problemo? How about immediate teleportation, you may add that too.

We might make a whole web site about all of the console instructions in Factorio and that might simply grow to be overwhelming actually shortly, so what we’re going to do right here is select among the actual high quality of life highlights and get you began with these.

Tips on how to use the console in Factorio

Accessing the console in Factorio is easy. So long as you haven’t altered any key bindings then the default setting is the ‘`’ key – typically discovered to the left of the quantity ‘1’ key. If it doesn’t work, head into your choices to be sure to haven’t swapped it out sooner or later previously and forgotten about it. It greater than possible will work although so don’t stress about that any additional.

In the event you want or what to reassign it, inside controls on the choices you’re in search of the choice that claims Toggle chat and LUA console. From there simply hit the button subsequent to it and press the important thing you need to you, being cautious to not overwrite a key that’s already set for an additional command in your sport.

Proper, let’s get into the console

Helpful Factorio console instructions

Right here you’ll a collection of what we imagine to be essentially the most helpful /instructions in terms of enjoying the sport, particularly if you wish to exhibit your factories.

Take a screenshot in Factorio

Screenshots are saved with out the GUI current

This command permits you to be as easy or sophisticated as you want in terms of taking a screenshot. It might be that you just simply need considered one of one thing you’re notably pleased with, however do you know you may take screenshots of large factories with a decision of as much as 16834×16834 pixels. Be warned although, chances are you’ll get crashes doing this because it takes up an enormous quantity of CPU useful resource.

Typically taking screenshots of enormous, advanced equipment may assist you spot an issue in your design that you just simply cant see in-game, so it has a use outdoors of egotistical displaying off too.

In the event you simply need to take a bog-standard screenshot, even then you’ve some choices. Let’s check out the instructions.

/screenshot [resolution x] [resolution y] [zoom]

Right here the choices within the [xxxx] are precisely that; optionally available. Simply utilizing /screenshot will take the display screen as you see it however you too can set the decision and zoom diploma right here too. The decision default is your present window dimension, so let’s say 1920×1080 for most individuals. The default for zoom is 1. In the event you add a price of two to zoom your picture can be double the scale however you’ll solely get half of it. As a result of, nicely, that’s what zoom does.

The next command would take a screenshot of your default display screen dimension zoomed into degree 2.

/screenshot 1920 1080 2

That’s simply the fundamentals and there are gamers over on Reddit who’ve gone deep into taking entire streams of screenshots and stitching them collectively. This thread over there is nicely value a learn if you’re .

Oh and if you’re questioning the place does Factorio save your screenshots, while you use the command it saves a screenshot minus all of the GUI in your C:Customers(username)AppDataRoamingFactorioscript-output folder

Tips on how to mine quicker in Factorio

factorio mining
The command is entered after utilizing the tilde key to enter the console

Till you get a mega manufacturing unit up and working in Factorio, mining is usually a little little bit of a chore. It’s fairly chilled out at first however if you find yourself ready for a lot of sources it may additionally grow to be a ache within the bottom.

Happily, we will tweak that within the console too.


Wanting on the above command the one half we have to concern ourselves with actually is the modifier. Mainly modifier=0 is common pace, 1=200%, 2=300% and so forth. This will actually be a boon, particularly within the early elements of the sport.

Tips on how to teleport in Factorio

You could have crash-landed on an alien world and have all this skill to make great machines so that you suppose someplace alongside the way in which your species would have developed teleportation expertise, wouldn’t you? Effectively they’ve, it’s simply you should use the console to attain it. With the right command, you may immediately transport your self to any nook of the map within the blink of an eye fixed. Let’s study this helpful trick.

/c sport.participant.teleport([x],[y])

This one is fairly self-explanatory. The X and the Y are merely the X/Y coordinates of the place you need to go. It’s best to begin by noting down the coordinates of all of the areas you may need to journey to sooner or later – reminiscent of that large iron mining space you’re organising. You’ll be able to press F5 and it’ll let you know the coordinates, or once more you should utilize the console to generate your location.

/c sport.participant.print('x='' y='

Improve attain in Factorio

factorio cantreach

Once I first began out and didn’t actually know what I used to be doing, I discovered myself continually clicking on objects additional away from my Engineer than the sport permits and being given the “object is out of attain message”, then having to wander over to it and repeat the motion. Not precisely an enormous concern, however I did discover it irritating. Clearly, I’m not alone and there’s a console command that will increase your attain in order that type of factor doesn’t occur anymore.

Take a look on the code beneath.

/c native attain = 200 = attain = attain

The default determine the sport begins with is 10, so my altering it to 200, as per the instance above would offer you 20 instances the attain. You may get foolish and have the ability to stretch throughout the entire map just about with out ever having to maneuver from the one spt. Ah, the ability.

Tips on how to allow Peaceable mode in Factorio

factorio biters

I do know being attacked by the Biters is an element and parcel of the sport in Factorio, however just like after I performed an terrible lot of Minecraft, I choose a extra chilled expertise that may’t simply immediately be ruined by the RNG of the enemy. To take care of that is it’s simple to easily allow Peaceable mode which implies the Biters received’t assault you if left alone – a bit like a pleasant bumblebee within the backyard – it may nonetheless actually damage you, nevertheless it’s typically your fault of it does. In contrast to wasps, who’re simply nasty.

Anyway in case you want to drive the Factorio into Peaceable mode, hit tilde and enter the beneath.

/c sport.participant.floor.peaceful_mode=true

In the event you fancy a bit extra motion in future, simply enter the identical command however change the flag to the beneath:

/c sport.participant.floor.peaceful_mode=false

Tips on how to kill all enemies in Factorio console

In fact, you continue to may must despatch a difficult nest of biters if they’re in the way in which of your growth, and perhaps you don’t actually need to danger every thing together with your battle expertise. So how great would it not be in case you might simply sort a couple of instructions into the console and wizard them away? Guess what…

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

Effectively, that’s going to do away with each dangerous man on the map. Complete armageddon for the Biter inhabitants. If you need one thing rather less nuclear then you may simply take away enemies inside a sure radius, perhaps to unravel an issue like we talked about above.

/c native floor=sport.participant.floor
native pp =
native cnt = 0
for key, entity in pairs(floor.find_entities_filtered({drive="enemy", radius=100, place=pp })) do
cnt = cnt+1

This may also rid you of the nests. Once more, tweak the radium quantity to make it roughly efficient utilizing the identical methodology as described within the Improve Attain command above.

Create a Useful resource patch in Factorio

factorio copper
A user-generated patch of copper ore

Typically you don’t need to spend so much of time looking the map for a selected useful resource that you just want. Fortunately, with a bit console command script, we will generate a patch of a given useful resource underneath the toes of your character, so long as it’s on land. Sources received’t generate on water tiles. Let’s take a look on the code first after which we’ll dig into it to see how we will tweak it.

/c native floor=sport.participant.floor
native ore=nil
native dimension=5
native density=10
for y=-size, dimension do
	for x=-size, dimension do
		if a<b then
			ore=math.random(a*density-a*(density-8), a*density+a*(density-8))
		if b<a then
			ore=math.random(b*density-b*(density-8), b*density+b*(density-8))
		if floor.get_tile(,"ground-tile") then
			floor.create_entity({identify="stone", quantity=ore, place={,}})

Coping the above into your console will generate a sizeable, sq. patch of stone centered in your character. To vary the useful resource generated, merely change the place it says stone (bolded) to iron-ore, copper-ore, coal, or uranium-ore.

The code above will provide you with a randomly generated patch of ore of your selecting that needs to be good for about 2500 of the useful resource. If you’d like a bigger patch alter the ‘native dimension=5’ to one thing larger. It isn’t really useful to go above 30 for processing reasoning.

In the event you alter the native density, nicely that will provide you with a extra densely populated patch. Experiment and see what you like however once more don’t go foolish otherwise you danger crashing your sport.

Create oil in Factorio

factorio oil

In the event you want oil somewhat than the minable useful resource belongings then the next code will generate 9 oil patches in a sq. round your engineer.

/c for y=0,2 do
	for x=0,2 do
		sport.participant.floor.create_entity({identify="crude-oil", quantity=100000, place={*7-7,*7-7}})

Create fish in Factorio

We are able to do one thing just like produce a sq. of the fish useful resource as nicely. The one caveat right here although is you should run this piece of code while you’re standing on the sting of the water.

/c native participant = sport.participant
native floor = participant.floor
for i = 1, 10 do
  native place = floor.find_non_colliding_position('fish',, 10, 1)
  if not place then return finish
  floor.create_entity {identify="fish", place = place}

Tips on how to allow Cheat Mode in Factorio

So that you like crafting in Factorio however would love a bit extra flexibility to only make what you need with out the faff of crafting every thing from one thing else. Factorio has the equal of Artistic Mode in Minecraft, and as you may need guessed, it’s enabled by means of the Console.

It’s value noting that activating it will take away the chance to realize achievements within the sport, so if that’s your jam, then beware.

Let’s begin by activating Cheat Mode with the next:

/c sport.participant.cheat_mode=true

Clearly sufficient you may disable it once more by altering the flag to false.

As soon as it’s energetic you can begin to do some cool stuff together with your stock. For instance, if you wish to add a variety of gadgets straight into your stock somewhat than crafting them, then have a play with:

/c sport.participant.insert{identify="copper-plate", depend=100}

The variables right here needs to be apparent when you’ve got been following this entire information. Substitute the merchandise identify with what you need and the quantity with the quantity you want to generate.

factorio inventory
In the event you would nonetheless like to take care of the concept that you’re placing at the least a bit effort into occasions, however are getting fed up with retaining working out of sources, you may refill all of the sources on the map to offer you an infinite supply of every thing you’ve situated.
/c floor = sport.participant.floor
for _, ore in pairs(floor.find_entities_filtered({sort="useful resource"})) do
    ore.quantity = 10000

And eventually right here, in case you discover your stock is simply too small to your wants, how about including an additional 100 slots to it?


Once more you may tweak the variable to style.

Manipulating the map in Factorio

Our remaining part, for this text at the least, goes to have a look at how we will wield our God-like console powers to have an effect on the very land round us.

It could be that somewhat than stumbling throughout any nasty surprises you would favor to only peruse your entire map from the off and you are able to do that with a easy console command.


Not although that it will dramatically improve the scale of your save sport file.

Maybe a extra helpful and fewer abrasive technique is to solely reveal the map to a sure radius round your Engineer. This will clearly save time wandering off in all instructions in search of stuff.

If this sounds extra appropriate then strive getting into the next into your console:

/c native radius=150, {{,}, {,}})

You’ll be able to tweak the radius quantity right here to make it bigger or small and it will likely be based mostly on the place your character is centered while you enter the command.

In conclusion

We have now bared scratched the floor right here of what you may obtain within the console of Factorio. If you need to see extra and completely different areas, then go away a remark and we’ll begin to assemble Half 2. Within the meantime, we hope you’ve discovered these console instructions helpful and opened your eyes to the probabilities of Factorio. In fact, it is usually completely wonderful to only play the sport as nature supposed too, as a result of it truly is loads of enjoyable.

We will be happy to hear your thoughts

Leave a reply

Translate »
The Regular Person
Enable registration in settings - general
Compare items
  • Total (0)
Shopping cart