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

Signal Strings Library

by justarandomgeek · for Factorio

A library for converting between lua strings and virtual signal strings

4.2KDownloads
5 mo agoLast updated
MITLicense
2.1Latest game version

About Signal Strings Library

From Factorio Mod Portal

A 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 data

Game 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 catalog
Listed on Factorio Mod Portal as “Mods”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Factorio 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

Signal Strings Library, answered

Generated from the mod’s own source data.

Do my players need to install Signal Strings Library?

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

Is it free?

Yes. Signal Strings Library 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 Signal Strings Library on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Signal Strings Library in one click.