PacketEvents

PacketEvents

Mod and plugin

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.

Library

23.3k downloads
51 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

PacketEvents 2.4.0 Bukkit

Changelog

New PacketEvents release here!

1.21 Minecraft released a while ago, we are here to publish our first official release that supports it. This release contains various additions and bug fixes. As always, this section is merely a summary of the changes.

Please note that the declaration of the PacketEvents dependency has changed!

Changes

  • 1.21 Minecraft support
  • Gradle build chain reworked (with Kotlin DSL, also have Global Versioning)
  • Add support for Mojang mapped JARs
  • Add support for all versions of Adventure v4
  • Added immutable views on the values within our registries
  • Reworked PEVersion
  • PacketEvents switched to the Paper API to optimize Folia functionality (The Spigot platform is still supported)
  • ChatMessage_v1_19_1.ChatTypeBoundNetwork replaced with ChatType.Bound
  • NBT and Component methods added to the ItemStack builder
  • PacketEvents bStats setting is obsolete as it can be toggled within the configuration file created on the server
  • PacketWrapper#writeVarInt optimization
  • Event system optimization

Bug fixes

  • Fix chat type mappings (1.19+)
  • Fix Particle mappings for 1.12.2
  • Fix Encoding the EncryptionResponse wrapper
  • Fix SpigotConversionUtil#getEntityById for modern versions
  • Fix Spigot Particle Conversion
  • Fix Recipe Packet Read/Write
  • Fix SoundEffect for legacy Minecraft versions
  • Account for zero data in ChunkData packet (when unloading)
  • Fix NPC#despawnAll, NPC#changeSkin
  • Fix WrapperPlayServerJoinGame's reading of enforcesSecureChat
  • Fix WrapperPlayServerChunkDataBulk not being copied from one listener to another
  • Fix platform version detection on Velocity and BungeeCord
  • Fix BungeeCord injector

Known issues

This PacketEvents update was a rather large one. We acknowledge that it still has a few issues and plan on fixing them in the upcoming patch update.

1. MappedEntity#isRegistered call leads to NullPointerException

Network synched registries are currently being worked on. https://github.com/retrooper/packetevents/pull/866 Completion of this task should lead to the issue being resolved.

2. EntityMetadata issues on 1.20.5+

Some metadata types (eg. spawned wolves) cause issues due to them being implemented incorrectly. Also this, we plan on fixing in the next patch update.

Help PacketEvents / Donations

Maintaining PacketEvents is not a simple process. The project has grown a lot and some of you have been here to witness it all. PacketEvents now has two additional maintainers: booky10 and AbhigyaKrishna. If you are willing to extend your kindness to them also, please reach out.

Files

packetevents-spigot-2.4.0.jar(2.91 MiB) Primary Download

Project members

retrooper

Owner

Details

Licensed GPL-3.0-only
Published a year ago
Updated 7 days ago