Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Marko

GriefPrevention3D add-on that lets you set per-claim, per-world and server-wide flags.

Report GPFlags?

GPFlags (Folia port)

A Folia-compatible fork of GPFlags — the GriefPrevention/GriefPrevention3D add-on that lets you set per-claim, per-world and server-wide flags.

This fork keeps the original feature set, but reworks the internals so the plugin runs on Folia's regionized multithreaded architecture. It is designed to pair with GriefPrevention3D, the first GriefPrevention fork with Folia support, and has been tested together with GriefPrevention3D on Folia 26.1.2.

Requirements

Server Folia 26.1.2 (build 8) or newer
Java 25+
Hard dependency GriefPrevention3D (Folia-compatible GriefPrevention fork)/GriefPrevention
Soft dependencies mcMMO, Vault, MythicMobs, PlaceholderAPI

What changed from upstream

  • Scheduler migration — all BukkitScheduler / BukkitRunnable usage replaced with Folia's GlobalRegionScheduler and per-entity EntityScheduler, wrapped in a small util/FoliaScheduler helper.
  • Async teleports — every teleport goes through teleportAsync(), as required for cross-region teleports on Folia.
  • Thread safety — shared state moved to concurrent collections (ConcurrentHashMap, ConcurrentLinkedQueue); periodic player tasks collect on the global thread and delegate the actual work to each player's entity scheduler.
  • folia-supported: true declared in plugin.yml.
  • Built against folia-api 26.1.2.build.8-stable, compiled with Java 25.
  • Removed the EliteMobs flag and the bundled legacy bStats metrics class.
  • Added a new AllowAnvils flag.

Building

BUILD_NUMBER=local mvn clean package

The jar is produced at target/GPFlags-<version>.jar. Drop it into your server's plugins/ folder alongside GriefPrevention3D.

Usage

Commands, permissions and flag documentation are unchanged from upstream — see the original wiki and the Modrinth page.

License

Same license as upstream — see LICENSE. GPFlags and GriefPrevention are distributed under the GNU General Public License v3.0 (GPL-3.0); this Folia fork is released under the same GPL-3.0 license.

Credits

All credit for the original plugin goes to the upstream authors: Big_Scary, ShaneBee, DmitryRendov and contributors. This fork only adds Folia compatibility.

Information

CategoryProtection
Published onJune 7, 2026
LicenseGPL-3.0-or-later
Download1
Stars1
Watchers1
Addon
Library
Supports Folia

Pinned Versions

Members

Avatar for Marko

Marko

Owner