About ProtocolLib
From SpigotMCProvides read/write access to the Minecraft protocol
ProtocolLib
Use the dev build for 1.8 through 26.2
Thanks for over 3 million downloads everyone!
If you love ProtocolLib or it has made your life significantly easier, consider a one-time donation, sponsoring the project or leaving a positive review below. It really means a lot!
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)
Useful Links
Before reporting a bug:
- Look for an update for ProtocolLib, there's a good chance your error or bug has already been fixed.
- Read the stack trace and make sure it's an error with ProtocolLib. ProtocolLib's package is com.comphenix.protocol. If you don't see that anywhere, it's not ProtocolLib.
- Check the common errors wiki page.
- Use the issue tracker! Don't report bugs in the reviews. Please search for duplicates before reporting a new issue!
- Provide as much information as possible. Provide your ProtocolLib version and Spigot version.
- Provide any stack traces or "errors" using pastebin.
Just download ProtocolLib from the link above. It doesn't do anything on its own, it simply allows other plugins to function.
For developers
A somewhat dated tutorial can be found here. A new tutorial is in progress on the wiki.
TinyProtocol
There is a lightweight alternative to ProtocolLib called TinyProtocol. It is essentially a mechanism to send and receive raw packets without structure modifiers or wrappers. It can be found here.
Maven repository
If you're using Maven, you'll be able to automatically download the jar, JavaDoc and associated sources from Maven Central. This repository is included by default if you're using Maven, but you must declare it explicitly in Gradle:
mavenCentral ( )
}
<dependency>
<groupId>net.dmulloy2 </groupId>
<artifactId>ProtocolLib </artifactId>
<version>5.4.0 </version>
</dependency>
<!-- And so on -->
</dependencies>
compileOnly 'net.dmulloy2:ProtocolLib:5.4.0'
}
Commands
Protocol
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.
Highlights
From source dataGame versions
Supports 15 Minecraft versions, the newest being 1.21.
Loaders
Runs on Spigot and Paper.
Footprint
Rated a light load on a server.
ProtocolLib on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Spigot, Paper
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 5.4.0, released 2025-08-09
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Paper | 1.8 to 1.21 (15 versions) | 1.21 |
| Spigot | 1.8 to 1.21 (15 versions) | 1.21 |
From 10 recorded builds of ProtocolLib.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 5.4.0 | 2025-08-09 | 1.8 to 1.21 (15 versions) | Spigot, Paper |
| 5.3.0 | 2024-10-20 | n/a | Spigot, Paper |
| 5.2.0 | 2024-04-07 | n/a | Spigot, Paper |
| 5.1.0 | 2023-08-05 | n/a | Spigot, Paper |
| 5.0.0 | 2023-05-12 | n/a | Spigot, Paper |
| 4.8.0 | 2022-03-04 | n/a | Spigot, Paper |
Run ProtocolLib on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogAdmin & protection
Permissions, moderation, anti-cheat and land protection for the people running the server.
Runs on your server
From source side supportSpigotMC lists ProtocolLib as required on the server. Check its SpigotMC page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- SpigotPaper
- Runs on
- Serverrequired on the server
- Game versions
- 1.21 and 14 earlier
- Requires
- One-click install needs a Paper server.
Verified at the source
- ✓SpigotMCOfficial listing, checked 2026-10-01Open ↗
- ✓Authordmulloy2, as published on SpigotMC
- ✓LicenseNot published by the sourceFree










