/
128.0.0.0 could be treated as invalid because it collided with the internal invalid sentinel.int boundary values, including addresses in the 128.0.0.0+ range./0, /16, /32, and high-range IPv4 addresses.config.yml readability with clearer sections, examples, and security warnings.PROXY_GATE, Velocity forwarding, and ALLOW_ALL failsafe risks.Full Changelog: https://github.com/AREKKUZZERA/Better-IP-Filter/compare/1.4.0...1.4.1
mvn modrinth:publish)${project.version} (Maven filtering)RateLimiter
AttemptBucketConcurrentHashMap.computeWebhookNotifier
maybeLogDropStatslastStatLogMillis теперь используется корректно из worker-потокаIpFilterListener
Исправлена логика proxy gate
ALLOW_ALL могли проходить без логированияУдалена ошибка, при которой пустой список trusted proxies = доверие всем
IpMathSelfCheck
Integer.compareUnsigned вместо signed сравненияBetterIpFilterPlugin
formatDeniedLineЛенивая генерация строки deny-лога (если логирование отключено — строка не создаётся)
Упрощена логика onEnable (inline executor setup)
WebhookNotifier
switch вместо if-chain в escapeJsonbuildPayload (использует String concat → JDK 21 оптимизирует)Убрано дублирование через:
commitResult(...)setUnavailable(...)ensureDataFolder()parseEntry сделан static
reload handlerList.of(...) вместо Arrays.asList(...)filterPrefix сделан statichasTrustedForwardedIpsplugin.yml для Paper 1.21.11IpStoreadd() / remove()trusted-forwarded-ips теперь пропускаются с предупреждениемComponentIpv4.INVALID = -1INVALID заменён на Integer.MIN_VALUEint-представлением255.255.255.255IntHashSet при удалении элементов из probe-chainChatColor@SuppressWarnings("deprecation")ipStr в listener теперь всегда без портаcanMerge для 0xFFFFFFFFtestBroadcastIpNotInvalidtestIntHashSetTombstoneisValidIp переименован в isValidEntryswitch обновлён до expression switchCollectors.toList() заменён на .toList()/ipf status — live plugin diagnostics/ipf reload — reload config and whitelist without restart/ipf listSecurity & Reliability Update
Compatibility: Paper 1.21–1.21.11 · Java 21+

Lightweight and fast IP whitelist filter for Paper 1.21.x.