Skip to content

Minecraft 1.20.1, 1.21.1-এর জন্য VPacketEvents প্লাগইন

Velocity-এর নেটিভ ইভেন্টের মাধ্যমে প্যাকেট পরিচালনা করুন

থেকে 4drian3d · Modrinth
ভিউ
২৭ ভিউ
আপডেট করা হয়েছে
আপডেট করা হয়েছে 05.09.2026
  • 1.7.2 — 26.2
  • Velocity
  • সার্ভার

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

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

VPacketEvents কীভাবে ইনস্টল করবেন

  1. A server on Velocity

    The plugin runs on the server core for Minecraft 1.7.2–26.2; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file VPacketEvents-1.2.0.jar (14 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

ভার্সন

ডিপেন্ডেন্সিসহ

Minecraftলোডারফাইলঅ্যাকশন
26.2Velocity26.214.5 KB
26.1Velocity26.114.5 KB
1.20.1Velocity1.20.114.5 KB
1.19.2Velocity1.19.214.5 KB
1.18.2Velocity1.18.214.5 KB
1.16.5Velocity1.16.514.5 KB
1.12.2Velocity1.12.214.5 KB

যে কনটেন্টের এটি প্রয়োজন

রিভিউ

VPacketEvents-এ প্রথম রেটিং দিন

কমেন্ট 0

মন্তব্য করতে সাইন ইন করুনসাইন ইন

একই ধরনের প্লাগইন

সব প্লাগইন

এটি সম্পর্কে আরও

লেখক: 4drian3dলাইসেন্স: GPL-3.0-or-laterসোর্স কোড

আপনি কি লেখক? আমাদের সাথে যোগাযোগ করুন — আমরা ৪৮ ঘণ্টার মধ্যে এটি সরিয়ে ফেলব।