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/BukkitRunnableusage replaced with Folia'sGlobalRegionSchedulerand per-entityEntityScheduler, wrapped in a smallutil/FoliaSchedulerhelper. - 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: truedeclared inplugin.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
AllowAnvilsflag.
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
| Category | Protection |
|---|---|
| Published on | June 7, 2026 |
| License | GPL-3.0-or-later |
| Download | 1 |
| Stars | 1 |
| Watchers | 1 |