java.lang.Object
com.griefdefender.api.permission.flag.Flags

public final class Flags extends Object
  • Field Details

    • BLOCK_BREAK

      public static final Flag BLOCK_BREAK
      Used to allow or deny a block break.
    • BLOCK_GROW

      public static final Flag BLOCK_GROW
      Used to allow or deny a block growth.
    • BLOCK_MODIFY

      public static final Flag BLOCK_MODIFY
      Used to allow or deny a block modify.
    • BLOCK_PLACE

      public static final Flag BLOCK_PLACE
      Used to allow or deny a block place.
    • BLOCK_SPREAD

      public static final Flag BLOCK_SPREAD
      Used to allow or deny a block from spreading to another block. Note: This does not include fluids flowing to other blocks. Use LIQUID_FLOW instead.
    • COLLIDE_BLOCK

      public static final Flag COLLIDE_BLOCK
      Used to allow or deny a collision with a block.
    • COLLIDE_ENTITY

      public static final Flag COLLIDE_ENTITY
      Used to allow or deny a collision with an entity.
    • COMMAND_EXECUTE

      public static final Flag COMMAND_EXECUTE
      Used to allow or deny a user on a command execution.
    • COMMAND_EXECUTE_PVP

      public static final Flag COMMAND_EXECUTE_PVP
      Used to allow or deny a user on a command execution during PvP.
    • ENTER_CLAIM

      public static final Flag ENTER_CLAIM
      Used to allow or deny entering a Claim.
    • ENTITY_CHUNK_SPAWN

      public static final Flag ENTITY_CHUNK_SPAWN
      Used to allow or deny an entity spawn during chunk load.
    • ENTITY_DAMAGE

      public static final Flag ENTITY_DAMAGE
      Used to allow or deny damage to an entity.
    • ENTITY_RIDING

      public static final Flag ENTITY_RIDING
      Used to allow or deny mounting an entity.
    • ENTITY_SPAWN

      public static final Flag ENTITY_SPAWN
      Used to allow or deny an entity spawn. Note: This not include items, see ITEM_SPAWN
    • ENTITY_TELEPORT_FROM

      public static final Flag ENTITY_TELEPORT_FROM
      Used to allow or deny a teleport from a Claim.
    • ENTITY_TELEPORT_TO

      public static final Flag ENTITY_TELEPORT_TO
      Used to allow or deny a teleport to a Claim.
    • EXIT_CLAIM

      public static final Flag EXIT_CLAIM
      Used to allow or deny exiting a Claim.
    • EXPLOSION_BLOCK

      public static final Flag EXPLOSION_BLOCK
      Used to allow or deny an explosion from breaking one or more blocks.
    • EXPLOSION_ENTITY

      public static final Flag EXPLOSION_ENTITY
      Used to allow or deny an explosion from damaging one or more entities.
    • INTERACT_BLOCK_PRIMARY

      public static final Flag INTERACT_BLOCK_PRIMARY
      Used to allow or deny a player from left-clicking a block.
    • INTERACT_BLOCK_SECONDARY

      public static final Flag INTERACT_BLOCK_SECONDARY
      Used to allow or deny a player from right-clicking a block.
    • INTERACT_ENTITY_PRIMARY

      public static final Flag INTERACT_ENTITY_PRIMARY
      Used to allow or deny a player from left-clicking an entity.
    • INTERACT_ENTITY_SECONDARY

      public static final Flag INTERACT_ENTITY_SECONDARY
      Used to allow or deny a player from right-clicking an entity.
    • INTERACT_INVENTORY

      public static final Flag INTERACT_INVENTORY
      Used to allow or deny a user from opening an inventory container.
    • INTERACT_INVENTORY_CLICK

      public static final Flag INTERACT_INVENTORY_CLICK
      Used to allow or deny a user from clicking an item in an inventory slot.
    • INTERACT_ITEM_PRIMARY

      public static final Flag INTERACT_ITEM_PRIMARY
      Used to allow or deny a player from left-clicking with an item in hand.
    • INTERACT_ITEM_SECONDARY

      public static final Flag INTERACT_ITEM_SECONDARY
      Used to allow or deny a player from right-clicking with an item in hand.
    • INVENTORY_ITEM_MOVE

      public static final Flag INVENTORY_ITEM_MOVE
      Used to allow or deny a block or entity that attempts to transfer items from one inventory to another.
    • ITEM_DAMAGE

      public static final Flag ITEM_DAMAGE
      Used to allow or deny damage to an item.
    • ITEM_DROP

      public static final Flag ITEM_DROP
      Used to allow or deny an item from dropping into the world.
    • ITEM_PICKUP

      public static final Flag ITEM_PICKUP
      Used to allow or deny an item from being picked up.
    • ITEM_SPAWN

      public static final Flag ITEM_SPAWN
      Used to allow or deny an item spawn.
    • ITEM_USE

      public static final Flag 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

      public static final Flag LEAF_DECAY
      Used to allow or deny leaves from decaying.
    • LIQUID_FLOW

      public static final Flag LIQUID_FLOW
      Used to allow or deny liquid from flowing.
    • PORTAL_USE

      public static final Flag PORTAL_USE
      Used to allow or deny a portal from being used. Note: This may also require using COLLIDE_BLOCK.
    • PROJECTILE_IMPACT_BLOCK

      public static final Flag PROJECTILE_IMPACT_BLOCK
      Used to allow or deny a projectile from hitting a block.
    • PROJECTILE_IMPACT_ENTITY

      public static final Flag PROJECTILE_IMPACT_ENTITY
      Used to allow or deny a projectile from hitting an entity.
  • Constructor Details

    • Flags

      public Flags()