About Signal Strings Library
From Factorio Mod PortalA library for converting between lua strings and virtual signal strings
SignalStrings
This library provides common functions for handling strings on circuit networks. Strings are expressed as a bitmask of where each letter appears, LSB on the left. "foobar" = {signal-F=1,signal-O=6,signal-B=8,signal-A=16,signal-R=32}
Signals without mappings will fall back to a richtext tag if possible. If quality is enabled, uncommon signals will be used for capital letters. Mods may register additional signal mappings by adding them to data.raw["mod-data"]["signalstrings-mapping"].data ({[string]:SignalID}), using a single utf8 encoded character as the key.
local sigstr = require("__signalstrings__/signalstrings.lua")
-- read a string from signals...
local str = sigstr.signals_to_string(entity.get_signals(defines.wire_connector_id.combinator_input_green))
-- write to a constant combinator...
control.sections[1].filters = sigstr.string_to_logistic_filters("Hello World!")
-- write to a decider...
local p = control.parameters
p.outputs = sigstr.string_to_decider_outputs("Hello World!")
control.parameters = p
-- also back to signals...
local sigs = sigstr.string_to_signals("Hello World!")
-- or customize it...
local Ts = sigstr.string_to_Ts("Hello World!", function (signal, value)
return "Earl Grey, Hot"
end)
Highlights
From source dataGame versions
Built for Factorio 2.1.
Footprint
Rated a light load on a server.
License
Published under MIT.
Signal Strings Library 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
- 2.1.0, released 2026-06-23
Run Signal Strings Library 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 catalogLibraries & compatibility
Foundations and fixes other mods build on. Usually installed because something else needs it.
Runs on your server
From source side supportFactorio Mod Portal lists Signal Strings Library 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-08Open ↗
- ✓Authorjustarandomgeek, as published on Factorio Mod Portal
- ✓LicenseMITFree
