ProtocolLib 1.5.1
Details
-
FilenameProtocolLib-1.5.1.jar
-
Uploaded by
-
UploadedNov 3, 2012
-
Size613.95 KB
-
Downloads3,727
-
MD53daf3606e960a1333aed4d136499cb7c
Supported Bukkit Versions
- CB 1.4.2-R0.2
Changelog
This update mainly addresses a couple of bugs (ticket 5 and ticket 6), but it also adds a couple of new features.
The first feature is the ability to check and download a new version of ProtocolLib within the game. You still need to restart or reload the server in order to actually apply the new update, but it should be much easier to keep up with the new versions this way. It will also perform the update and download automatically, unless specifically disabled in the configuration.
In addition, I've added a debug command (packet) that allows plugin authors to easily add a simple packet listener for any arbitrary packet ID. That way, it's not necessary to write a small debug plugin in order to just check when a packet is sent, and the content of the packet.
Both commands are only available to operators, unless users are specifically given the permission "protocol.admin". In addition, the permission "protocol.info" controls whether or not users are notified of any errors or updates regarding ProtocolLib.
There's also a new "packet timeout" listener. It allows plugins to specify a custom behavior when a packet has timed out during asynchronous processing. For instance, one might consider recreating the packet with updated data after a certain amount of time, instead of just dropping the packet.
Features
- Added h31ix's auto update system.
- Added two commands and associated permissions.
- Added timeout listeners.
Bug fixes
- Don't check for closed sockets. If it talks like a duck, ect. FIXES Ticket-5.
- Ensure getEntityModifier is thread safe. FIXES Ticket-6.
- Always create vanilla packets in the packet constructor.
Small fixes
On the first run, ProtocolLib will check for new updates every 60 seconds instead of every 12 hours, as it is supposed to. To fix this, reload or restart the server.