Source-checkedQuality of life & UI

on_research_queue_changed

by ixu · for Factorio

provides an event called on_research_queue_changed that is raised at any change of research queue. It is ment to replace on_research_cancelled, on_research_finished and on_research_started. It uses the same interface as on_research_cancelled.

351Downloads
5 yr agoLast updated
MITLicense
Factorio Mod PortalSource

About on_research_queue_changed

From Factorio Mod Portal

provides an event called on_research_queue_changed that is raised at any change of research queue. It is ment to replace on_research_cancelled, on_research_finished and on_research_started. It uses the same interface as on_research_cancelled.

Provides an event called on_research_queue_changed that is raised at any change of research queue. It is ment to replace on_research_cancelled, on_research_finished and on_research_started. It uses almost the same interface as on_research_cancelled.

###How to use:

  • In your mod, add a dependency to this mod.
  • In your control.lua add a function like this:

local function InitialiseOnResearchQueueChanged() defines.events.on_research_queue_changed = remote.call("on_research_queue_changed", "get_event_name") script.on_event(defines.events.on_research_queue_changed, function (event) ... end) end

  • call this function in the on_init handler and in the on_configuration_changed handler
  • The event structure is almost exactly like that of on_research_cancelled. The only difference is that the numbers for each technology are

=> -1 for cancelled, => 0 for completed and => 1 for started research.

###Remark:

  • Since the mod monitors the research queue with some latency, it may not detect all changes. For example, if another mod manipulates the research queue directly and adds and removes a technology between two checks, this will not be detected in on_research_queue_changed.

ko-fi

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under MIT.

Last update

Its author last shipped an update 5 yr ago.

on_research_queue_changed 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
1.0.2, released 2022-05-04

Recent builds

BuildReleasedGame versionsLoaders
1.0.22022-05-041.1n/a
1.0.12022-05-041.1n/a
1.0.02022-05-041.1n/a

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run on_research_queue_changed 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”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

Factorio Mod Portal lists on_research_queue_changed 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 ↗
  • ✓Authorixu, as published on Factorio Mod Portal
  • ✓LicenseMITFree

on_research_queue_changed, answered

Generated from the mod’s own source data.

Do my players need to install on_research_queue_changed?

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

Is it free?

Yes. on_research_queue_changed is free to download from Factorio Mod Portal. Its license is MIT.

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 on_research_queue_changed on a Factorio server.

Deploy in about a minute from $2.99 a month, then add on_research_queue_changed in one click.