Certain tasks are impossible to perform with the standard Bukkit API and may require working with and even modifying Minecraft directly. A common technique is to modify incoming and outgoing packets or to inject custom packets into the stream. This is quite cumbersome to do, however, and most implementations will break as soon as a new version of Minecraft has been released, mostly due to obfuscation.

ProtocolLib is a library that allows read and write access to the Minecraft protocol. It handles most of the overhead required with reflection and channel injection and provides wrappers to simplify packet modification. It is updated with most Minecraft updates so, ideally, individual plugins don't have to. ProtocolLib often doesn't need to be updated for minor updates, especially if there are few code changes (i.e. the 1.8 security updates)

The ProtocolLib plugin supports platforms: PC



Main administrative command. Supports the following sub-commands:
config: Reload the configuration file.
check: Check for new versions on BukkitDev.
version: Displays the currently running version of ProtocolLib.
timings: Toggle measuring the amount of CPU time spent by each plugin.
listeners: Display what plugins are using ProtocolLib, and the packet types they are intercepting.
Logs hex representations of the provided packets to a file or to console
Syntax: /packetlog <protocol> <sender> <packet> [file/console]
Accepted packets can be found here.

All of these commands require the permission protocol.admin.

Discussion ProtocolLib

  • 30 minutes ago
    Minecraft StatisticThis is plugin ProtocolLib page. You can ask questions here and our community will try to help you!





ProtocolLib versions

4.3.0 381
4.4.0 173
3.6.5 69
4.2.1 64
3.6.4 50
4.2.0 29
3.4.0 28
4.1.0 15
3.7.0 15
3.6.3 7
4.0.1 6
3.3.1 4
3.7 4
3.6.2 3
3.6.6 3
3.1.3 2
4.0.2 2
3.1.0 2
2.4.3 1
3.6.0 1
4.0.0 1
2.4.5 1
4.3.1 1