▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/GriefPrevention3D
GriefPrevention3D

GriefPrevention3D

A fork of GriefPrevention that adds 3D subdivisions

1.1K
2
Все версииGriefPrevention3D v17.3.5 for mc26.1.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 PlayerLoginEvent to AsyncPlayerPreLoginEvent to 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 PlayerJoinEvent to 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

  • tempBannedIps changed from ArrayList to CopyOnWriteArrayList to safely handle writes from the async login thread while main-thread handlers iterate the list.

Technical Changes

  • paper-api dependency bumped to 26.1.2.build.18-alpha.
  • Removed deprecated PlayerLoginEvent and PlayerLoginEvent.Result imports.
  • Added AsyncPlayerPreLoginEvent import 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-version in plugin.yml remains "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

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.20–26.1.2

Загрузок

2

Дата публикации

10 ч. назад

Загрузил

ID версии

Главная