Flag Definition
# Overview
The flag definition system provides both users and admins the ability to manage their claim flags with ease. GriefDefender delivers a bundle of flag definitions by default to provide the best compatibility across servers. The delivered vanilla flag definition data can be found in the following location
# Sponge
./config/GriefDefender/presets/minecraft.conf
# Bukkit
./plugins/GriefDefender/presets/minecraft.conf
Admins are given full control to add/remove/customize flag definitions.
To add a flag definition to an existing delivered minecraft preset, open the ./presets/minecraft.conf
file.
Within this section, you will see 2 delivered groups admin
and user
.
All flag definitions located within the admin
group are accessible by only admins. This is due to the admin-group
setting be set to true
.
All flag definitions located within the user
group are accessible by all users.
You can add/remove/move flag definitions as you please and even create new preset files from scratch which will get read when GUI is loaded.
# Add new flag definition
If you want to add a flag to the 'admin' section, do the following
- Clone an existing flag definition. We will use
ambient-spawn
for this example.
ambient-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
permissions=[
"flag=entity-spawn, target=#ambient"
]
}
2
3
4
5
6
7
8
9
10
Lets break this example down
# Name
ambient-spawn
- This is the name of your definition that will be displayed to users when they open it up in the flag GUI. It can be whatever you like.
Note: These are not actual GD core flags but rather a flag definition
and cannot be used with the /cf
command. If you want to toggle a flag definition with a command then use /claimflagdefinition
or /gd flag definition
# Contexts
contexts=[
"gd_claim_default=user"
]
2
3
These are the definition contexts that will be used with all permissions defined within permissions=[...]
.
It currently only supports context keys gd_claim_default
, gd_claim_override
, or gd_claim
.
See https://github.com/bloodmc/GriefDefender/wiki/Contexts to learn how contexts work.
Note: These contexts do NOT apply in GUI. It is only used during server startup. GUI will always apply flags to the claim player is standing in.
# Default value
default-value=true
- This is the default-value GD will use when applying the definition during startup.
GD will only apply this value during startup as a transient permission if the contexts include either gd_claim_default
or gd_claim_override
.
If the definition does not contain one of these contexts then the default value is ignored.
# Enabled
enabled=true
- This controls whether the definition is enabled in GD or disabled. If set to false
, the definition will be ignored.
# Permissions
permissions=[
"flag=entity-spawn, target=#ambient"
]
2
3
These are the flag permissions to assign this definition. Permissions can hold one or more flag entries. To add an additional line, add a ,
at end of previous then insert a new line.
Each line requires a flag=<flag_name>
entry followed by either source or target context.
If you want to apply a permission to all possible targets then don't include target
as GD will automatically apply to all targets.
If you want to apply a permission to all possible sources then don't include source
as GD will automatically apply to all sources.
The most common contexts for permissions are as follows
source
target
used_item
item_name
server
state
world
2
3
4
5
6
7
The accepted context value must be a valid identifier. To locate the proper value in game, do the following
- Run command
/gddebug record claim
- This will start a debug session in the claim you are in. - Perform an action you want to manage via flag definition.
- Run command
/gddebug paste
- This will display a web link to view debug results. - Open link, and you will see a list of actions GD checked for the claim. You will a
source
andtarget
column which will contain the values you need.
To locate a value for used_item
or any other context, locate the Context column and you will see a list of all support contexts for the specific line action.
Another way to find an id you are looking for is to check a community run wiki for it
See https://minecraft-ids.grahamedgecombe.com/
# Minecraft Flag Definition Preset Config
For more information on what you can do with the flags config, see below
Minecraft Preset
# A collection of flag definitions designed for vanilla minecraft.
# Each group defined will be displayed in the flag GUI for users.
# Groups can have the following settings :
# enabled=<true|false>: Whether the group is enabled.
# admin-group=<true|false>: Whether this group is considered for admin use only.
# Note: GUI toggles in PRESETS will always apply to current claim only.
# Note: If you assign users the permission 'griefdefender.admin.advanced-flags', they will be able to access admin presets within the claim tab.
# It is recommended not to assign this permission to users for best experience.
# value=<true|false>: This is used to set a default value for the flag definition. It is only used in conjunction with 'override=<type>, default=<type> settings.
# contexts=["key=value"]: A list of definition contexts that will be applied to all permissions.
# Note: This is primary used with 'default' and 'override' contexts. Ex. contexts=["default=global"]
# Note: You must specify one of the following contexts :'gd_claim_default=<type>' or 'gd_claim_override=<type>''
# Note: Context values support wildcards '?' and '*' by using Apache's wildcard matcher.
# The wildcard '?' represents a single character.
# The wildcard '*' represents zero or more characters.
# Each group will have an associated permission in order to be viewable.
# The user groups will use the permission : 'griefdefender.user.custom.flag.<preset>.<group>
# The admin groups will use the permission : 'griefdefender.admin.custom.flag.<preset>.<group>
# Within each group, you can define flag definitions.
# Each flag definition must be defined in the following format:
# enabled: Controls whether the definition is enabled. Accepts a value of 'true' or 'false'
# default-value: The default value to assign flag definition.
# description: The flag description to display on hover. Uses the legacy text format.
# permissions: The list of permissions to link to definition. Permissions can accept various contexts such as :
# flag=<linked-flag>: This context is used to link the permission to a GD specific flag. Ex. 'flag=block-break' would link permission to GD's block-break flag
# source=<id>: This context is used to specify a source id such as 'minecraft:creeper'.
# target=<id>: This context is used to specify a target id such as 'minecraft:chest'.
# state=<properties>: This context is used to specify a blockstate property such as 'state=lit:true'.
# Note: All flag definitions that contain a definition context of 'gd_claim_default' or 'gd_claim_override' will be applied to permissions during server startup.
# Note: Required if no source or target context is specified, the permission will default to ALL.
# Note: Commonly used contexts are : flag, source, target, state, used_item, item_name, world, server
# These contexts may change, See https://github.com/bloodmc/GriefDefender/wiki/Contexts for latest information.
minecraft {
enabled=true
groups {
admin {
# Set to true if this flag group is for admin use only.
# Note: If admin group, the permission is 'griefdefender.admin.custom.flag.<groupname>
# Note: If user group (admin set false), the permission is 'griefdefender.user.custom.flag.<groupname>
admin-group=true
definitions {
ambient-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:bat_spawn_egg"
title="&6ambient-spawn"
}
permissions=[
"flag=entity-spawn, target=#ambient"
]
}
animal-block-modify {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:chorus_plant"
title="&6animal-block-modify"
}
permissions=[
"flag=block-break, source=#animal",
"flag=block-modify, source=#animal"
]
}
animal-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:pig_spawn_egg"
title="&6animal-spawn"
}
permissions=[
"flag=entity-spawn, target=#animal"
]
}
aquatic-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:squid_spawn_egg"
title="&6aquatic-spawn"
}
permissions=[
"flag=entity-spawn, target=#aquatic"
]
}
armorstand-use {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:armor_stand"
title="&6armorstand-use"
}
permissions=[
"flag=interact-item-secondary, target=minecraft:armor_stand, source=minecraft:player",
"flag=entity-damage, target=minecraft:armor_stand, source=minecraft:player",
"flag=interact-entity-secondary, target=minecraft:armor_stand, source=minecraft:player",
"flag=interact-inventory, target=minecraft:armor_stand, source=minecraft:player"
]
}
chorus-fruit-teleport {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:chorus_fruit"
title="&6chorus-fruit-teleport"
}
permissions=[
"flag=item-use, target=minecraft:chorus_fruit, source=minecraft:player"
]
}
commandblock-block-break {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:command_block"
title="&6commandblock-block-break"
}
permissions=[
"flag=block-break, source=minecraft:command_block, source=minecraft:chain_command_block, source=minecraft:repeating_command_block"
]
}
commandblock-block-place {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:command_block"
title="&6commandblock-block-place"
}
permissions=[
"flag=block-place, source=minecraft:command_block, source=minecraft:chain_command_block, source=minecraft:repeating_command_block"
]
}
creeper-block-explosion {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:creeper_head"
title="&6creeper-block-explosion"
}
permissions=[
"flag=explosion-block, source=minecraft:creeper"
]
}
creeper-entity-explosion {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:creeper_head"
title="&6creeper-entity-explosion"
}
permissions=[
"flag=explosion-entity, source=minecraft:creeper"
]
}
endcrystal-use {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:end_crystal"
title="&6endcrystal-use"
}
permissions=[
"flag=projectile-impact-entity, target=minecraft:end_crystal, source=minecraft:arrow, source=minecraft:player",
"flag=interact-item-secondary, target=minecraft:end_crystal, source=minecraft:arrow, source=minecraft:player",
"flag=entity-damage, target=minecraft:end_crystal, source=minecraft:arrow, source=minecraft:player",
"flag=interact-entity-secondary, target=minecraft:end_crystal, source=minecraft:arrow, source=minecraft:player"
]
}
entity-armorstand-damage {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=true
id="minecraft:armor_stand"
title="&6entity-armorstand-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:armor_stand, source=minecraft:player",
"flag=projectile-impact-entity, target=minecraft:armor_stand, source=minecraft:player"
]
}
entity-itemframe-damage {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=true
id="minecraft:item_frame"
title="&6entity-itemframe-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:glow_item_frame, target=minecraft:item_frame",
"flag=projectile-impact-entity, target=minecraft:glow_item_frame, target=minecraft:item_frame"
]
}
exp-drop {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:experience_bottle"
title="&6exp-drop"
}
permissions=[
"flag=entity-spawn, target=minecraft:xp_orb"
]
}
fall-entity-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=true
id="minecraft:feather"
title="&6fall-player-damage"
}
permissions=[
"flag=entity-damage, source=minecraft:fall"
]
}
fall-player-damage {
contexts=[
"gd_claim_override=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:feather"
title="&6fall-player-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:player, source=minecraft:fall"
]
}
falling-block-break {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:sand"
title="&6falling-block-break"
}
permissions=[
"flag=block-break, source=minecraft:fall"
]
}
fire-block-damage {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:magma_block"
title="&6fire-block-damage"
}
permissions=[
"flag=block-break, source=minecraft:fire"
]
}
fire-entity-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:magma_cream"
title="&6fire-entity-damage"
}
permissions=[
"flag=entity-damage, source=minecraft:fire",
"flag=entity-damage, source=minecraft:fire_tick",
"flag=entity-damage, source=minecraft:magma_block",
"flag=entity-damage, source=minecraft:lava"
]
}
lead-interact {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:lead"
title="&6lead-interact"
}
permissions=[
"flag=interact-item-secondary, target=minecraft:lead, source=minecraft:player",
"flag=interact-entity-secondary, target=minecraft:leash_knot, source=minecraft:player"
]
}
lightning-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:dead_bush"
title="&6lightning-damage"
}
permissions=[
"flag=entity-damage, source=minecraft:lightning_bolt"
]
}
monster-animal-damage {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:skeleton_skull"
title="&6monster-animal-damage"
}
permissions=[
"flag=entity-damage, source=#monster, target=#animal",
"flag=entity-damage, source=#monster, target=#aquatic",
"flag=projectile-impact-entity, source=#monster, target=#aquatic"
]
}
monster-player-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:zombie_head"
title="&6monster-player-damage"
}
permissions=[
"flag=entity-damage, source=#monster, target=minecraft:player",
"flag=projectile-impact-entity, source=#monster, target=minecraft:player"
]
}
monster-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:zombie_spawn_egg"
title="&6monster-spawn"
}
permissions=[
"flag=entity-spawn, target=#monster"
]
}
piston-item-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:piston"
title="&6piston-item-spawn"
}
permissions=[
"flag=item-spawn, source=minecraft:piston",
"flag=item-spawn, source=minecraft:sticky_piston"
]
}
piston-use {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:sticky_piston"
title="&6piston-use"
}
permissions=[
"flag=block-break, source=minecraft:piston",
"flag=block-place, source=minecraft:piston",
"flag=block-break, source=minecraft:sticky_piston",
"flag=block-place, source=minecraft:sticky_piston"
]
}
player-block-break {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:diamond_pickaxe"
title="&6player-block-break"
}
permissions=[
"flag=block-break, source=minecraft:player"
]
}
player-block-interact {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:stone_button"
title="&6player-block-interact"
}
permissions=[
"flag=interact-block-secondary, source=minecraft:player"
]
}
player-block-place {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:grass_block"
title="&6player-block-place"
}
permissions=[
"flag=block-place, source=minecraft:player"
]
}
player-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:cactus"
title="&6player-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:player",
"flag=projectile-impact-entity, target=minecraft:player"
]
}
player-damage-pillager {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:red_banner"
title="&6player-damage"
}
permissions=[
"flag=entity-damage, source=minecraft:player, target=minecraft:pillager",
"flag=projectile-impact-entity, source=minecraft:player, target=minecraft:pillager",
"flag=entity-damage, source=minecraft:arrow, target=minecraft:pillager",
"flag=projectile-impact-entity, source=minecraft:arrow, target=minecraft:pillager"
]
}
player-enderpearl-interact {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:ender_pearl"
title="&6player-enderpearl-interact"
}
permissions=[
"flag=interact-item-secondary, source=minecraft:player, target=minecraft:ender_pearl"
]
}
player-endportal-use {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:end_portal_frame"
title="&6player-endportal-use"
}
permissions=[
"flag=entity-teleport-from, source=minecraft:end_portal, target=minecraft:player"
]
}
player-entity-interact {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:carrot_on_a_stick"
title="&6player-entity-interact"
}
permissions=[
"flag=interact-entity-secondary, source=minecraft:player"
]
}
player-exit {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:iron_door"
title="&6player-exit"
}
permissions=[
"flag=exit-claim, source=minecraft:player"
]
}
player-item-drop {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:dropper"
title="&6player-item-drop"
}
permissions=[
"flag=item-drop, source=minecraft:player"
]
}
player-item-pickup {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:hopper"
title="&6player-item-pickup"
}
permissions=[
"flag=item-pickup, source=minecraft:player"
]
}
player-itemframe-interact {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:item_frame"
title="&6player-itemframe-interact"
}
permissions=[
"flag=interact-entity-secondary, target=minecraft:glow_item_frame, target=minecraft:item_frame, source=minecraft:player"
]
}
player-itemhanging-place {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:item_frame"
title="&6player-itemhanging-place"
}
permissions=[
"flag=interact-item-secondary, target=#hanging, source=minecraft:player"
]
}
player-monster-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:zombie_head"
title="&6monster-player-damage"
}
permissions=[
"flag=entity-damage, target=#monster, source=minecraft:player",
"flag=projectile-impact-entity, target=#monster, source=minecraft:player"
]
}
player-netherportal-use {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:obsidian"
title="&6player-netherportal-use"
}
permissions=[
"flag=entity-teleport-from, source=minecraft:nether_portal, target=minecraft:player"
]
}
player-teleport-from {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:magenta_glazed_terracotta"
title="&6entity-itemframe-damage"
}
permissions=[
"flag=entity-teleport-from, target=minecraft:player"
]
}
player-teleport-to {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=true
id="minecraft:magenta_glazed_terracotta"
title="&6entity-itemframe-damage"
}
permissions=[
"flag=entity-teleport-to, target=minecraft:player"
]
}
player-villager-damage {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:tripwire_hook"
title="&6player-villager-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:villager, source=minecraft:player",
"flag=projectile-impact-entity, target=minecraft:villager, source=minecraft:player"
]
}
ravager-block-break {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:ravager_spawn_egg"
title="&6ravager-block-break"
}
permissions=[
"flag=block-break, source=minecraft:ravager"
]
}
safarinet-use {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:ghast_spawn_egg"
title="&6safarinet-use"
}
permissions=[
"flag=interact-item-secondary, target=minecraft:ghast_spawn_egg, source=minecraft:player"
]
}
silverfish-block-infest {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:infested_cobblestone"
title="&6fall-player-damage"
}
permissions=[
"flag=block-modify, source=minecraft:silverfish"
]
}
tnt-block-explosion {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:tnt"
title="&6tnt-block-explosion"
}
permissions=[
"flag=explosion-block, source=minecraft:tnt"
]
}
tnt-entity-explosion {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:tnt"
title="&6tnt-entity-explosion"
}
permissions=[
"flag=explosion-entity, source=minecraft:tnt"
]
}
turtle-egg-hatch {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:egg"
title="&6turtle-egg-hatch"
}
permissions=[
"flag=block-place, source=minecraft:turtle, target=minecraft:turtle_egg",
"flag=block-break, source=minecraft:turtle_egg, target=minecraft:turtle_egg"
]
}
villager-farm {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:composter"
title="&6villager-farm"
}
permissions=[
"flag=block-break, source=minecraft:villager, target=#crops",
"flag=block-place, source=minecraft:villager, target=#crops"
]
}
villager-trade {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:emerald"
title="&6villager-trade"
}
permissions=[
"flag=interact-entity-secondary, target=minecraft:villager, source=minecraft:player"
]
}
wither-block-break {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:wither_skeleton_skull"
title="&6wither-block-break"
}
permissions=[
"flag=block-break, source=minecraft:wither"
]
}
wither-entity-damage {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:nether_star"
title="&6wither-entity-damage"
}
permissions=[
"flag=entity-damage, source=minecraft:wither"
]
}
}
# Whether flag definition group is enabled.
enabled=true
icon {
enchanted=false
id="minecraft:enchanted_golden_apple"
title="&cAdmin"
}
}
user {
# Set to true if this flag group is for admin use only.
# Note: If admin group, the permission is 'griefdefender.admin.custom.flag.<groupname>
# Note: If user group (admin set false), the permission is 'griefdefender.user.custom.flag.<groupname>
admin-group=false
definitions {
block-fertilize {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:bone_meal"
title="&6block-fertilize"
}
permissions=[
"flag=block-grow, used_item=minecraft:bone_meal, target=#crops, source=minecraft:player",
"flag=block-grow, used_item=minecraft:bone_meal, target=#plants, source=minecraft:player"
]
}
block-trampling {
contexts=[
"gd_claim_override=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:dirt"
title="&6block-trampling"
}
permissions=[
"flag=collide-block, target=minecraft:turtle_egg, target=minecraft:farmland"
]
}
chest-access {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:chest"
title="&6chest-access"
}
permissions=[
"flag=interact-block-secondary, target=minecraft:chest, source=minecraft:player",
"flag=interact-inventory, target=minecraft:chest, source=minecraft:player"
]
}
collide-pixelmon-grass {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=collide-block, target=pixelmon:pixelmon_grass, source=minecraft:player"
]
}
crop-growth {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:wheat"
title="&6crop-growth"
}
permissions=[
"flag=block-grow, target=#crops"
]
}
damage-animals {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:mutton"
title="&6damage-animals"
}
permissions=[
"flag=entity-damage, target=#animal",
"flag=projectile-impact-entity, target=#animal"
]
}
enderman-grief {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:ender_eye"
title="&6enderman-grief"
}
permissions=[
"flag=block-break, source=minecraft:enderman",
"flag=block-place, source=minecraft:enderman"
]
}
fire-spread {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:blaze_powder"
title="&6fire-spread"
}
permissions=[
"flag=block-spread, source=minecraft:fire",
"flag=block-spread, source=minecraft:lava"
]
}
grass-growth {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:tall_grass"
title="&6grass-growth"
}
permissions=[
"flag=block-grow, target=minecraft:grass"
]
}
ice-form {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:packed_ice"
title="&6ice-form"
}
permissions=[
"flag=block-modify, target=minecraft:ice"
]
}
ice-melt {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:blue_stained_glass"
title="&6ice-melt"
}
permissions=[
"flag=block-modify, target=minecraft:water, source=minecraft:ice"
]
}
interact-with-chattingnpc {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:chattingnpc, source=minecraft:player"
]
}
interact-with-endtable {
contexts=[
"gd_claim_default=global"
]
default-value=false
enabled=true
permissions=[
"flag=interact-block-secondary, source=minecraft:player, target=pixelmon:end_table",
"flag=interact-inventory, source=minecraft:player, target=pixelmon:end_table"
]
}
interact-with-fridge {
contexts=[
"gd_claim_default=global"
]
default-value=false
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:fridge, source=minecraft:player",
"flag=interact-inventory, target=pixelmon:fridge, source=minecraft:player"
]
}
interact-with-healer {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:healer, source=minecraft:player"
]
}
interact-with-move-relearner {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:relearner, source=minecraft:player"
]
}
interact-with-move-tutor {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:tutor, source=minecraft:player"
]
}
interact-with-nurses {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:nursejoy, source=minecraft:player"
]
}
interact-with-old-fisherman {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:oldfisherman, source=minecraft:player"
]
}
interact-with-shopkeepers {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:shopkeeper, source=minecraft:player"
]
}
interact-with-traders {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-entity-secondary, target=pixelmon:trader, source=minecraft:player"
]
}
lava-flow {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:lava_bucket"
title="&6lava-flow"
}
permissions=[
"flag=liquid-flow, source=minecraft:lava, target=minecraft:air"
]
}
leaf-decay {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:oak_leaves"
title="&6leaf-decay"
}
permissions=[
"flag=leaf-decay"
]
}
lighter {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:flint_and_steel"
title="&6lighter"
}
permissions=[
"flag=interact-item-secondary, target=minecraft:flint_and_steel, source=minecraft:player"
]
}
monster-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:zombie_spawn_egg"
title="&6monster-spawn"
}
permissions=[
"flag=entity-spawn, target=#monster"
]
}
mushroom-growth {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:brown_mushroom_block"
title="&6mushroom-growth"
}
permissions=[
"flag=block-grow, target=#mushroom"
]
}
mycelium-spread {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:mycelium"
title="&6mycelium-spread"
}
permissions=[
"flag=block-spread, target=minecraft:mycelium"
]
}
occupied-pokeball-usage {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=projectile-impact-block, source=pixelmon:occupied_pokeball",
"flag=projectile-impact-entity, source=pixelmon:occupied_pokeball, target=pixelmon:any",
"flag=entity-spawn, source=pixelmon:occupied_pokeball, target=#pixelmon:animal"
]
}
painting-damage {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:painting"
title="&6painting-damage"
}
permissions=[
"flag=entity-damage, target=minecraft:painting"
]
}
phantom-spawn {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:phantom_membrane"
title="&6phantom-spawn"
}
permissions=[
"flag=entity-spawn, target=minecraft:phantom"
]
}
player-button-interact {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:stone_button"
title="&6player-button-interact"
}
permissions=[
"flag=interact-block-secondary, target=minecraft:button, source=minecraft:player"
]
}
player-enter {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:oak_door"
title="&6player-enter"
}
permissions=[
"flag=enter-claim, source=minecraft:player"
]
}
player-item-drop {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:dropper"
title="&6player-item-drop"
}
permissions=[
"flag=item-drop, source=minecraft:player"
]
}
player-item-pickup {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:hopper"
title="&6player-item-pickup"
}
permissions=[
"flag=item-pickup, source=minecraft:player"
]
}
poke-spawn {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=entity-spawn, target=#pixelmon:animal"
]
}
pvp {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:diamond_sword"
title="&6pvp"
}
permissions=[
"flag=entity-damage, target=minecraft:player, source=minecraft:player",
"flag=projectile-impact-entity, target=minecraft:player, source=minecraft:player"
]
}
ride {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:saddle"
title="&6ride"
}
permissions=[
"flag=entity-riding, target=#vehicle, source=minecraft:player",
"flag=interact-entity-secondary, target=#vehicle, source=minecraft:player"
]
}
sign-use {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:oak_sign"
title="&6sign-use"
}
permissions=[
"flag=interact-block-primary, target=#signs, source=minecraft:player",
"flag=interact-block-secondary, target=#signs, source=minecraft:player"
]
}
sleep {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:red_bed"
title="&6sleep"
}
permissions=[
"flag=interact-block-secondary, target=#beds, source=minecraft:player",
"flag=interact-item-secondary, target=#beds, source=minecraft:player"
]
}
snow-fall {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:snowball"
title="&6snow-fall"
}
permissions=[
"flag=block-place, target=minecraft:snow, source=minecraft:air"
]
}
snow-melt {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:snow_block"
title="&6snow-melt"
}
permissions=[
"flag=block-break, source=minecraft:snow"
]
}
snowman-trail {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:snow"
title="&6snowman-trail"
}
permissions=[
"flag=block-place, source=minecraft:snow_golem, target=minecraft:snow"
]
}
soil-dry {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:farmland"
title="&6soil-dry"
}
permissions=[
"flag=block-modify, source=minecraft:farmland, state=moisture:0"
]
}
throw-any-pokeball {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=projectile-impact-block, source=pixelmon:empty_pokeball",
"flag=projectile-impact-entity, source=pixelmon:empty_pokeball"
]
}
use-cushion-chairs {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:red_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:yellow_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:green_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:pink_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:blue_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:black_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:gray_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:cyan_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:white_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:brown_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:orange_cushion_chair, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:purple_cushion_chair, source=minecraft:player"
]
}
use-fossil-cleaner {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:fossil_cleaner, source=minecraft:player"
]
}
use-fossil-machines {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:fossil_machine, source=minecraft:player"
]
}
use-pc {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:pc, source=minecraft:player"
]
}
use-trade-machines {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:trade_machine, source=minecraft:player"
]
}
use-vending-machines {
contexts=[
"gd_claim_default=global"
]
default-value=true
enabled=true
permissions=[
"flag=interact-block-secondary, target=pixelmon:pink_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:blue_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:green_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:orange_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:red_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:yellow_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, source=minecraft:player, target=pixelmon:brown_vending_machine",
"flag=interact-block-secondary, target=pixelmon:white_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:gray_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:black_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:cyan_vending_machine, source=minecraft:player",
"flag=interact-block-secondary, target=pixelmon:purple_vending_machine, source=minecraft:player"
]
}
vehicle-use {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:oak_boat"
title="&6vehicle-use"
}
permissions=[
"flag=interact-item-secondary, target=minecraft:minecart, target=#vehicle, target=#boats, source=minecraft:player",
"flag=entity-damage, target=minecraft:minecart, target=minecraft:boat, target=#vehicle, source=minecraft:player",
"flag=entity-riding, target=minecraft:minecart, target=minecraft:boat, target=#vehicle, source=minecraft:player",
"flag=interact-entity-secondary, target=minecraft:minecart, target=minecraft:boat, target=#vehicle, source=minecraft:player"
]
}
villager-trade {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:emerald"
title="&6villager-trade"
}
permissions=[
"flag=interact-entity-secondary, target=minecraft:villager, source=minecraft:player"
]
}
vine-growth {
contexts=[
"gd_claim_default=user"
]
default-value=true
enabled=true
icon {
enchanted=false
id="minecraft:vine"
title="&6vine-growth"
}
permissions=[
"flag=block-grow, target=minecraft:vine"
]
}
water-flow {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:water_bucket"
title="&6water-flow"
}
permissions=[
"flag=liquid-flow, source=minecraft:water, target=minecraft:air"
]
}
work-station-access {
contexts=[
"gd_claim_default=user"
]
default-value=false
enabled=true
icon {
enchanted=false
id="minecraft:crafting_table"
title="&6work-station-access"
}
permissions=[
"flag=interact-block-secondary, target=minecraft:crafting_table, source=minecraft:player",
"flag=interact-inventory, target=minecraft:crafting_table, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:anvil, source=minecraft:player",
"flag=interact-inventory, target=minecraft:anvil, source=minecraft:player",
"flag=interact-block-secondary, source=minecraft:player, target=minecraft:brewing_stand",
"flag=interact-inventory, source=minecraft:player, target=minecraft:brewing_stand",
"flag=interact-block-secondary, target=minecraft:cartography_table, source=minecraft:player",
"flag=interact-inventory, target=minecraft:cartography_table, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:smithing_table, source=minecraft:player",
"flag=interact-inventory, target=minecraft:smithing_table, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:enchanting_table, source=minecraft:player",
"flag=interact-inventory, target=minecraft:enchanting_table, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:grindstone, source=minecraft:player",
"flag=interact-inventory, target=minecraft:grindstone, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:loom, source=minecraft:player",
"flag=interact-inventory, target=minecraft:loom, source=minecraft:player",
"flag=interact-block-secondary, target=minecraft:stonecutter, source=minecraft:player",
"flag=interact-inventory, target=minecraft:stonecutter, source=minecraft:player",
"flag=interact-block-secondary, source=minecraft:player, target=minecraft:ender_chest",
"flag=interact-inventory, source=minecraft:player, target=minecraft:ender_chest"
]
}
}
# Whether flag definition group is enabled.
enabled=true
icon {
enchanted=false
id="minecraft:apple"
title="&aUser"
}
}
}
icon {
enchanted=false
id="minecraft:light_blue_shulker_box"
title="&dminecraft"
}
version="1.0"
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
# GUI
The flag GUI is designed to allow both users and admins to easily administer their claim flags.
The command to access the flags GUI is /cf
or /gd flag claim
With GD 2.0, all flag definitions can be applied to two types of players : PUBLIC and OWNER.
PUBLIC
- When toggling a flag definition within PUBLIC
in GUI, all non-trusted players will be affected.
OWNER
- When toggling a flag definition within OWNER
in GUI, all trusted players including owner will be affected.
# Permissions
The following permission controls the user's ability to toggle flag definitions in GUI
griefdefender.user.custom.flag.<preset>.<group>.<flagname>
As an example, lets assume you want to deny user access to toggle the damage-animals
flag in GUI.
You would enter the following in LuckPerms
/lp group <groupname> permission set griefdefender.user.custom.flag.minecraft.user.damage-animals false
# Flag Values
As shown below, both admin/user flags start off as either true
or false
and will represent the current active value of claim you are in.
# ADMIN
⚠️ Admin flags will ONLY affect the claim you are in.
By default, admins have access to 2 modes PRESET
and ADVANCED
.
The PRESET
mode is directly linked to the minecraft flag definitions preset file. Each group is read into the GUI as a tab along with its definitions.
There are 2 delivered groups that GD ships with, USER
and ADMIN
.
Both groups will apply flags to claim you are standing in. If you need flags set as a default, set it up in config as shown above.
Flag Definition | Default Value | Description |
---|---|---|
ambient-spawn | true | Controls whether ambients, such as bats, spawn. |
animal-block-modify | true | Controls whether animals can modify blocks such as rabbits eating carrots. |
animal-spawn | true | Controls whether animals, such as cows/pigs/horses/etc., spawn. |
aquatic-spawn | true | Controls whether aquatics that live in water, such as squids, spawn. |
armorstand-use | false | Controls whether armorstands can be placed or broken. |
block-trampling | false | Controls whether farmland and turtle eggs can be trampled. |
chorus-fruit-teleport | false | Controls whether a player can use chorus fruit to teleport. |
commandblock-block-break | false | Controls whether command blocks can break blocks. |
commandblock-block-place | false | Controls whether command blocks can place blocks. |
creeper-block-explosion | false | Controls whether a creeper can explode blocks. |
creeper-entity-explosion | false | Controls whether a creeper can explode entities. |
endcrystal-use | false | Controls whether endcrystals can be placed or broken. |
entity-armorstand-damage | false | Controls whether entities can deal damage to armorstands. |
entity-itemframe-damage | false | Controls whether entities can deal damage to item frames. |
exp-drop | true | Controls whether experience orbs can drop. |
fall-entity-damage | true | Controls whether entities can take fall damage. |
fall-player-damage | true | Controls whether players can take fall damage. |
falling-block-break | true | Controls whether falling blocks can break. |
fire-block-damage | true | Controls whether fire can cause block damage. |
fire-entity-damage | true | Controls whether fire can cause entity damage. |
lightning-damage | true | Controls whether lightning can cause harm. |
monster-animal-damage | false | Controls whether monsters can deal damage to animals. |
monster-player-damage | true | Controls whether monsters can deal damage to players. |
monster-spawn | true | Controls whether monsters, such as creepers and skeletons, can spawn. |
piston-item-spawn | true | Controls whether mycelium can spread. |
piston-use | false | Controls whether pistons can be used. |
player-block-break | false | Controls whether players can break blocks. |
player-block-interact | false | Controls whether players can interact with blocks. Note: This does not include inventory blocks such as chests. |
player-block-place | false | Controls whether players can place blocks. |
player-damage | true | Controls whether players can be damaged. |
player-enderpearl-interact | true | Controls whether players can use an enderpearl. |
player-endportal-use | true | Controls whether players can use end portal. |
player-entity-interact | true | Controls whether players can interact with entities. Note: This does not include chest access with entities such as horses. |
player-enter | true | Controls whether a player can enter this claim. |
player-exit | true | Controls whether a player can exit this claim. |
player-item-drop | true | Controls whether players can drop items. |
player-item-pickup | true | Controls whether players can pickup items. |
player-itemframe-interact | false | Controls whether players can interact with item frames. |
player-itemhanging-place | false | Controls whether players can place hanging items such as itemframes. |
player-netherportal-use | true | Controls whether players can use nether portal. |
player-teleport-from | true | Controls whether players can teleport from this claim. |
player-teleport-to | true | Controls whether players can teleport to this claim. |
player-villager-damage | false | Controls whether players can deal damage to villagers. |
ravager-block-break | true | Controls whether ravagers can break blocks during raids. |
silverfish-block-infest | false | Controls whether silverfish can infest blocks such as cobblestone. |
tnt-block-explosion | false | Controls whether tnt can explode blocks. |
tnt-entity-explosion | false | Controls whether tnt can explode entities. |
turtle-egg-hatch | true | Controls whether turtle eggs can hatch. |
villager-farm | true | Controls whether villages can farm crops. |
wither-block-break | false | Controls whether withers can break blocks. |
wither-entity-damage | true | Controls whether withers can damage entities. |
# USER
⚠️ User flags will ONLY affect the claim you are in.
⚠️ If you want to modify USER
flag definitions in a claim that you do not own, you must have ignoreclaims permissions and enter /ignoreclaims
before executing /cf
command.
As a user, if you enter the /cf
command, you will see the following
Flag Definition | Default Value | Description |
---|---|---|
block-fertilize | false | Controls whether a player can fertilize a block with bonemeal. |
chest-access | false | Controls whether a player can access chest inventories. |
crop-growth | true | Controls whether crops can grow. |
damage-animals | false | Controls whether animals can be damaged. |
enderman-grief | false | Controls whether enderman can grief. |
fire-spread | false | Controls whether fire can spread. |
grass-growth | true | Controls whether grass can grow. |
ice-form | true | Controls whether ice can form. |
ice-melt | true | Controls whether ice can melt. |
lava-flow | false | Controls whether lava can flow. |
leaf-decay | true | Controls whether leaves can decay. |
lighter | false | Controls whether a player can use flint and steel. |
mushroom-growth | true | Controls whether mushrooms can grow. |
mycelium-spread | true | Controls whether mycelium can spread. |
painting-damage | false | Controls whether players can break paintings. |
pvp | true | Controls whether PvP combat is allowed. |
ride | false | Controls whether vehicles(including animals), not owned by the player, can be mounted. |
sign-use | true | Controls whether players can use signs. |
sleep | true | Controls whether players can sleep in beds |
snow-fall | true | Controls whether snow can fall. |
snow-melt | true | Controls whether snow can melt. |
snowman-trail | true | Controls whether snowmen can create snow beneath them. |
soil-dry | true | Controls whether soil will dry. |
vehicle-use | false | Controls whether vehicles(boats, minecarts, etc.) can be placed, ridden and broken. |
villager-trade | true | Controls whether players can trade with villagers. |
vine-growth | true | Controls whether vines(and kelp) can grow. |
water-flow | false | Controls whether water can flow. |