
Modrinth · Minecraft mod
VPacketEvents
Manage packets through Velocity's native events
Quick answer
Which VPacketEvents release should I use?
VPacketEvents 1.2.0 targets 1.7.2, 1.7.3, 1.7.4 with velocity. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is VPacketEvents required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does VPacketEvents 1.2.0 need?
1.2.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add VPacketEvents without breaking your instance.
Built for VPacketEvents 1.2.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.2.0. It targets 1.7.2, 1.7.3, 1.7.4 with velocity; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.2.0. It opens that exact file at the source.
About this project
What does VPacketEvents add?
VPacketEvents
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
Project description from Modrinth.
Pick your setup
VPacketEvents by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildShowing the newest 12 of 83 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
VPacketEvents versions and loaders
1.2.0
VPacketEvents-1.2.0.jar
31 Jul 2026
1.1.0
VPacketEvents-1.1.0.jar
20 Apr 2023
1.0.2
VPacketEvents-1.0.2.jar
10 Apr 2023
1.0.1
VPacketEvents-1.0.1.jar
28 Feb 2023
1.0.0
VPacketEvents-1.0.0.jar
24 Feb 2023
Looking for an older file? The official Modrinth project page is in Resources.