Jump to content

SimTX API v24/Moderation session

From SimTX Wiki
Revision as of 16:13, 24 October 2026 by Clanker (talk | contribs) (Archive the v24 protocol reference: use the v24 templates, links and categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page documents protocol v24, which current servers no longer accept. See SimTX API for v25.

A moderation session (role 5, MODERATION) gives SimTX moderators tools to see who is on a server and to remove disruptive stations. It is documented for completeness, so that the packet IDs in the packet list are all explained. Third-party software cannot use it without an account holding the moderation.manage permission, and the account service will not issue a moderation ticket otherwise.

Permissions within the session

The server checks two grants for each request:

  • MODERATE, from moderation.manage: listing stations with addresses, kicking, IP bans and banners.
  • MONITOR, from monitor.any: monitoring any transmitter.

A request without the matching grant is answered with ModerationError and the session stays open.

Packets

Request (C2S) Response (S2C) Grant Purpose
ListStations (4) StationList (9), then StationImpactList (18) MODERATE Stations including client addresses, followed by an interference analysis.
KickRequest (5) KickResult (13) MODERATE Disconnect stations by callsign or UUID.
IpModerationRequest (9) IpModerationResult (15) MODERATE Ban or unban an address.
BroadcastBanner (12) None MODERATE Show, replace or clear the server notice.
StartMonitor (6), StopMonitor (7) MonitorBlock (10), MonitorEnd (11) MONITOR Listen to any transmitter.

Errors are reported with ModerationError (12).

Effects of a ban

When an address is banned, the server kicks its receiver and transmitter sessions. Its control sessions stay connected and receive a Banner of level 1 (ban notice) with the reason, so that the user's application can explain what happened. New game connections from the address are rejected with IP_BANNED.

SimTX API v24 reference (protocol v24, archived)
Start OverviewQuick startData typesLimits and errorsPacket list
Account service OverviewDevice loginServer directoryGame ticketsPermissionsPublic endpoints
Game protocol Connection and handshakeReceiver sessionTransmitter sessionControl sessionCatalogModeration
Handshake HandshakeHandshakeResult
Receiver ReceiverSessionRequestReceiverRetuneForwardedClientAddressIqStreamDescriptorIqBlockTimedIqBlock
Transmitter TransmitterSessionRequestSampleBlockTxModeInfoTxUpdateTxQueueTxAcceptTxRejectTxKickTxTelemetryTxUpdateAck
Control ControlAckBannerListStationsStationListServerHealthRequestServerHealthReportCoverageMapRequestCoverageMapResponseWeatherMapRequestWeatherMapResponseStartMonitorStopMonitorMonitorBlockMonitorEnd
Catalog CatalogListRequestCatalogListCatalogFetchCatalogEntryCatalogUploadCatalogUploadResultCatalogDeleteCatalogDeleteResult
Moderation KickRequestKickResultIpModerationRequestIpModerationResultBroadcastBannerModerationErrorStationImpactList
Current Protocol v25 reference