SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedGameplay & overhauls

VPacketEvents

by 4drian3d · for Minecraft

Manage packets through Velocity's native events

26KDownloads
2 mo agoLast updated
GPL-3.0-or-laterLicense
VelocityLoaders

About VPacketEvents

From Modrinth

Manage packets through Velocity's native events

VPacketEvents

Discord GitHub Downloads

Manage and register packets through Velocity's native events

class PacketListener {
    @Subscribe
    public void onPacketReceive(PacketReceiveEvent event) {
        final MinecraftPacket packet = event.getPacket();
        if (packet instanceof KeyedPlayerCommand commandPacket) {
           event.setResult(GenericResult.denied());
        }
    } 
    
    @Subscribe
    public void onPacketSend(PacketSendEvent event) {
        // some stuff
    }

    public void registerPacket() {
        // UpdateTeamsPacket 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();
    }
}

Installation

  • Download VPacketEvents from Modrinth
  • Drag and drop on your plugins folder
  • Start the server

Dev Setup

Gradle

repositories {
    mavenCentral()
}
dependencies {
    compileOnly("io.github.4drian3d:vpacketevents-api:1.1.0")
}

Javadocs

https://javadoc.io/doc/io.github.4drian3d/vpacketevents-api

Highlights

From source data

Game versions

Supports 84 Minecraft versions, the newest being 26.3.

Loaders

Runs on Velocity.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

Modrinth lists VPacketEvents as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Velocity
Runs on
Serverrequired on the server
Game versions
26.3 and 83 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Author4drian3d, as published on Modrinth
  • ✓LicenseGPL-3.0-or-laterFree

VPacketEvents, answered

Generated from the mod’s own source data.

Do my players need to install VPacketEvents?

Modrinth lists VPacketEvents as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Velocity.

Is it free?

Yes. VPacketEvents is free to download from Modrinth. Its license is GPL-3.0-or-later.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run VPacketEvents on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add VPacketEvents in one click.