Skip to content

Configuration

Skyler Zero edited this page Nov 26, 2026 · 4 revisions

Configuration

Wi-Fi Router registers a NeoForge synced server configuration. Its settings are under [network]; use the config generated by NeoForge for your installation.

Option Default Allowed range Meaning
wirelessRange 60 1-1024 Block radius for nearby-router scans from an attached router, restricted to loaded chunks. Does not control wireless modem reach.
maxClients 155 1-254 Maximum connected LAN clients per router.
maxInboxSize 64 1-4096 Maximum queued messages per client; the oldest is discarded when full.
announceIntervalSeconds 3 1-60 Seconds between wireless bridge discovery beacons.
peerTimeoutSeconds 12 3-300 Legacy option retained for compatibility; server-wide routing does not use it.

For example:

[network]
wirelessRange = 60
maxClients = 155
maxInboxSize = 64
announceIntervalSeconds = 3
peerTimeoutSeconds = 12

An attached computer can inspect these values with wifi.getNetworkConfig(). Air connections and discovery use CC:Tweaked modem/rednet reach instead of wirelessRange.

Per-router settings

From a computer attached to the router:

local wifi = require("wifi")
assert(wifi.configureWifi("WorkshopNet", "change-me-123"))

The SSID must be nonblank and at most 32 characters. The password must be empty for an open LAN or 8-63 characters. Changing either disconnects LAN clients. Loaded routers communicate automatically without a WAN secret.

LAN credentials are stored in router world data. Protect world backups and attached computers. See Security.

Clone this wiki locally