VPacketEvents

VPacketEvents

Plugin

Manage packets through Velocity's native events

Server LibraryTechnologyUtility

4,786 downloads
28 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...

New API added for easy packet registration in Velocity

// Example of UpdateTeam registration
PacketRegistration.of(UpdateTeamsPacket.class)
            .direction(Direction.CLIENTBOUND)
            .packetSupplier(UpdateTeamsPacket::new)
            .stateRegistry(StateRegistry.PLAY)
            .mapping(0x47, MINECRAFT_1_13, false)
            .mapping(0x4B, MINECRAFT_1_14, false)
            .mapping(0x4C, MINECRAFT_1_15, false)
            .mapping(0x55, MINECRAFT_1_17, false)
            .mapping(0x58, MINECRAFT_1_19_1, false)
            .mapping(0x56, MINECRAFT_1_19_3, false)
            .mapping(0x5A, MINECRAFT_1_19_4, false)
            .register();

What's Changed

Full Changelog: https://github.com/4drian3d/VPacketEvents/compare/1.0.2...1.1.0

This update is mostly about fixing an incompatibility with LimboAPI, which for some reason completely replaces a fundamental function of Velocity, with the possibility of breaking certain plugins in some setups

What's Changed

Full Changelog: https://github.com/4drian3d/VPacketEvents/compare/1.0.1...1.0.2

  • Fixed version string in initialization
  • Some javadoc fixes

Full Changelog: https://github.com/4drian3d/VPacketEvents/compare/1.0.0...1.0.1


Project members

4drian3d

Owner

Details

Licensed GPL-3.0-or-later
Published 2 years ago
Updated 2 years ago