▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/GriefPrevention3D
GriefPrevention3D

GriefPrevention3D

A fork of GriefPrevention that adds 3D subdivisions

Оцените первым
3.2K
7
Все версииGriefPrevention3D v18.2.0

GriefPrevention3D v18.2.0

Release01.07.2026

Список изменений

GriefPrevention3D v18.2.0

Wiki: GriefPrevention3D Wiki

Features

DatabaseDataStore now matches FlatFileDataStore feature-for-feature

DatabaseDataStore was missing three persisted fields that FlatFileDataStore has supported for some time. Database users will now get identical behaviour.

3D claims (is3d)

The is3d boolean is now persisted in the griefprevention_claimdata table. Claims created with 3D enabled (subdivisions that respect Y boundaries) will correctly reload after a restart.

  • Schema migration v7: ALTER TABLE griefprevention_claimdata ADD COLUMN IF NOT EXISTS is3d BOOLEAN DEFAULT 0
  • DatabaseDataStore.java: passes is3d from ResultSet to new Claim(…) instead of hardcoding false

Shaped claims (shapecorners)

Shaped claim geometry (non-rectangular orthogonal polygons) is now serialized to a shapecorners TEXT column as semicolon-delimited x,z pairs. Existing rectangular claims are unaffected.

  • Schema migration v8: ALTER TABLE griefprevention_claimdata ADD COLUMN IF NOT EXISTS shapecorners TEXT DEFAULT ''
  • DatabaseDataStore.java: serializeCornersForDb() / parseCornersFromDb() helpers convert between List<OrthogonalPoint2i> and the DB text format
  • Reads are passed to claim.setShapedCorners() on load

Modified date (modifieddate)

Each claim's last-modified timestamp is stored as a BIGINT (epoch millis). On first save after migration, existing claims without a timestamp will get the current time.

  • Schema migration v9: ALTER TABLE griefprevention_claimdata ADD COLUMN IF NOT EXISTS modifieddate BIGINT DEFAULT 0
  • DatabaseDataStore.java: claim.modifiedDate is set from modifieddate column on load (when > 0) and written on every save

Technical details

Schema versionWhat changed
7Added griefprevention_claimdata.is3d
8Added griefprevention_claimdata.shapecorners
9Added griefprevention_claimdata.modifieddate
10Current latestSchemaVersion

All migrations use ALTER TABLE … ADD COLUMN IF NOT EXISTS — zero-touch upgrade for existing database users.

Файлы

GriefPrevention3D.jar(907.48 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

18.2.0

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.8.8–26.2

Загрузок

19

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

01.07.2026

Загрузил

ID версии

Главная