ProtocolLib 2.4.1
Details
-
FilenameProtocolLib-2.4.1.jar
-
Uploaded by
-
UploadedApr 9, 2013
-
Size854.09 KB
-
Downloads40,916
-
MD5cfefd572e0ad9900a7a04aebedcd6666
Supported Bukkit Versions
- CB 1.5.1-R0.1
Changelog
This is a minor update that addresses a couple of compatibility issues - particularly with CraftBukkit forks such as Spigot - along with improvement in performance and features (a filter system and better fuzzy reflection). I've also marked Minecraft 1.5.1 as compatible, removing the warning message during startup.
Among the more interesting new features is the filter system - it uses the built in JavaScript interpreter in JVM 6 (Rhino) to extend the packet command with filtering capabilities - it is now possible to, say, only print entity metadata packet events (packet add server 40) for a given entity ID:
> packet add server 40 true Added listener ListeningWhitelist{priority=MONITOR, packets=[40]} > filter add entity_filter 40 Enter filter program ('}' to complete or CANCEL): function(event, packet) { > return packet.a == 1000; >} Added filter entity_filter.
This should be much more convenient than having to compile a test plugin and reload the whole server. Note that this feature is disabled by default for security reasons. To enable it, add "debug: true" to config.yml.
For more information about all the other changes, consult the change log.
Change log
Features
API changes
Stability and performance
- Minecraft 1.5.1 passes all the tests. Mark it as supported.
- Ensure that monitor listeners cannot modify a packet event.
- Use an atomic reference array instead of ConcurrentHashMap for listeners
Bug fixes
- Update the player instance on login (LOWEST), not HIGHEST.
- Correctly override SpoutPlugin's sendPacket method.
- Adding support for Spigot MCPC 1.2.5.
- Ignore players that have logged out and have not been injected.
- Added a small patch for Libigot.
- Prevent ConcurrentModifcationExceptions.
- Retrieve the correct Minecraft superclass
- Retrieve the correct Nbt base class