Moderator Message: Difference between revisions
Jump to navigation
Jump to search
imported>Jadbalout No edit summary |
imported>Lisured formatting |
||
Line 1: | Line 1: | ||
{{ | {{PacketInfobox | ||
|title = Moderator Message | |||
The client sends the packet to the server requesting to show the moderatormessage prompt to a specific user. The server can deny the request if the client is not a moderator, if the player ID is not numeric , or if the player ID does not exist. | |handler = o | ||
If the client meets the | |name = moderatormessage | ||
}} | |||
The client sends the packet to the server requesting to show the ''moderatormessage'' prompt to a specific user. The server can deny the request if the client is not a moderator, if the player ID is not numeric, or if the player ID does not exist. | |||
If the client meets the requirement, the server sends the packet along with the message type. Usually, kick and ban’s message type is equal to 3. | |||
In this example, 3 is the message type and 5 is the player ID. | In this example, 3 is the message type and 5 is the player ID. | ||
== Examples == | == Examples == | ||
{| | {{Examples | ||
|client = %xt%o#moderatormessage%1%3%5% | |||
|server = %xt%moderatormessage%-1%3% | |||
}} | |||
|%xt%moderatormessage%-1%3% | |||
== Structure == | == Structure == | ||
Line 21: | Line 23: | ||
| align="center"| 3 | | align="center"| 3 | ||
|} | |} | ||
[[Category:Moderation Handlers]] |
Latest revision as of 18:38, 2 May 2015
Moderator Message | |
---|---|
Handler | o
|
Name | moderatormessage
|
The client sends the packet to the server requesting to show the moderatormessage prompt to a specific user. The server can deny the request if the client is not a moderator, if the player ID is not numeric, or if the player ID does not exist.
If the client meets the requirement, the server sends the packet along with the message type. Usually, kick and ban’s message type is equal to 3. In this example, 3 is the message type and 5 is the player ID.
Examples
Client side | %xt%o#moderatormessage%1%3%5%
|
Server side | %xt%moderatormessage%-1%3%
|
Structure
Message Type |
---|
3 |