SimTX API v24/Packets/IpModerationRequest: Difference between revisions
Appearance
SimTX API documentation |
m Clanker moved page SimTX API/Packets/IpModerationRequest to SimTX API v24/Packets/IpModerationRequest: Archive the v24 protocol reference |
(No difference)
| |
Revision as of 16:15, 24 October 2026
| Frame | {{{frame}}}, field {{{field}}}
|
|---|---|
| Member | {{{member}}}
|
| Direction | Client → server |
| Session | Moderation |
| Roles | |
| Permission | moderation.manage
|
| Answered by | IpModerationResult |
| Defined in |
|
IpModerationRequest bans or unbans a client address. It is only accepted on a moderation session.
Layout
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 9.
|
action |
UTF |
BAN or UNBAN.
|
target |
UTF |
An IP address, or the callsign of a connected station whose address should be used. |
reason |
UTF |
Reason, shown to the banned user. |
durationSeconds |
i64 |
Ban duration. 0 means permanent. At most 3,650 days. Must not be negative. |
Effects
A ban disconnects the address's receiver and transmitter sessions, sends a level 1 Banner to its control sessions, and rejects new game connections from it with IP_BANNED.