GPFlags
GPFlags is a powerful Minecraft addon that allows configuring various flags (rules) for territories protected by the GriefPrevention plugin. Unlike similar tools, this instrument gives administrators the ability to delegate flag management to players themselves - you can provide access to specific flags that they can apply only on their own plots.
GPFlags requires the GriefPrevention plugin to be installed.
Flag Capabilities
GPFlags arsenal includes over 80 different flags, and their number is constantly growing. If you're missing any specific flag, you can always contact the developer with a suggestion.
Complete list of available flags
| Flag | Description | |------|-------------| | AllowBlockExplosions | Allows block explosions in the territory. Unlike the standard GriefPrevention command, the setting persists after server restart. | | AllowInfest | Allows silverfish to infest blocks. | | AllowPvP | Enables PvP in specific areas if configured accordingly. Can set up notification when entering PvP zone. | | AllowWitherDamage | Allows withers to deal damage in the territory. | | BuyAccessTrust | Allows players to buy access to territory using /buyaccesstrust command. Price is set when configuring the flag. | | BuyContainerTrust | Enables purchasing container access via /buycontainertrust. | | BuyBuildTrust | Allows buying building rights with /buybuildtrust command. | | BuySubclaim | Allows purchasing subclaim, giving buyer full rights and blocking further purchases. | | ChangeBiome | Changes biome in the territory. Requires appropriate permission. When claim is deleted or flag is disabled, biome restores. | | CommandBlackList | Blocks execution of specified commands in the territory. Players with gpflags.bypass.commandblacklist right can bypass restriction. Example:/SetClaimFlag CommandBlackList sethome;setwarp;kit |
| CommandWhiteList | Allows only specified commands. Others are blocked except when player has gpflags.bypass.commandwhitelist right. Example: /SetClaimFlag CommandWhiteList tell;me;home |
| EnterActionbar | Shows text in action bar when entering zone. Available variables: %owner%, %name%. |
| EnterCommand | Executes console commands when player enters. Variables: %owner%, %name%, %uuid%. For multiple commands use semicolon. |
| EnterCommand-Owner | Runs console commands when owner enters their territory. |
| EnterCommand-Members | Executes commands when members enter. |
| EnterPlayerCommand | Similar to EnterCommand, but commands execute as player. |
| EnterMessage | Sends message to player when entering zone. |
| ExitActionbar | Shows text in action bar when exiting zone. |
| ExitCommand | Executes console commands when player exits. |
| ExitCommand-Owner | Runs commands when owner exits. |
| ExitCommand-Members | Executes commands when members exit. |
| ExitPlayerCommand | Similar to ExitCommand, but as player. |
| ExitMessage | Sends message when exiting zone. |
| HealthRegen | Restores player health in territory. For values above 1 requires special permission. |
| InfiniteArrows | Returns arrows to player after hitting target. |
| KeepInventory | Preserves player inventory after death in territory. |
| KeepLevel | Prevents experience loss on death. |
| KeepLoaded | Keeps territory constantly loaded. |
| NetherPortalConsoleCommand | Executes console commands when entering Nether portal. Example: /SetClaimFlag NetherPortalConsoleCommand tp %name% 0, 65, 0;xp 10L %name% |
| NetherPortalPlayerCommand | Runs commands as player when using portal. |
| NoAnvilDamage | Prevents anvil damage when used. Works only on Paper and its forks. |
| NoBlockFade | Protects blocks from disappearing or melting due to world conditions. |
| NoBlockForm | Blocks block formation and spreading (snow, ice, obsidian, etc.). |
| NoBlockGravity | Prevents falling of blocks like sand and gravel. |
| NoChorusFruit | Bans teleportation when eating chorus fruit. |
| NoCombatLoot | Disables mob loot drop on death. Useful for arenas where players keep inventory. |
| NoCoralDecay | Prevents coral decay. |
| NoCropTrampling | Protects crops from trampling. |
| NoElytra | Bans elytra usage. |
| NoEnderPearl | Blocks teleportation with ender pearl. |
| NoEnter | Bans all players from entering territory. |
| NoEnterPlayer | Blocks entry for specific players. |
| NoExpiration | Disables claim expiration. |
| NoExplosionDamage | Protects from explosion damage (creepers, TNT). |
| NoFallDamage | Disables fall damage. |
| NoFireDamage | Prevents fire damage to blocks. Requires enabled FireDamage setting in GP. |
| NoFireSpread | Stops fire spread. Requires enabled FireSpread setting in GP. |
| NoFlight | Bans flight in territory. |
| NoFluidFlow | Stops fluid flow. |
| NoGrowth | Blocks plant growth and block spreading. |
| NoHunger | Disables hunger decrease. |
| NoIceForm | Prevents ice formation. |
| NoItemDamage | Protects items from durability loss. |
| NoItemDrop | Bans item dropping. |
| NoItemPickup | Blocks item pickup. |
| NoLeafDecay | Prevents leaf decay. |
| NoLootProtection | Disables loot protection on player death. Useful for PvP arenas. |
| NoMapMaking | Bans map creation. |
| NoMcMMODeathPenalty | Cancels McMMO death penalties. |
| NoMcMMOSkills | Blocks McMMO skill usage. |
| NoMcMMoXPGain | Disables McMMO experience gain. |
| NoMobDamage | Protects mobs from damage (except players). |
| NoMobSpawns | Completely disables mob spawn. |
| NoMobSpawnsType | Blocks spawn of specific mob types. Example: /setclaimflag NoMobSpawnsType creeper;cow;zombie |
| NoMonsters | Bans hostile mob appearance and removes them when entering zone. |
| NoMonsterSpawns | Blocks hostile mob spawn but doesn't prevent them from entering from outside. |
| NoOpenDoors | Bans opening doors, gates and trapdoors. Owners and members with access can bypass restriction. |
| NoPetDamage | Protects pets from damage. |
| NoPlayerCropTrampling | Prevents crop trampling by players. |
| NoPlayerDamage | Completely protects players from damage. |
| NoPlayerDamageByMonster | Protects from damage by mobs. |
| NoSnowForm | Prevents snow formation. |
| NoVehicle | Bans vehicle usage and placement. |
| NoVineGrowth | Stops vine growth. |
| NoWeatherChange | Disables weather change in world. Recommended to use only with /setserverflag or /setworldflag. |
| NotifyEnter | Notifies owner about player entry. |
| NotifyExit | Notifies about player exit. |
| OwnerFly | Allows owner to fly in their territory. |
| OwnerMemberFly | Allows flying for owner and members with access. |
| PermissionFly | Allows flight for players with specific permission. |
| PlayerTime | Sets personal time for player in territory. Example: /setclaimflag playertime day |
| PlayerWeather | Configures weather for player. Example: /setclaimflag playerweather sun |
| ProtectNamedMobs | Protects named mobs from damage by visitors. |
| RaidMemberOnly | Prevents raid triggering by non-members. |
| ReadLecterns | Allows reading books on lecterns without ability to modify them. |
| RespawnLocation | Sets respawn point for territory. Example: /SetFlag RespawnLocation world 112.5 68 265.5 |
| SpawnReasonWhitelist | Allows mob spawn only for specified reasons. |
| SpleefArena | Automates spleef arena creation. Example: /SetFlag SpleefArena minecraft:snow_block minecraft:bricks 20 |
| TrappedDestination | Configures exit point for /trapped command in administrative territories. |
| ViewContainers | Allows viewing container contents without ability to modify them. |
Management Commands
For Players
- /setclaimflag and /unsetclaimflag - setting and removing flags on own territories
- /listclaimflags - viewing active flags in current location
- /allflags - list of all available flags
- /gpflags help - help information
For Administrators
- /setworldflag and /unsetworldflag - flags for entire world
- /setserverflag and /unsetserverflag - global flags
- /setdefaultclaimflag and /unsetdefaultclaimflag - default flags for all territories
- /setclaimflagplayer and /unsetclaimflagplayer - flags for specific player
- /bulksetflag and /bulkunsetflag - mass flag setting
- /gpflags reload - configuration reload
- /gpflags debug - debug information
Permission System
Flag Permissions
Using each flag requires corresponding permission in format gpflags.flag.<flag_name>. For example, gpflags.flag.noenter allows applying no-entry flag.
Bypass Restrictions
Some flags can be bypassed with special rights. Format: gpflags.bypass.<flag_name>.<trust_level>
Available trust levels:
- access - territory access
- inventory - container access
- build - building rights
- manage - territory management
- ownclaim - territory ownership
- adminclaim - administrative territories
- nonclaim - world and server flags
For example, gpflags.bypass.novehicle.ownclaim allows bypassing vehicle ban on own territories.