Class Flags
java.lang.Object
com.griefdefender.api.permission.flag.Flags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FlagUsed to allow or deny a block break.static final FlagUsed to allow or deny a block growth.static final FlagUsed to allow or deny a block modify.static final FlagUsed to allow or deny a block place.static final FlagUsed to allow or deny a block from spreading to another block.static final FlagUsed to allow or deny a collision with a block.static final FlagUsed to allow or deny a collision with an entity.static final FlagUsed to allow or deny a user on a command execution.static final FlagUsed to allow or deny a user on a command execution during PvP.static final FlagUsed to allow or deny entering aClaim.static final FlagUsed to allow or deny an entity spawn during chunk load.static final FlagUsed to allow or deny damage to an entity.static final FlagUsed to allow or deny mounting an entity.static final FlagUsed to allow or deny an entity spawn.static final FlagUsed to allow or deny a teleport from aClaim.static final FlagUsed to allow or deny a teleport to aClaim.static final FlagUsed to allow or deny exiting aClaim.static final FlagUsed to allow or deny an explosion from breaking one or more blocks.static final FlagUsed to allow or deny an explosion from damaging one or more entities.static final FlagUsed to allow or deny a player from left-clicking a block.static final FlagUsed to allow or deny a player from right-clicking a block.static final FlagUsed to allow or deny a player from left-clicking an entity.static final FlagUsed to allow or deny a player from right-clicking an entity.static final FlagUsed to allow or deny a user from opening an inventory container.static final FlagUsed to allow or deny a user from clicking an item in an inventory slot.static final FlagUsed to allow or deny a player from left-clicking with an item in hand.static final FlagUsed to allow or deny a player from right-clicking with an item in hand.static final FlagUsed to allow or deny a block or entity that attempts to transfer items from one inventory to another.static final FlagUsed to allow or deny damage to an item.static final FlagUsed to allow or deny an item from dropping into the world.static final FlagUsed to allow or deny an item from being picked up.static final FlagUsed to allow or deny an item spawn.static final FlagUsed to allow or deny an item from being used.static final FlagUsed to allow or deny leaves from decaying.static final FlagUsed to allow or deny liquid from flowing.static final FlagUsed to allow or deny a portal from being used.static final FlagUsed to allow or deny a projectile from hitting a block.static final FlagUsed to allow or deny a projectile from hitting an entity. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLOCK_BREAK
Used to allow or deny a block break. -
BLOCK_GROW
Used to allow or deny a block growth. -
BLOCK_MODIFY
Used to allow or deny a block modify. -
BLOCK_PLACE
Used to allow or deny a block place. -
BLOCK_SPREAD
Used to allow or deny a block from spreading to another block. Note: This does not include fluids flowing to other blocks. UseLIQUID_FLOWinstead. -
COLLIDE_BLOCK
Used to allow or deny a collision with a block. -
COLLIDE_ENTITY
Used to allow or deny a collision with an entity. -
COMMAND_EXECUTE
Used to allow or deny a user on a command execution. -
COMMAND_EXECUTE_PVP
Used to allow or deny a user on a command execution during PvP. -
ENTER_CLAIM
Used to allow or deny entering aClaim. -
ENTITY_CHUNK_SPAWN
Used to allow or deny an entity spawn during chunk load. -
ENTITY_DAMAGE
Used to allow or deny damage to an entity. -
ENTITY_RIDING
Used to allow or deny mounting an entity. -
ENTITY_SPAWN
Used to allow or deny an entity spawn. Note: This not include items, seeITEM_SPAWN -
ENTITY_TELEPORT_FROM
Used to allow or deny a teleport from aClaim. -
ENTITY_TELEPORT_TO
Used to allow or deny a teleport to aClaim. -
EXIT_CLAIM
Used to allow or deny exiting aClaim. -
EXPLOSION_BLOCK
Used to allow or deny an explosion from breaking one or more blocks. -
EXPLOSION_ENTITY
Used to allow or deny an explosion from damaging one or more entities. -
INTERACT_BLOCK_PRIMARY
Used to allow or deny a player from left-clicking a block. -
INTERACT_BLOCK_SECONDARY
Used to allow or deny a player from right-clicking a block. -
INTERACT_ENTITY_PRIMARY
Used to allow or deny a player from left-clicking an entity. -
INTERACT_ENTITY_SECONDARY
Used to allow or deny a player from right-clicking an entity. -
INTERACT_INVENTORY
Used to allow or deny a user from opening an inventory container. -
INTERACT_INVENTORY_CLICK
Used to allow or deny a user from clicking an item in an inventory slot. -
INTERACT_ITEM_PRIMARY
Used to allow or deny a player from left-clicking with an item in hand. -
INTERACT_ITEM_SECONDARY
Used to allow or deny a player from right-clicking with an item in hand. -
INVENTORY_ITEM_MOVE
Used to allow or deny a block or entity that attempts to transfer items from one inventory to another. -
ITEM_DAMAGE
Used to allow or deny damage to an item. -
ITEM_DROP
Used to allow or deny an item from dropping into the world. -
ITEM_PICKUP
Used to allow or deny an item from being picked up. -
ITEM_SPAWN
Used to allow or deny an item spawn. -
ITEM_USE
Used to allow or deny an item from being used. Note: This only affects items that have durations such as food. -
LEAF_DECAY
Used to allow or deny leaves from decaying. -
LIQUID_FLOW
Used to allow or deny liquid from flowing. -
PORTAL_USE
Used to allow or deny a portal from being used. Note: This may also require usingCOLLIDE_BLOCK. -
PROJECTILE_IMPACT_BLOCK
Used to allow or deny a projectile from hitting a block. -
PROJECTILE_IMPACT_ENTITY
Used to allow or deny a projectile from hitting an entity.
-
-
Constructor Details
-
Flags
public Flags()
-