SimTX API v24/Packets/IpModerationResult: Difference between revisions
Appearance
SimTX API documentation |
Archive the v24 protocol reference: use the v24 templates, links and categories |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{SimTX API navigation}} | {{SimTX API v24 navigation}} | ||
{{SimTX packet | {{SimTX packet v24 | ||
| name = IpModerationResult | | name = IpModerationResult | ||
| id = 15 | | id = 15 | ||
| hex = 0x0F | | hex = 0x0F | ||
| direction = s2c | | direction = s2c | ||
| session = [[SimTX API/Moderation session|Moderation]] | | session = [[SimTX API v24/Moderation session|Moderation]] | ||
| size = Variable | | size = Variable | ||
| permission = None | | permission = None | ||
| answers = [[SimTX API/Packets/IpModerationRequest|IpModerationRequest]] | | answers = [[SimTX API v24/Packets/IpModerationRequest|IpModerationRequest]] | ||
| group = moderation | | group = moderation | ||
}} | }} | ||
'''IpModerationResult''' reports the outcome of an [[SimTX API/Packets/IpModerationRequest|IpModerationRequest]]. | '''IpModerationResult''' reports the outcome of an [[SimTX API v24/Packets/IpModerationRequest|IpModerationRequest]]. | ||
== Layout == | == Layout == | ||
| Line 30: | Line 30: | ||
|} | |} | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:15, 24 October 2026
| Packet ID | 15(0x0F)
|
|---|---|
| Direction | Server → client |
| Session | Moderation |
| Body size | Variable |
| Permission | None |
| Answers | IpModerationRequest |
IpModerationResult reports the outcome of an IpModerationRequest.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 15.
|
banned |
bool |
True after a ban, false after an unban. |
addressCount |
i32 |
Number of addresses affected, at most 1,000. |
addresses |
addressCount × UTF |
The affected addresses. |
sessionsDisconnected |
i32 |
Number of sessions disconnected. |
expiresAtEpochMillis |
i64 |
When the ban ends, Unix milliseconds; 0 for permanent or for an unban. |