Class Options
java.lang.Object
com.griefdefender.api.permission.option.Options
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe amount of days before a newly createdClaimcan be abandoned.The portion of basic claim blocks returned to a player when aClaimis abandoned.The total number of claim blocks accrued by a player.Blocks earned per hour.The total number of bonus claim blocks given to a player.Number of days of inactivity before an automatic chest claim will be deleted.Maximum number of basic claims per player.
Note: (-1 = unlimited)static final Option<CreateModeType> The default claiming mode set for players on login.
Accepts the following values :CreateModeTypes.AREACreateModeTypes.VOLUMECreateModeTypes.UNDEFINEDThe economy amount to charge per block of aClaim.
Note: The formula to calculate price is {amount} *Claim.getClaimBlocks()The return ration for selling claim blocks.Number of days of inactivity before a basic claim will be deleted.The number of claim blocks a player has initially, by default.The max inspection distance in blocks used to search for nearby claim in direction of cursor.The radius in blocks used to search for nearby claims while inspecting.The maximum amount of accrued blocks a player can obtain.The maximum amount of bonus blocks a player can obtain.The maximum amount of blocks a player can claim.The maximum claimgroups a player can create.The maximum level that a claim can be created in.The max size in blocks that the x-axis can be.The max size in blocks that the y-axis can be.The max size in blocks that the z-axis can be.The maximum claim snapshots a player can create.The maximum user snapshots a player can create.The minimum level that a claim can be created in.The min size in blocks that the x-axis can be.The min size in blocks that the y-axis can be.The min size in blocks that the z-axis can be.Used for executing a command onClaimenter with specific's.invalid reference
Context
Accepts the following placeholders : %player% %owner% %uuid% %world% %server% %location%Used for executing a command onClaimexit with specific's.invalid reference
Context
Accepts the following placeholders : %player% %owner% %uuid% %world% %server% %location%Used to determine if a player is unable to fly in aClaim.
Note: This does not give players the ability to fly, it merely removes the ability if set.Used to determine if a player is unable to glide in aClaim.
Note: This does not give players the ability to glide, it merely removes the ability if set.Used to determine if a player can be in godmode within aClaim.
Note: This does not give players the ability to be in godmode, it merely removes the ability if set.Used to if a player's hunger is denied in aClaim.
Note: This does not give players the ability to gain hunger, it merely removes the ability to cause hunger if set.Used to set a player's fly speed in aClaim.
Note: (-1.0 = undefined)static final Option<GameModeType> Used to determine the gamemode of a player in aClaim.
Accepts the following values :GameModeTypes.ADVENTUREGameModeTypes.CREATIVEGameModeTypes.SURVIVALGameModeTypes.SPECTATORGameModeTypes.UNDEFINEDUsed to set the health regen amount for a player in aClaim.
Note: If the player is at max health, this will have no effect.
Note: (-1 = undefined)Used to determine if a player's dropped items should be locked from pickup by others on death.Used to determine if a player can keep inventory after death in aClaim.
Accepts the following values :Tristate.TRUETristate.FALSETristate.UNDEFINEDUsed to determine if a player can keep their level after death in aClaim.
Accepts the following values :Tristate.TRUETristate.FALSETristate.UNDEFINEDUsed to determine the cost to teleport a player to a new location.Used to determine the delay, in seconds, before teleporting a player to a new location.Used to set a player's walk speed in aClaim.
Note: (-1.0 = undefined)static final Option<WeatherType> Used to set a player's weather in aClaim.
Accepts the following values :WeatherTypes.CLEARWeatherTypes.DOWNFALLWeatherTypes.UNDEFINEDUsed to determine if players can combat each other.Used to determine if a player can use commands during PvP combat.Used to determine if a player can teleport during PvP combat.Used to determine how many seconds PvP combat is considered to continue after the most recent damage.Used to determine if a player's dropped items should be locked from pickup by others on pvp death.Used to determine if a raid can occur in aClaim.Number of days after not paying rent before a claim will be frozen.Number of days to keep a rented claim after frozen and before being deleted.Controls whether a claim rental will be restored on expiration or max time of rental.The max amount of rentals a player can have.Used to determine the spawn limit for a specific set of's in a claim.invalid reference
ContextNumber of days after not paying taxes before a claim will be frozen.Number of days to keep a basic claim after frozen and before being deleted.Tax is calculated by the number of claimblocks in the basic claim. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ABANDON_DELAY
The amount of days before a newly createdClaimcan be abandoned. -
ABANDON_RETURN_RATIO
The portion of basic claim blocks returned to a player when aClaimis abandoned. -
ACCRUED_BLOCKS
The total number of claim blocks accrued by a player. Note: This does not account for bonus blocks. -
BLOCKS_ACCRUED_PER_HOUR
Blocks earned per hour. -
BONUS_BLOCKS
The total number of bonus claim blocks given to a player. -
CHEST_EXPIRATION
Number of days of inactivity before an automatic chest claim will be deleted. -
CREATE_LIMIT
Maximum number of basic claims per player.
Note: (-1 = unlimited) -
CREATE_MODE
The default claiming mode set for players on login.
Accepts the following values : -
ECONOMY_BLOCK_COST
The economy amount to charge per block of aClaim.
Note: The formula to calculate price is {amount} *Claim.getClaimBlocks() -
ECONOMY_BLOCK_SELL_RETURN
The return ration for selling claim blocks. -
EXPIRATION
Number of days of inactivity before a basic claim will be deleted. -
INITIAL_BLOCKS
The number of claim blocks a player has initially, by default. -
MAX_SIZE_X
The max size in blocks that the x-axis can be. -
MAX_SIZE_Y
The max size in blocks that the y-axis can be. -
MAX_SIZE_Z
The max size in blocks that the z-axis can be. -
MIN_SIZE_X
The min size in blocks that the x-axis can be. -
MIN_SIZE_Y
The min size in blocks that the y-axis can be. -
MIN_SIZE_Z
The min size in blocks that the z-axis can be. -
MAX_ACCRUED_BLOCKS
The maximum amount of accrued blocks a player can obtain. -
MAX_BONUS_BLOCKS
The maximum amount of bonus blocks a player can obtain. -
MAX_CLAIMABLE_BLOCKS
The maximum amount of blocks a player can claim. -
MAX_LEVEL
The maximum level that a claim can be created in. -
MIN_LEVEL
The minimum level that a claim can be created in. -
MAX_CLAIMGROUPS
The maximum claimgroups a player can create. -
MAX_SNAPSHOT_CLAIM
The maximum claim snapshots a player can create. -
MAX_SNAPSHOT_USER
The maximum user snapshots a player can create. -
PLAYER_COMMAND_ENTER
Used for executing a command onClaimenter with specific's.invalid reference
Context
Accepts the following placeholders :- %player%
- %owner%
- %uuid%
- %world%
- %server%
- %location%
-
PLAYER_COMMAND_EXIT
Used for executing a command onClaimexit with specific's.invalid reference
Context
Accepts the following placeholders :- %player%
- %owner%
- %uuid%
- %world%
- %server%
- %location%
-
PLAYER_DENY_FLIGHT
Used to determine if a player is unable to fly in aClaim.
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
Used to determine if a player is unable to glide in aClaim.
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
Used to determine if a player can be in godmode within aClaim.
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
Used to if a player's hunger is denied in aClaim.
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
Used to set a player's fly speed in aClaim.
Note: (-1.0 = undefined) -
PLAYER_GAMEMODE
Used to determine the gamemode of a player in aClaim.
Accepts the following values : -
PLAYER_HEALTH_REGEN
Used to set the health regen amount for a player in aClaim.
Note: If the player is at max health, this will have no effect.
Note: (-1 = undefined) -
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
Used to determine if a player can keep inventory after death in aClaim.
Accepts the following values : -
PLAYER_KEEP_LEVEL
Used to determine if a player can keep their level after death in aClaim.
Accepts the following values : -
PLAYER_TELEPORT_COST
Used to determine the cost to teleport a player to a new location. -
PLAYER_TELEPORT_DELAY
Used to determine the delay, in seconds, before teleporting a player to a new location. -
PLAYER_WALK_SPEED
Used to set a player's walk speed in aClaim.
Note: (-1.0 = undefined) -
PLAYER_WEATHER
Used to set a player's weather in aClaim.
Accepts the following values : -
PVP
Used to determine if players can combat each other. -
PVP_COMBAT_COMMAND
Used to determine if a player can use commands during PvP combat. -
PVP_COMBAT_TELEPORT
Used to determine if a player can teleport during PvP combat. -
PVP_COMBAT_TIMEOUT
Used to determine how many seconds PvP combat is considered to continue after the most recent damage. -
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
The radius in blocks used to search for nearby claims while inspecting. -
INSPECT_MAX_DISTANCE
The max inspection distance in blocks used to search for nearby claim in direction of cursor. -
RAID
Used to determine if a raid can occur in aClaim. -
RENT_EXPIRATION
Number of days after not paying rent before a claim will be frozen. -
RENT_EXPIRATION_DAYS_KEEP
Number of days to keep a rented claim after frozen and before being deleted. -
RENT_RESTORE
Controls whether a claim rental will be restored on expiration or max time of rental. -
RENTAL_LIMIT
The max amount of rentals a player can have. -
SPAWN_LIMIT
Used to determine the spawn limit for a specific set of's in a claim. Note: Supports multiple values.invalid reference
Context -
TAX_EXPIRATION
Number of days after not paying taxes before a claim will be frozen. -
TAX_EXPIRATION_DAYS_KEEP
Number of days to keep a basic claim after frozen and before being deleted. -
TAX_RATE
Tax is calculated by the number of claimblocks in the basic claim.
-
-
Constructor Details
-
Options
public Options()
-