SimTX API v24/Packets/KickRequest: 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 = KickRequest | | name = KickRequest | ||
| id = 5 | | id = 5 | ||
| hex = 0x05 | | hex = 0x05 | ||
| direction = c2s | | direction = c2s | ||
| session = [[SimTX API/Moderation session|Moderation]] | | session = [[SimTX API v24/Moderation session|Moderation]] | ||
| size = Variable | | size = Variable | ||
| permission = <code>moderation.manage</code> | | permission = <code>moderation.manage</code> | ||
| reply = [[SimTX API/Packets/KickResult|KickResult]] | | reply = [[SimTX API v24/Packets/KickResult|KickResult]] | ||
| group = moderation | | group = moderation | ||
}} | }} | ||
'''KickRequest''' disconnects stations from the server. It is only accepted on a [[SimTX API/Moderation session|moderation session]]. | '''KickRequest''' disconnects stations from the server. It is only accepted on a [[SimTX API v24/Moderation session|moderation session]]. | ||
== Layout == | == Layout == | ||
| Line 21: | Line 21: | ||
| <code>target</code> || <code>UTF</code> || A station UUID, or a callsign. | | <code>target</code> || <code>UTF</code> || A station UUID, or a callsign. | ||
|- | |- | ||
| <code>reason</code> || <code>UTF</code> || Reason shown to the kicked transmitter in [[SimTX API/Packets/TxKick|TxKick]]. May be empty. | | <code>reason</code> || <code>UTF</code> || Reason shown to the kicked transmitter in [[SimTX API v24/Packets/TxKick|TxKick]]. May be empty. | ||
|- | |- | ||
| <code>byCallsign</code> || <code>bool</code> || True: kick every station with that callsign. False: kick the station with that UUID. | | <code>byCallsign</code> || <code>bool</code> || True: kick every station with that callsign. False: kick the station with that UUID. | ||
|} | |} | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:16, 24 October 2026
| Packet ID | 5(0x05)
|
|---|---|
| Direction | Client → server |
| Session | Moderation |
| Body size | Variable |
| Permission | moderation.manage
|
| Answered by | KickResult |
KickRequest disconnects stations from the server. It is only accepted on a moderation session.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 5.
|
target |
UTF |
A station UUID, or a callsign. |
reason |
UTF |
Reason shown to the kicked transmitter in TxKick. May be empty. |
byCallsign |
bool |
True: kick every station with that callsign. False: kick the station with that UUID. |