class OnJoinVerifier implements Reloadable {

    public void checkPlayerCountry(JoiningPlayer joiningPlayer, String address,
                                   boolean isAuthAvailable) throws FailedVerificationException {
        if ((!isAuthAvailable || settings.getProperty(ProtectionSettings.ENABLE_PROTECTION_REGISTERED))
            && settings.getProperty(ProtectionSettings.ENABLE_PROTECTION)
            && !permissionsManager.hasPermission(joiningPlayer, PlayerStatePermission.BYPASS_COUNTRY_CHECK)
            && !validationService.isCountryAdmitted(address)) {
                throw new FailedVerificationException(MessageKey.COUNTRY_BANNED_ERROR);
        }
    }

      OnJoinVerifier();

}