java.lang.Object
com.griefdefender.api.permission.option.Options

public final class Options extends Object
  • Field Details

    • ABANDON_DELAY

      public static final Option<Integer> ABANDON_DELAY
      The amount of days before a newly created Claim can be abandoned.
    • ABANDON_RETURN_RATIO

      public static final Option<Double> ABANDON_RETURN_RATIO
      The portion of basic claim blocks returned to a player when a Claim is abandoned.
    • ACCRUED_BLOCKS

      public static final Option<Integer> ACCRUED_BLOCKS
      The total number of claim blocks accrued by a player. Note: This does not account for bonus blocks.
    • BLOCKS_ACCRUED_PER_HOUR

      public static final Option<Integer> BLOCKS_ACCRUED_PER_HOUR
      Blocks earned per hour.
    • BONUS_BLOCKS

      public static final Option<Integer> BONUS_BLOCKS
      The total number of bonus claim blocks given to a player.
    • CHEST_EXPIRATION

      public static final Option<Integer> CHEST_EXPIRATION
      Number of days of inactivity before an automatic chest claim will be deleted.
    • CREATE_LIMIT

      public static final Option<Integer> CREATE_LIMIT
      Maximum number of basic claims per player.
      Note: (-1 = unlimited)
    • CREATE_MODE

      public static final Option<CreateModeType> CREATE_MODE
      The default claiming mode set for players on login.
      Accepts the following values :
    • ECONOMY_BLOCK_COST

      public static final Option<Double> ECONOMY_BLOCK_COST
      The economy amount to charge per block of a Claim.
      Note: The formula to calculate price is {amount} * Claim.getClaimBlocks()
    • ECONOMY_BLOCK_SELL_RETURN

      public static final Option<Double> ECONOMY_BLOCK_SELL_RETURN
      The return ration for selling claim blocks.
    • EXPIRATION

      public static final Option<Integer> EXPIRATION
      Number of days of inactivity before a basic claim will be deleted.
    • INITIAL_BLOCKS

      public static final Option<Integer> INITIAL_BLOCKS
      The number of claim blocks a player has initially, by default.
    • MAX_SIZE_X

      public static final Option<Integer> MAX_SIZE_X
      The max size in blocks that the x-axis can be.
    • MAX_SIZE_Y

      public static final Option<Integer> MAX_SIZE_Y
      The max size in blocks that the y-axis can be.
    • MAX_SIZE_Z

      public static final Option<Integer> MAX_SIZE_Z
      The max size in blocks that the z-axis can be.
    • MIN_SIZE_X

      public static final Option<Integer> MIN_SIZE_X
      The min size in blocks that the x-axis can be.
    • MIN_SIZE_Y

      public static final Option<Integer> MIN_SIZE_Y
      The min size in blocks that the y-axis can be.
    • MIN_SIZE_Z

      public static final Option<Integer> MIN_SIZE_Z
      The min size in blocks that the z-axis can be.
    • MAX_ACCRUED_BLOCKS

      public static final Option<Integer> MAX_ACCRUED_BLOCKS
      The maximum amount of accrued blocks a player can obtain.
    • MAX_BONUS_BLOCKS

      public static final Option<Integer> MAX_BONUS_BLOCKS
      The maximum amount of bonus blocks a player can obtain.
    • MAX_CLAIMABLE_BLOCKS

      public static final Option<Integer> MAX_CLAIMABLE_BLOCKS
      The maximum amount of blocks a player can claim.
    • MAX_LEVEL

      public static final Option<Integer> MAX_LEVEL
      The maximum level that a claim can be created in.
    • MIN_LEVEL

      public static final Option<Integer> MIN_LEVEL
      The minimum level that a claim can be created in.
    • MAX_CLAIMGROUPS

      public static final Option<Integer> MAX_CLAIMGROUPS
      The maximum claimgroups a player can create.
    • MAX_SNAPSHOT_CLAIM

      public static final Option<Integer> MAX_SNAPSHOT_CLAIM
      The maximum claim snapshots a player can create.
    • MAX_SNAPSHOT_USER

      public static final Option<Integer> MAX_SNAPSHOT_USER
      The maximum user snapshots a player can create.
    • PLAYER_COMMAND_ENTER

      public static final Option<List<String>> PLAYER_COMMAND_ENTER
      Used for executing a command on Claim enter with specific
      invalid reference
      Context
      's.
      Accepts the following placeholders :
      • %player%
      • %owner%
      • %uuid%
      • %world%
      • %server%
      • %location%
    • PLAYER_COMMAND_EXIT

      public static final Option<List<String>> PLAYER_COMMAND_EXIT
      Used for executing a command on Claim exit with specific
      invalid reference
      Context
      's.
      Accepts the following placeholders :
      • %player%
      • %owner%
      • %uuid%
      • %world%
      • %server%
      • %location%
    • PLAYER_DENY_FLIGHT

      public static final Option<Boolean> PLAYER_DENY_FLIGHT
      Used to determine if a player is unable to fly in a Claim.
      Note: This does not give players the ability to fly, it merely removes the ability if set. This provides the greatest compatibility with plugins.
    • PLAYER_DENY_GLIDE

      public static final Option<Boolean> PLAYER_DENY_GLIDE
      Used to determine if a player is unable to glide in a Claim.
      Note: This does not give players the ability to glide, it merely removes the ability if set. This provides the greatest compatibility with plugins.
    • PLAYER_DENY_GODMODE

      public static final Option<Boolean> PLAYER_DENY_GODMODE
      Used to determine if a player can be in godmode within a Claim.
      Note: This does not give players the ability to be in godmode, it merely removes the ability if set. This provides the greatest compatibility with plugins.
    • PLAYER_DENY_HUNGER

      public static final Option<Boolean> PLAYER_DENY_HUNGER
      Used to if a player's hunger is denied in a Claim.
      Note: This does not give players the ability to gain hunger, it merely removes the ability to cause hunger if set. This provides the greatest compatibility with plugins.
    • PLAYER_FLY_SPEED

      public static final Option<Double> PLAYER_FLY_SPEED
      Used to set a player's fly speed in a Claim.
      Note: (-1.0 = undefined)
    • PLAYER_GAMEMODE

      public static final Option<GameModeType> PLAYER_GAMEMODE
      Used to determine the gamemode of a player in a Claim.
      Accepts the following values :
    • PLAYER_HEALTH_REGEN

      public static final Option<Double> PLAYER_HEALTH_REGEN
      Used to set the health regen amount for a player in a Claim.
      Note: If the player is at max health, this will have no effect.
      Note: (-1 = undefined)
    • PLAYER_ITEM_DROP_LOCK

      public static final Option<Boolean> PLAYER_ITEM_DROP_LOCK
      Used to determine if a player's dropped items should be locked from pickup by others on death.
    • PLAYER_KEEP_INVENTORY

      public static final Option<Tristate> PLAYER_KEEP_INVENTORY
      Used to determine if a player can keep inventory after death in a Claim.
      Accepts the following values :
    • PLAYER_KEEP_LEVEL

      public static final Option<Tristate> PLAYER_KEEP_LEVEL
      Used to determine if a player can keep their level after death in a Claim.
      Accepts the following values :
    • PLAYER_TELEPORT_COST

      public static final Option<Double> PLAYER_TELEPORT_COST
      Used to determine the cost to teleport a player to a new location.
    • PLAYER_TELEPORT_DELAY

      public static final Option<Integer> PLAYER_TELEPORT_DELAY
      Used to determine the delay, in seconds, before teleporting a player to a new location.
    • PLAYER_WALK_SPEED

      public static final Option<Double> PLAYER_WALK_SPEED
      Used to set a player's walk speed in a Claim.
      Note: (-1.0 = undefined)
    • PLAYER_WEATHER

      public static final Option<WeatherType> PLAYER_WEATHER
      Used to set a player's weather in a Claim.
      Accepts the following values :
    • PVP

      public static final Option<Tristate> PVP
      Used to determine if players can combat each other.
    • PVP_COMBAT_COMMAND

      public static final Option<Boolean> PVP_COMBAT_COMMAND
      Used to determine if a player can use commands during PvP combat.
    • PVP_COMBAT_TELEPORT

      public static final Option<Boolean> PVP_COMBAT_TELEPORT
      Used to determine if a player can teleport during PvP combat.
    • PVP_COMBAT_TIMEOUT

      public static final Option<Integer> PVP_COMBAT_TIMEOUT
      Used to determine how many seconds PvP combat is considered to continue after the most recent damage.
    • PVP_ITEM_DROP_LOCK

      public static final Option<Boolean> PVP_ITEM_DROP_LOCK
      Used to determine if a player's dropped items should be locked from pickup by others on pvp death.
    • INSPECT_RADIUS

      public static final Option<Integer> INSPECT_RADIUS
      The radius in blocks used to search for nearby claims while inspecting.
    • INSPECT_MAX_DISTANCE

      public static final Option<Integer> INSPECT_MAX_DISTANCE
      The max inspection distance in blocks used to search for nearby claim in direction of cursor.
    • RAID

      public static final Option<Boolean> RAID
      Used to determine if a raid can occur in a Claim.
    • RENT_EXPIRATION

      public static final Option<Integer> RENT_EXPIRATION
      Number of days after not paying rent before a claim will be frozen.
    • RENT_EXPIRATION_DAYS_KEEP

      public static final Option<Integer> RENT_EXPIRATION_DAYS_KEEP
      Number of days to keep a rented claim after frozen and before being deleted.
    • RENT_RESTORE

      public static final Option<Boolean> RENT_RESTORE
      Controls whether a claim rental will be restored on expiration or max time of rental.
    • RENTAL_LIMIT

      public static final Option<Integer> RENTAL_LIMIT
      The max amount of rentals a player can have.
    • SPAWN_LIMIT

      public static final Option<Integer> SPAWN_LIMIT
      Used to determine the spawn limit for a specific set of
      invalid reference
      Context
      's in a claim. Note: Supports multiple values.
    • TAX_EXPIRATION

      public static final Option<Integer> TAX_EXPIRATION
      Number of days after not paying taxes before a claim will be frozen.
    • TAX_EXPIRATION_DAYS_KEEP

      public static final Option<Integer> TAX_EXPIRATION_DAYS_KEEP
      Number of days to keep a basic claim after frozen and before being deleted.
    • TAX_RATE

      public static final Option<Double> TAX_RATE
      Tax is calculated by the number of claimblocks in the basic claim.
  • Constructor Details

    • Options

      public Options()