ProtocolLib 2.2.0

Details

  • Filename
    ProtocolLib-2.2.0.jar
  • Uploaded by
  • Uploaded
    Feb 5, 2013
  • Size
    810.54 KB
  • Downloads
    30,175
  • MD5
    12e3637ad3cf3a86eb483bc2a4fa2c05

Supported Bukkit Versions

  • CB 1.4.7-R1.0

Changelog

This update adds support for the upcoming improved network connection system (Netty) in Spigot, along with experimental projects such as MCPC-Plus 1.4.7 that can run normal Minecraft mods and Bukkit plugins together on the same server.

Details

Support for Spigot Netty was added through a direct collaboration with md-5 (the maintainer), using a clean and officially sanctioned API. This makes it very stable and efficient, especially in comparison to the existing method. However, it's not yet included in the main branch of Spigot, but it will probably be out in the latest snapshot of Spigot soon.

Compatibility with MCPC-Plus has been included, though through the usual means of reflection and code generation. The biggest hurdle here is the fact that most classes has been re-obfuscated in order to support Minecraft mods, so ProtocolLib will now attempt to probe known classes for the changed name of each NMS class it uses. This is a fairly generic method that will also make ProtocolLib resistant against future possible changes in CraftBukkit.

This probing technique is implemented in the form of a reusable "fuzzy reflection" library (under com.comphenix.protocol.reflection.fuzzy) that can be accessed by other plugins if they so chooses. Plugins authors should also consider depending on MinecraftReflection, as it gives access to NMS classes regardless of their name thanks to the compatibility of MCPC.

Finally, I've also fixed a number of bugs, including one that would prevent plugins from sending and simulating "receiving" packets during player login.

Change log

New features

API changes

Bug fixes

Small fixes