
1.1K
2
GriefPrevention3D v17.3.5 for mc26.1.2
Beta10 ч. назад
Список изменений
GriefPrevention v17.3.5 (Paper 26.1.2 Experimental)
Highlights
- Experimental support for Paper 26.1.2 (calendar-versioned Paper builds running on Java 25).
- Migrated deprecated
PlayerLoginEventtoAsyncPlayerPreLoginEventto comply with Paper 26's re-configuration API requirements. - Thread-safe IP ban tracking for async login handling.
Paper 26.1.2 Compatibility
This release targets Paper's new calendar-versioned experimental builds (26.1.2.build.18-alpha) which require Java 25. The plugin has been verified to load and run correctly on:
- Paper: 26.1.2.build.18-alpha (Implementing API version 26.1.2.build.18-alpha)
- Java: OpenJDK 25.0.2+10-LTS (Temurin)
Event System Migration
Paper 26 deprecates listening to PlayerLoginEvent because it fires between the login and configuration phases, blocking Paper's re-configuration APIs. This release migrates to AsyncPlayerPreLoginEvent:
- Login cooldown and spam protection now run asynchronously before the configuration phase.
- IP address recording moved to
PlayerJoinEventto keep DataStore writes on the main thread. - Smart-ban IP tracking preserved: banned accounts are still recorded for IP-based auto-banning.
Thread Safety Improvements
tempBannedIpschanged fromArrayListtoCopyOnWriteArrayListto safely handle writes from the async login thread while main-thread handlers iterate the list.
Technical Changes
paper-apidependency bumped to26.1.2.build.18-alpha.- Removed deprecated
PlayerLoginEventandPlayerLoginEvent.Resultimports. - Added
AsyncPlayerPreLoginEventimport and handler (onAsyncPlayerPreLogin). - Added offline-safe
hasSpamBypass(UUID)helper for cooldown bypass checks (falls back to op status; permission-based bypass will be restored in a future update).
Notes
- This is an experimental build for Paper 26.1.2. For production servers on Paper 1.21.x, use the standard v17.3.5 release.
- The
api-versioninplugin.ymlremains"1.21"for backward compatibility. - All 108 unit tests pass on Java 25.
- No changes to claim mechanics, permissions, or commands — this is purely a compatibility update.
Файлы
GriefPrevention.jar(615.37 KiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
17.3.5-mc26.1.2
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.20–26.1.2
Загрузок
2
Дата публикации
10 ч. назад