Plugin channels: Difference between revisions
imported>Benc (Created page with "'''Plugin channels''' are implemented using packet 0xFA, allowing client mods and server plugins to communicate without cluttering up chat. [http://dinnerbon...") |
imported>Ceiru |
||
| Line 7: | Line 7: | ||
When a player edits an unsigned book. | When a player edits an unsigned book. | ||
The payload starts with the following unknown sequence: 01-82-01-00-00 | |||
Next follows a length-prefixe(int16) that is the size of the remaining GZip-ed NBT-data. | |||
=== <code>MC|BSign</code> === | === <code>MC|BSign</code> === | ||
Revision as of 03:46, 7 August 2012
Plugin channels are implemented using packet 0xFA, allowing client mods and server plugins to communicate without cluttering up chat. This post by Dinnerbone is a good introduction and basic documentation.
Channels internal to Minecraft
As of 1.3, Minecraft itself started using plugin channels to implement new features. These internal channel names are prefixed by MC|.
MC|BEdit
Client to server
When a player edits an unsigned book.
The payload starts with the following unknown sequence: 01-82-01-00-00 Next follows a length-prefixe(int16) that is the size of the remaining GZip-ed NBT-data.
MC|BSign
Client to server
When a player signs a book.
MC|TPack
Two-Way
Remote texture packs.
MC|TrList
Two-Way
The list of trades a villager NPC is offering.
MC|TrSel
Client to server
When a player selects a specific trade offered by a villager NPC.
Notable community plugin channels
Channels listed in this section are not Mojang-sanctioned. This is just a likely-incomplete list of channels used by mods/plugins popular within the Minecraft community.