SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedTechnology & automation

Powered machine

by Frontrider · for Factorio

A library to make machines that normally can't consume power consume power.

6.3KDownloads
29d agoLast updated
MITLicense
2.1Latest game version

About Powered machine

From Factorio Mod Portal

A library to make machines that normally can't consume power consume power.

foundrygg.comDiscordKo-fi

SECTION FOR PLAYERS: The mod is optimized for the case when the machine is always running. If you keep it powered, then no scripts will ever run on my side. If it loses power then it will start to check for the power's return about every 3 seconds. If you are afraid of script lag, avoid losing power. this does mean that sometimes it won't turn on right after getting power back, but fewer checks are better. I don't recommend trying to cheese the 3 second timer with a power switch. The delay is not consistent enough for you to not get random outages.


This mod provides an interface to make any entity consume some kind of power. You can add it to any entity prototypes. The code works on a large number of entity prototypes, but not all of them. Check the final fixes for the up to date full list. When I say any entity, I mean any. The orbital cannon is an entirely scripted composite entity that uses this to consume electricity.

You have to add this field, to your entity prototype to make it powered.

 powered_machine                        = {
        -- the default is to not make the entity freeze, but you can!
        heating_energy = "0kW",
        energy_usage   = settings.startup["orbital-cannon-energy-consumption"].value,
        -- the custom recipe lets you make this machine consume any arbitrary combinations of items.
        -- you can use any recipe categories, but the default is "powered-machine-powering"
        recipe="powered-machine-power-consumption",
        fluidbox= <an optional fluidbox definition>,
        --tells my system that it should toggle the entity's active state for you.
        auto_toggle=false,
        -- if set to false, no events will be raised or registered.
        raise_event=true,
        -- any energy source.
        energy_source  =
        {
            type = "electric",
            usage_priority = "secondary-input",
            emissions_per_minute = { pollution = 2 },
        },
        visualization= <https://lua-api.factorio.com/latest/types/CraftingMachineGraphicsSet.html>
}

The consumer entity will also disable item insertion if there are no inputs. I don't recommend using item inputs on things that also want to consume items themselves, like roboports or assembling machines.

If you use a custom recipe, the default category is powered-machine-powering, but anything else will work.

if visualization is set, and the consumer has a fluidbox then the machine consuming your fluids will replace the entity placed by your item. The placing item's name is assumed to be the same as the entity. This means that the consumer can be rotated while the player puts the entity down.

You will receive events with the name defines.events["powered_machine_enabled_<exact name of your prototype>"], this will have the following structure:

{
entity =  <your current entity>,
-- the current state of the system, if not running then it ran out of power.
running = true/false,
-- these two are internal entities, one is consuming your fuel, the other is doing some checks to see if said fuel is being consumed or not.
-- you don't care if you just want to toggle your own behaviors. These are two internal entities that the mod uses to manage state.
consumer = data.consumer,
checker = data.checker
}

This allows you to toggle whatever behavior you need to toggle depending on power availability.

The orbital cannon receives events with the name powered_machine_enabled_orbital-cannon.

it also comes with default picker dollies support, all involved entities are blacklisted by default.

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

Powered machine 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.8.0, released 2026-10-23

Recent builds

BuildReleasedGame versionsLoaders
0.8.02026-10-232.1n/a
0.3.42026-07-282.0n/a
0.7.02026-07-262.1n/a
0.5.02026-07-262.1n/a
0.4.02026-06-242.1n/a
0.3.32026-04-132.0n/a

Dependencies

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

Run Powered machine 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”

Technology & automation

Machines, power, logistics and automation.

Runs on your server

From source side support

Factorio Mod Portal lists Powered machine 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
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-24Open ↗
  • ✓AuthorFrontrider, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Powered machine, answered

Generated from the mod’s own source data.

Do my players need to install Powered machine?

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

Is it free?

Yes. Powered machine 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 Powered machine on a Factorio server.

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