Class PlayerConfigOptions
java.lang.Object
xaero.pac.common.server.player.config.api.v2.PlayerConfigOptions
An access point for all static player config option specifications/representations.
Use the client/server sided player config manager API to access the dynamic options generated based on the server config values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IPlayerConfigOptionSpecAPI<Integer>The bonus chunk claims on top of the normal limit.static final IPlayerConfigOptionSpecAPI<Integer>The bonus chunk forceloads on top of the normal limit.static final IPlayerConfigOptionSpecAPI<Integer>The bonus player group total that this player can create.static final IPlayerConfigOptionSpecAPI<Integer>The number of bonus player groups that this player can create.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection includes protection against directly dispensing into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for explosions affecting blocks.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for mobs breaking/placing blocks.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for non-living entities breaking/placing blocks.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for players breaking and interacting with blocks.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk block protection redirects the used config option to the owner of the entity.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for buttons being pressed by projectiles.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for chorus fruit teleportation into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for crop trample.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for explosions affecting entities.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for fire hurting entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for mobs interacting with entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for non-living entities interacting with entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for players interacting with entities.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk entity protection redirects the used config option to the owner of the attacking entity.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for fire spread.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for natural spawn of friendly mobs.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection disables spawners for friendly mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for frost walking.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for natural spawn of hostile mobs.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection disables spawners for hostile mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items being picked up by mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items being picked up by players.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk item pickup protection redirects the used config option to the owner of the entity picking up the item.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items being dropped by mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items being dropped by non-living entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items being dropped by players.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk item drop protection redirects the used config option to the owner of the dropping entity.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for item use.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for mob loot being dropped.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for mobs using nether portals.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for non-living entities using nether portals.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for players using nether portals.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for pressure plates being pressed by mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for pressure plates being pressed by non-living entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for pressure plates being pressed by players.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for player-caused lightnings.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for mobs attacking players.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for other entities attacking players.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for player VS player combat.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk player protection redirects the used config option to the owner of the attacking entity.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for non-hostile mobs being spawned by landing projectiles (e.g.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for hostile mobs being spawned by landing projectiles (e.g.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection makes an exception for village raids.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for target blocks being pressed by projectiles.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for tripwires being pressed by mobs.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for tripwires being pressed by non-living entities.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for tripwires being pressed by players.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for experience orbs being picked up by players.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection includes protection against fluids flowing into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection options for block/entity/items override the value of the vanilla "mob griefing" game rule.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection includes protection against pistons pushing into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the claimed chunk protection includes protection against at-air (or sometimes other) item use in neighbor chunks of the claim.static final IPlayerConfigOptionSpecAPI<String>Whether the claimed chunk protection makes an exception for items dropped on player death.static final IPlayerConfigOptionSpecAPI<Integer>The display color of the player's claimed chunks.static final IPlayerConfigOptionSpecAPI<String>The display name of the player's claimed chunks.static final IPlayerConfigOptionSpecAPI<List<String>>The option used to store player groups.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player's forceloadable claims are forceloaded, at least while the player is online.static final IPlayerConfigOptionSpecAPI<String>Which player group has full access to the claimed chunks.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player's forceloaded claims stay forceloaded when they go offline.static final Map<String,IPlayerConfigOptionSpecAPI<?>> An ID->specification map of all static player config options.static final IPlayerConfigOptionSpecAPI<String>The name of the player's party if they own one.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player's claimed chunks are protected at all.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player receives the in-game locations shared by their fellow party members.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player receives the in-game locations shared by their party's mutual allies.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player shares their in-game location with their party.static final IPlayerConfigOptionSpecAPI<Boolean>Whether the player shares their in-game location with their party's mutual allies.static final IPlayerConfigOptionSpecAPI<String>The current sub-config ID that the player uses for new party claims.static final IPlayerConfigOptionSpecAPI<String>The current sub-config ID that the player uses for new server claims.static final IPlayerConfigOptionSpecAPI<String>The current sub-config ID that the player uses for their own new claims.static final IPlayerConfigOptionSpecAPI<Boolean>Whether every player in the primary party owned by this player can claim/unclaim as the party, without any rank or permission requirement. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OPTIONS
An ID->specification map of all static player config options. -
USED_SUBCLAIM
The current sub-config ID that the player uses for their own new claims. -
USED_SERVER_SUBCLAIM
The current sub-config ID that the player uses for new server claims. -
USED_PARTY_SUBCLAIM
The current sub-config ID that the player uses for new party claims. -
PARTY_NAME
The name of the player's party if they own one. -
BONUS_CHUNK_CLAIMS
The bonus chunk claims on top of the normal limit. -
BONUS_CHUNK_FORCELOADS
The bonus chunk forceloads on top of the normal limit. -
CLAIMS_NAME
The display name of the player's claimed chunks. -
CLAIMS_COLOR
The display color of the player's claimed chunks. -
CUSTOM_PLAYER_GROUPS
The option used to store player groups. Can't be used directly, isn't up-to-date with effective player groups. -
BONUS_PLAYER_GROUPS
The number of bonus player groups that this player can create. -
BONUS_PLAYER_GROUP_SPACE
The bonus player group total that this player can create. The total is the sum of sizes of all player groups. -
PROTECT_CLAIMED_CHUNKS
Whether the player's claimed chunks are protected at all. -
FULL_ACCESS
Which player group has full access to the claimed chunks. -
CLAIM_EXCEPTION_BLOCKS_BY_PLAYERS
Whether the claimed chunk protection makes an exception for players breaking and interacting with blocks. -
CLAIM_EXCEPTION_BLOCKS_BY_MOBS
Whether the claimed chunk protection makes an exception for mobs breaking/placing blocks. -
CLAIM_EXCEPTION_BLOCKS_BY_OTHER
Whether the claimed chunk protection makes an exception for non-living entities breaking/placing blocks. -
CLAIM_EXCEPTION_BLOCKS_REDIRECT
Whether the claimed chunk block protection redirects the used config option to the owner of the entity. -
CLAIM_EXCEPTION_FIRE_SPREAD
Whether the claimed chunk protection makes an exception for fire spread. -
CLAIM_EXCEPTION_FROST_WALKING
Whether the claimed chunk protection makes an exception for frost walking. -
CLAIM_EXCEPTION_BLOCKS_BY_EXPLOSIONS
Whether the claimed chunk protection makes an exception for explosions affecting blocks. -
CLAIM_EXCEPTION_BUTTONS_BY_PROJECTILES
Whether the claimed chunk protection makes an exception for buttons being pressed by projectiles. -
CLAIM_EXCEPTION_TARGETS_BY_PROJECTILES
Whether the claimed chunk protection makes an exception for target blocks being pressed by projectiles. -
CLAIM_EXCEPTION_PLATES_BY_PLAYERS
Whether the claimed chunk protection makes an exception for pressure plates being pressed by players. -
CLAIM_EXCEPTION_PLATES_BY_MOBS
Whether the claimed chunk protection makes an exception for pressure plates being pressed by mobs. -
CLAIM_EXCEPTION_PLATES_BY_OTHER
Whether the claimed chunk protection makes an exception for pressure plates being pressed by non-living entities. -
CLAIM_EXCEPTION_TRIPWIRE_BY_PLAYERS
Whether the claimed chunk protection makes an exception for tripwires being pressed by players. -
CLAIM_EXCEPTION_TRIPWIRE_BY_MOBS
Whether the claimed chunk protection makes an exception for tripwires being pressed by mobs. -
CLAIM_EXCEPTION_TRIPWIRE_BY_OTHER
Whether the claimed chunk protection makes an exception for tripwires being pressed by non-living entities. -
CLAIM_EXCEPTION_ENTITIES_BY_PLAYERS
Whether the claimed chunk protection makes an exception for players interacting with entities. -
CLAIM_EXCEPTION_ENTITIES_BY_MOBS
Whether the claimed chunk protection makes an exception for mobs interacting with entities. -
CLAIM_EXCEPTION_ENTITIES_BY_OTHER
Whether the claimed chunk protection makes an exception for non-living entities interacting with entities. -
CLAIM_EXCEPTION_ENTITIES_REDIRECT
Whether the claimed chunk entity protection redirects the used config option to the owner of the attacking entity. -
CLAIM_EXCEPTION_ENTITIES_BY_EXPLOSIONS
Whether the claimed chunk protection makes an exception for explosions affecting entities. -
CLAIM_EXCEPTION_ENTITIES_BY_FIRE
Whether the claimed chunk protection makes an exception for fire hurting entities. -
CLAIM_EXCEPTION_PLAYERS_BY_PLAYERS
Whether the claimed chunk protection makes an exception for player VS player combat. -
CLAIM_EXCEPTION_PLAYERS_BY_MOBS
Whether the claimed chunk protection makes an exception for mobs attacking players. -
CLAIM_EXCEPTION_PLAYERS_BY_OTHER
Whether the claimed chunk protection makes an exception for other entities attacking players. -
CLAIM_EXCEPTION_PLAYERS_REDIRECT
Whether the claimed chunk player protection redirects the used config option to the owner of the attacking entity. -
CLAIM_EXCEPTION_CHORUS_FRUIT
Whether the claimed chunk protection makes an exception for chorus fruit teleportation into the claim. -
CLAIM_EXCEPTION_NETHER_PORTALS_PLAYERS
Whether the claimed chunk protection makes an exception for players using nether portals. -
CLAIM_EXCEPTION_NETHER_PORTALS_MOBS
Whether the claimed chunk protection makes an exception for mobs using nether portals. -
CLAIM_EXCEPTION_NETHER_PORTALS_OTHER
Whether the claimed chunk protection makes an exception for non-living entities using nether portals. -
CLAIM_EXCEPTION_PLAYER_LIGHTNING
Whether the claimed chunk protection makes an exception for player-caused lightnings. -
CLAIM_EXCEPTION_CROP_TRAMPLE
Whether the claimed chunk protection makes an exception for crop trample. -
CLAIM_FLUID_BARRIER
Whether the claimed chunk protection includes protection against fluids flowing into the claim. -
CLAIM_DISPENSER_BARRIER
Whether the claimed chunk protection includes protection against directly dispensing into the claim. -
CLAIM_PISTON_BARRIER
Whether the claimed chunk protection includes protection against pistons pushing into the claim. -
CLAIM_EXCEPTION_ITEM_TOSS_PLAYERS
Whether the claimed chunk protection makes an exception for items being dropped by players. -
CLAIM_EXCEPTION_ITEM_TOSS_MOBS
Whether the claimed chunk protection makes an exception for items being dropped by mobs. -
CLAIM_EXCEPTION_ITEM_TOSS_OTHER
Whether the claimed chunk protection makes an exception for items being dropped by non-living entities. -
CLAIM_EXCEPTION_ITEM_TOSS_REDIRECT
Whether the claimed chunk item drop protection redirects the used config option to the owner of the dropping entity. -
CLAIM_EXCEPTION_MOB_LOOT
Whether the claimed chunk protection makes an exception for mob loot being dropped. -
CLAIM_PROTECTION_PLAYER_DEATH_LOOT
Whether the claimed chunk protection makes an exception for items dropped on player death. -
CLAIM_EXCEPTION_ITEM_PICKUP_PLAYERS
Whether the claimed chunk protection makes an exception for items being picked up by players. -
CLAIM_EXCEPTION_ITEM_PICKUP_MOBS
Whether the claimed chunk protection makes an exception for items being picked up by mobs. -
CLAIM_EXCEPTION_ITEM_PICKUP_REDIRECT
Whether the claimed chunk item pickup protection redirects the used config option to the owner of the entity picking up the item. -
CLAIM_EXCEPTION_XP_PICKUP
Whether the claimed chunk protection makes an exception for experience orbs being picked up by players. -
CLAIM_EXCEPTION_ITEM_USE
Whether the claimed chunk protection makes an exception for item use. -
CLAIM_PROTECTION_NEIGHBOR_CHUNKS_ITEM_USE
Whether the claimed chunk protection includes protection against at-air (or sometimes other) item use in neighbor chunks of the claim. -
CLAIM_MOB_GRIEFING_OVERRIDE
Whether the claimed chunk protection options for block/entity/items override the value of the vanilla "mob griefing" game rule. -
CLAIM_EXCEPTION_RAIDS
Whether the claimed chunk protection makes an exception for village raids. -
CLAIM_EXCEPTION_HOSTILE_NATURAL_SPAWN
Whether the claimed chunk protection makes an exception for natural spawn of hostile mobs. -
CLAIM_EXCEPTION_FRIENDLY_NATURAL_SPAWN
Whether the claimed chunk protection makes an exception for natural spawn of friendly mobs. -
CLAIM_EXCEPTION_HOSTILE_SPAWNERS
Whether the claimed chunk protection disables spawners for hostile mobs. -
CLAIM_EXCEPTION_FRIENDLY_SPAWNERS
Whether the claimed chunk protection disables spawners for friendly mobs. -
CLAIM_EXCEPTION_PROJECTILE_HIT_HOSTILE_SPAWN
Whether the claimed chunk protection makes an exception for hostile mobs being spawned by landing projectiles (e.g. endermites). -
CLAIM_EXCEPTION_PROJECTILE_HIT_FRIENDLY_SPAWN
public static final IPlayerConfigOptionSpecAPI<String> CLAIM_EXCEPTION_PROJECTILE_HIT_FRIENDLY_SPAWNWhether the claimed chunk protection makes an exception for non-hostile mobs being spawned by landing projectiles (e.g. chicken). -
FORCELOAD
Whether the player's forceloadable claims are forceloaded, at least while the player is online. -
OFFLINE_FORCELOAD
Whether the player's forceloaded claims stay forceloaded when they go offline. -
WHOLE_PARTY_CAN_CLAIM
Whether every player in the primary party owned by this player can claim/unclaim as the party, without any rank or permission requirement. -
SHARE_LOCATION_WITH_PARTY
Whether the player shares their in-game location with their party. -
SHARE_LOCATION_WITH_PARTY_MUTUAL_ALLIES
Whether the player shares their in-game location with their party's mutual allies. -
RECEIVE_LOCATIONS_FROM_PARTY
Whether the player receives the in-game locations shared by their fellow party members. -
RECEIVE_LOCATIONS_FROM_PARTY_MUTUAL_ALLIES
Whether the player receives the in-game locations shared by their party's mutual allies.
-
-
Constructor Details
-
PlayerConfigOptions
public PlayerConfigOptions()
-