Source-checkedBuilding & decoration

Closest First Updated

by BlijeGub · for Factorio

Lets personal construction bots save energy and time by building and deconstructing close things first updated to 0.18

24Downloads
7 yr agoLast updated
UnlicenseLicense
Factorio Mod PortalSource

About Closest First Updated

From Factorio Mod Portal

Lets personal construction bots save energy and time by building and deconstructing close things first updated to 0.18

This is an updated version of the original closest first mod: https://mods.factorio.com/mod/ClosestFirst All credit goes to the original author: _italics_


Closest First Automatically adjusts personal roboport range to send construction bots from the player's inventory to the nearest ghosts instead of a kind of random ghost in range.

Warning: Roboports may disappear if their range is reduced when you reload the save without the mod. Set update rate to Off and unlimited in player settings before saving, or take the roboports out of your armor before disabling it.

Works by scanning the surrounding area looking for constructible entities and finding the closest that satisfies the number of available bots. For performance, scanning and range calculations are done in separate ticks, and for only one player at a time in multiplayer. (I have never played multiplayer, so I don't know if it works. If you do, let me know how it goes)

The performance sensitive settings are for admins only so that a mischievous player cannot set it them to more than the server can handle.

If there are performance problems, you can use the manual Adjustable-Personal-Roboport-Range mod.

Idea and implementation tricks from ProfoundDisputes' brilliant Adjustable-Personal-Roboport-Range roboport swapping and Folk's Stop That, Silly Robot!.

Map Settings (admin/single-player only) Search area How big area to scan. If there are no constructible entities within this range, the range is set to the Max Roboport Area setting. A bigger area is more CPU intensive. If you notice any lag, turn down this until you can't notice it, or set range manually with the Adjustable-Personal-Roboport-Range mod.

20x20 30x30 (Roboport Mk1) 40x40 (Roboport Mk2) 50x50 60x60 (4x Roboport Mk1) 70x70 80x80 (4x Roboport Mk2) 90x90 100x100 (6x Roboport Mk2) 120×120 (9x Roboport Mk2) No limit (up to equipped Roboport range) Update rate Off - stay at current range (if it is reduced, it will go back to normal when you remove the roboports from your equipment) Slow - update every two seconds Normal - update up to once per second Fast - update up to 2 times per second Faster - update up to 6 times per second Fastest - update up to 30 times per second Note: If you notice lag, I recommend turning down the search range until you can't notice it anymore, or use the Adjustable-Personal-Roboport-Range mod.

Player Settings Max roboport area Limit roboports to this range, useful to avoid construction bots spending lots of energy and time flying very far away when having many roboports. This setting has no CPU impact.

Performance To give an idea, these are the UPS ranges I get on each setting on my little test map with 5 Roboport Mk2's, ie. range 89x89, and 100x game speed. Baseline idling, no construction bots, updates off: 5000 UPS.

Updates off: 4500 idling, 900-2000 UPS building (vanilla style) Slow: 3500 idling, 400-900 UPS building Normal: 3100 UPS idling, 400-700 UPS building Fast: 2600 UPS idling, 250-500 UPS building Faster: 1500 UPS idling, 100-300 UPS building Fastest: 600 UPS idling, 30-70 UPS building License The Unlicense (Public Domain), do whatever you want with this.

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under Unlicense.

Last update

Its author last shipped an update 7 yr ago.

Closest First Updated 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.18.2, released 2020-01-30

Recent builds

BuildReleasedGame versionsLoaders
0.18.22020-01-300.18n/a
0.18.12020-01-300.18n/a

Run Closest First Updated 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”

Building & decoration

Blocks, furniture, decorations and building tools.

Runs on your server

From source side support

Factorio Mod Portal lists Closest First Updated 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

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
  • ✓AuthorBlijeGub, as published on Factorio Mod Portal
  • ✓LicenseUnlicenseFree

Closest First Updated, answered

Generated from the mod’s own source data.

Do my players need to install Closest First Updated?

Factorio Mod Portal lists Closest First Updated as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Closest First Updated is free to download from Factorio Mod Portal. Its license is Unlicense.

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 Closest First Updated on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Closest First Updated in one click.