VersionBlocker is a lightweight Velocity proxy plugin that checks every connecting player's game version before they reach your Paper servers. If the version doesn't match your allowed protocol, the player is instantly disconnected with a fully customizable message — no incompatible clients, no surprises.
The full list of Minecraft protocol versions is available on the Minecraft Wiki.
Code (YAML):
# VersionBlocker Configuration # Full protocol version list: https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Protocol_History
# The only protocol version allowed to connect. allowed-protocol: 774
# 1.21.11
# Message shown to players connecting with the wrong version. # Supports legacy color codes (&c, §c, etc.) and the %version% placeholder, # which is replaced by the player's detected Minecraft version. kick-message: "&cOnly Minecraft 1.21.11 is allowed on this server. You are connecting with %version%."