Compatibility
Minecraft: Java Edition
1.21.x
1.20.5–1.20.6
Platforms
Creators
Details
Licensed GPL-3.0-only
Published 5 months ago
Updated last week
NoPacketBan
This plugin can prevent player from being packet kicked (e.g. book ban, item ban, chuck ban)
After installed this plugin, the player will receive a message like this instead of being kicked.
Protecting against oversize.
Protecting against ViaVersion bug
Config:
# The amount of packet size (in bytes) reserved as a safety margin when ViaVersion is installed.
#
# Due to protocol and NBT encoding differences between Minecraft versions, packets that are valid
# on the server side may grow in size after ViaVersion rewrites them for older clients.
# If the rewritten packet exceeds the client’s maximum allowed size, the client will disconnect
# with a DecoderException.
#
# This value reduces the effective maximum packet size on the server to leave headroom for
# unexpected size inflation caused by cross-version translation.
#
# NOTE:
# - This is NOT a vanilla limit. It is an additional safety buffer.
# - This cannot guarantee 100% prevention of client disconnects, but significantly reduces them.
# - The value is only applied when ViaVersion is present.
#
# Recommended values:
# 262144 (256 KB) – safe default for most servers
# 524288 (512 KB) – safer for NBT-heavy server or older client versions
# 0 – disable reserved size (vanilla behavior, not recommended with ViaVersion)
#
reserved-packet-size: 262144
# Log exceptions during sending packet so you can know what is happened with details.
log-packet-exceptions: false


