Docs / Multiplayer / Dedicated server
Public server list
public_server = 1 lists the server in the list that the launcher (Multiplayer -> Servers ->
Public servers) shows.
The server registers with the list service (public_list_url, default
openOMSI's own, a Cloudflare Worker in services/serverlist), is listed once the service has
read the server's GET /status and found the challenge it gave there (so the web port or the
tunnel must be reachable from the internet; a tunnel is the sure way), says it is alive every
minute, and is forgotten three minutes after its last word.
Listed: name, message of the day, map, players, maximum, version and where to join. Nothing about the players is sent.
name,
motd and server-icon.png are checked before the first word (a name or message that is
flagged - profanity and the usual ways round a filter, addresses, hidden characters - refuses
the listing, and the log says which key to change; a flagged icon too) and every launcher
checks each listing again before showing it: a flagged text is covered, a custom icon is shown
only if the viewer's own image check cleared it.
The service filters too (no addresses or invitations, limits per source), but no client takes its word.
About OpenLB. The feature was planned with the OpenLB library (ImgCleaner / TxtCleaner), and it cannot be used here: its licence is the MIT text with one line added - the software "may not be used for anything but its original purpose" - which is a limit on use that the AGPL this project is under does not allow in a part of it (and crates.io files it as "non-standard");
its models (a 99 MB text model and 10 to 47 MB image models) come with no licence and with training data that "cannot be released";
and it needs a native ONNX runtime
library (ort, pinned to a release candidate, loaded dynamically) shipped for every platform,
which the dedicated server, Android and iOS builds would each have to carry.
So the moderation
is behind a small trait (omsi-serverlist, Moderator): text is checked by
rustrict (MIT, already the chat's filter) and our rules,
and icons are not cleared at all yet: no image classifier is bundled, so every custom icon
is "unchecked" and the public list shows the default one.
An open-licence classifier (a small
Apache-2.0 or MIT model run by tract, downloaded to the content folder with a checksum, not
committed) plugs in with set_image_classifier and nothing else changes.
Something wrong or missing? Fix it on GitHub or open an issue.