rswiki-book/src/317/317-Player-command.md

18 lines
530 B
Markdown
Raw Permalink Normal View History

2018-10-13 09:48:41 -04:00
# Player Command
This packet is sent when a player types a message with the prefix '::', the message is then sent to the server and an appropriate action is taken (e.g. spawning an item).
2018-07-03 00:31:18 -04:00
2018-10-13 09:48:41 -04:00
## Packet Details
| Key | Value |
|--|--|
| Name | Player command |
| Description | Sent when a player types a command in the chat box. |
| Opcode | 103 |
| Type | Variable Byte |
| Length | N/A |
| Revision | 317 |
2018-07-03 00:31:18 -04:00
2018-10-13 09:48:41 -04:00
## Packet Structure
| Data Type | Description |
|--|--|
| [RS String](/RS-String.html) | The command name and parameters. |