New Feature: Strict NBT Interceptor This update introduces a new packet-level protection system to enhance server security against malicious or oversized NBT and custom payloads. Key functionalities include:
Player-Specific Alert System
Tracks each player’s suspicious packet activity.
First offense triggers a warning; second offense results in an automatic kick.
Custom Payload Monitoring (CUSTOM_PAYLOAD)
Inspects incoming custom payload packets for suspicious channels (e.g., containing nbt, payload, or book).
Checks payload size against a configurable maximum limit (default: 4096 bytes).
Cancels oversized or suspicious packets and alerts the player.
Creative Slot NBT Protection (SET_CREATIVE_SLOT)
Monitors items placed in creative mode slots.
Checks NBT data size against a maximum threshold (default: 1024 bytes).
Cancels packets with oversized NBT data and alerts/kicks the player accordingly.
Automatic Enforcement
Suspicious packets are automatically cancelled to prevent exploits.
Players exceeding thresholds are kicked to protect server integrity.
Failsafe Mechanism
Any unexpected errors in packet processing result in immediate packet cancellation and player kick to prevent potential exploitation.