Use EntityLevelChangeEvent, and if has some count of players then kick or cancel that event to the player.