This version adds support for clients <= 1.12 from bypassing using the esc key.
On Spigot, this requires ViaVersion. You will also need to set "Update GUI" to true in your config. For velocity, this is defaulted to true automatically.
Config changes (Spigot) Config changes (Velocity)