Class PlayerConfigOptions
java.lang.Object
xaero.pac.common.server.player.config.api.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 display color of the player's claimed chunks.static final IPlayerConfigOptionSpecAPI<String>
The display name of the player's claimed chunks.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the player's forceloadable claims are forceloaded, at least while the player is online.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 claimed chunk protection includes protection against explosions.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against mobs breaking/placing blocks.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against non-living entities breaking/placing blocks.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against 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<Integer>
Whether the claimed chunk protection includes protection of buttons being pressed by projectiles.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against chorus fruit teleportation into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against crop trample.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 includes entity protection against explosions.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes entity protection against fire damage.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes entity protection against mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes entity protection against non-living entities.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes entity protection against players.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 includes protection against fluids flowing into the claim.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes natural spawn prevention for friendly mobs.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection disables spawners for friendly mobs.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against allies of the party that the player is in.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against fire spread.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection from frost walking.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against the party that the player is in.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes natural spawn prevention for hostile mobs.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection disables spawners for hostile mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against items being picked up by mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against 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<Integer>
Whether the claimed chunk protection includes protection against items being dropped by mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against items being dropped by non-living entities.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against 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<Integer>
Whether the claimed chunk protection includes protection against item use.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<Integer>
Whether the claimed chunk protection includes protection from mob loot being dropped unless killed by players with access.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<Integer>
Whether the claimed chunk protection includes protection against mobs using nether portals.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against non-living entities using nether portals.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against players using nether portals.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against pistons pushing into the claim.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of pressure plates being pressed by mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of pressure plates being pressed by non-living entities.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of pressure plates being pressed by players.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection for items dropped on player death.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against player-caused lightnings.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes player protection against mobs.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes player protection against non-living entities.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes player protection against players.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<Integer>
Whether the claimed chunk protection includes prevention of non-hostile mobs being spawned by landing projectiles (e.g.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes prevention of hostile mobs being spawned by landing projectiles (e.g.static final IPlayerConfigOptionSpecAPI<Boolean>
Whether the claimed chunk protection includes protection against village raids.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of target blocks being pressed by projectiles.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of tripwires being pressed by mobs.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of tripwires being pressed by non-living entities.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection of tripwires being pressed by players.static final IPlayerConfigOptionSpecAPI<Integer>
Whether the claimed chunk protection includes protection against experience orbs being picked up by players.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 server claims.static final IPlayerConfigOptionSpecAPI<String>
The current sub-config ID that the player uses for their own new claims. -
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. -
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. -
PROTECT_CLAIMED_CHUNKS
Whether the player's claimed chunks are protected at all. -
PROTECT_CLAIMED_CHUNKS_FROM_PARTY
Whether the claimed chunk protection includes protection against the party that the player is in. -
PROTECT_CLAIMED_CHUNKS_FROM_ALLY_PARTIES
Whether the claimed chunk protection includes protection against allies of the party that the player is in. -
PROTECT_CLAIMED_CHUNKS_BLOCKS_FROM_PLAYERS
Whether the claimed chunk protection includes protection against players breaking and interacting with blocks. -
PROTECT_CLAIMED_CHUNKS_BLOCKS_FROM_MOBS
Whether the claimed chunk protection includes protection against mobs breaking/placing blocks. -
PROTECT_CLAIMED_CHUNKS_BLOCKS_FROM_OTHER
Whether the claimed chunk protection includes protection against non-living entities breaking/placing blocks. -
PROTECT_CLAIMED_CHUNKS_BLOCKS_REDIRECT
Whether the claimed chunk block protection redirects the used config option to the owner of the entity. -
PROTECT_CLAIMED_CHUNKS_FROM_FIRE_SPREAD
Whether the claimed chunk protection includes protection against fire spread. -
PROTECT_CLAIMED_CHUNKS_FROM_FROST_WALKING
Whether the claimed chunk protection includes protection from frost walking. -
PROTECT_CLAIMED_CHUNKS_BLOCKS_FROM_EXPLOSIONS
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_BLOCKS_FROM_EXPLOSIONSWhether the claimed chunk protection includes protection against explosions. -
PROTECT_CLAIMED_CHUNKS_BUTTONS_FROM_PROJECTILES
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_BUTTONS_FROM_PROJECTILESWhether the claimed chunk protection includes protection of buttons being pressed by projectiles. -
PROTECT_CLAIMED_CHUNKS_TARGETS_FROM_PROJECTILES
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_TARGETS_FROM_PROJECTILESWhether the claimed chunk protection includes protection of target blocks being pressed by projectiles. -
PROTECT_CLAIMED_CHUNKS_PLATES_FROM_PLAYERS
Whether the claimed chunk protection includes protection of pressure plates being pressed by players. -
PROTECT_CLAIMED_CHUNKS_PLATES_FROM_MOBS
Whether the claimed chunk protection includes protection of pressure plates being pressed by mobs. -
PROTECT_CLAIMED_CHUNKS_PLATES_FROM_OTHER
Whether the claimed chunk protection includes protection of pressure plates being pressed by non-living entities. -
PROTECT_CLAIMED_CHUNKS_TRIPWIRE_FROM_PLAYERS
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_TRIPWIRE_FROM_PLAYERSWhether the claimed chunk protection includes protection of tripwires being pressed by players. -
PROTECT_CLAIMED_CHUNKS_TRIPWIRE_FROM_MOBS
Whether the claimed chunk protection includes protection of tripwires being pressed by mobs. -
PROTECT_CLAIMED_CHUNKS_TRIPWIRE_FROM_OTHER
Whether the claimed chunk protection includes protection of tripwires being pressed by non-living entities. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_PLAYERS
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_PLAYERSWhether the claimed chunk protection includes entity protection against players. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_MOBS
Whether the claimed chunk protection includes entity protection against mobs. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_OTHER
Whether the claimed chunk protection includes entity protection against non-living entities. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_REDIRECT
Whether the claimed chunk entity protection redirects the used config option to the owner of the attacking entity. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_EXPLOSIONS
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_EXPLOSIONSWhether the claimed chunk protection includes entity protection against explosions. -
PROTECT_CLAIMED_CHUNKS_ENTITIES_FROM_FIRE
Whether the claimed chunk protection includes entity protection against fire damage. -
PROTECT_CLAIMED_CHUNKS_PLAYERS_FROM_PLAYERS
Whether the claimed chunk protection includes player protection against players. -
PROTECT_CLAIMED_CHUNKS_PLAYERS_FROM_MOBS
Whether the claimed chunk protection includes player protection against mobs. -
PROTECT_CLAIMED_CHUNKS_PLAYERS_FROM_OTHER
Whether the claimed chunk protection includes player protection against non-living entities. -
PROTECT_CLAIMED_CHUNKS_PLAYERS_REDIRECT
Whether the claimed chunk player protection redirects the used config option to the owner of the attacking entity. -
PROTECT_CLAIMED_CHUNKS_CHORUS_FRUIT
Whether the claimed chunk protection includes protection against chorus fruit teleportation into the claim. -
PROTECT_CLAIMED_CHUNKS_NETHER_PORTALS_PLAYERS
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_NETHER_PORTALS_PLAYERSWhether the claimed chunk protection includes protection against players using nether portals. -
PROTECT_CLAIMED_CHUNKS_NETHER_PORTALS_MOBS
Whether the claimed chunk protection includes protection against mobs using nether portals. -
PROTECT_CLAIMED_CHUNKS_NETHER_PORTALS_OTHER
Whether the claimed chunk protection includes protection against non-living entities using nether portals. -
PROTECT_CLAIMED_CHUNKS_PLAYER_LIGHTNING
Whether the claimed chunk protection includes protection against player-caused lightnings. -
PROTECT_CLAIMED_CHUNKS_CROP_TRAMPLE
Whether the claimed chunk protection includes protection against crop trample. -
PROTECT_CLAIMED_CHUNKS_FLUID_BARRIER
Whether the claimed chunk protection includes protection against fluids flowing into the claim. -
PROTECT_CLAIMED_CHUNKS_DISPENSER_BARRIER
Whether the claimed chunk protection includes protection against directly dispensing into the claim. -
PROTECT_CLAIMED_CHUNKS_PISTON_BARRIER
Whether the claimed chunk protection includes protection against pistons pushing into the claim. -
PROTECT_CLAIMED_CHUNKS_ITEM_TOSS_PLAYERS
Whether the claimed chunk protection includes protection against items being dropped by players. -
PROTECT_CLAIMED_CHUNKS_ITEM_TOSS_MOBS
Whether the claimed chunk protection includes protection against items being dropped by mobs. -
PROTECT_CLAIMED_CHUNKS_ITEM_TOSS_OTHER
Whether the claimed chunk protection includes protection against items being dropped by non-living entities. -
PROTECT_CLAIMED_CHUNKS_ITEM_TOSS_REDIRECT
Whether the claimed chunk item drop protection redirects the used config option to the owner of the dropping entity. -
PROTECT_CLAIMED_CHUNKS_MOB_LOOT
Whether the claimed chunk protection includes protection from mob loot being dropped unless killed by players with access. -
PROTECT_CLAIMED_CHUNKS_PLAYER_DEATH_LOOT
Whether the claimed chunk protection includes protection for items dropped on player death. -
PROTECT_CLAIMED_CHUNKS_ITEM_PICKUP_PLAYERS
Whether the claimed chunk protection includes protection against items being picked up by players. -
PROTECT_CLAIMED_CHUNKS_ITEM_PICKUP_MOBS
Whether the claimed chunk protection includes protection against items being picked up by mobs. -
PROTECT_CLAIMED_CHUNKS_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. -
PROTECT_CLAIMED_CHUNKS_XP_PICKUP
Whether the claimed chunk protection includes protection against experience orbs being picked up by players. -
PROTECT_CLAIMED_CHUNKS_ITEM_USE
Whether the claimed chunk protection includes protection against item use. -
PROTECT_CLAIMED_CHUNKS_NEIGHBOR_CHUNKS_ITEM_USE
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_NEIGHBOR_CHUNKS_ITEM_USEWhether the claimed chunk protection includes protection against at-air (or sometimes other) item use in neighbor chunks of the claim. -
PROTECT_CLAIMED_CHUNKS_MOB_GRIEFING_OVERRIDE
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_MOB_GRIEFING_OVERRIDEWhether the claimed chunk protection options for block/entity/items override the value of the vanilla "mob griefing" game rule. -
PROTECT_CLAIMED_CHUNKS_RAIDS
Whether the claimed chunk protection includes protection against village raids. -
PROTECT_CLAIMED_CHUNKS_HOSTILE_NATURAL_SPAWN
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_HOSTILE_NATURAL_SPAWNWhether the claimed chunk protection includes natural spawn prevention for hostile mobs. -
PROTECT_CLAIMED_CHUNKS_FRIENDLY_NATURAL_SPAWN
public static final IPlayerConfigOptionSpecAPI<Boolean> PROTECT_CLAIMED_CHUNKS_FRIENDLY_NATURAL_SPAWNWhether the claimed chunk protection includes natural spawn prevention for friendly mobs. -
PROTECT_CLAIMED_CHUNKS_HOSTILE_SPAWNERS
Whether the claimed chunk protection disables spawners for hostile mobs. -
PROTECT_CLAIMED_CHUNKS_FRIENDLY_SPAWNERS
Whether the claimed chunk protection disables spawners for friendly mobs. -
PROTECT_CLAIMED_CHUNKS_PROJECTILE_HIT_HOSTILE_SPAWN
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_PROJECTILE_HIT_HOSTILE_SPAWNWhether the claimed chunk protection includes prevention of hostile mobs being spawned by landing projectiles (e.g. endermites). -
PROTECT_CLAIMED_CHUNKS_PROJECTILE_HIT_FRIENDLY_SPAWN
public static final IPlayerConfigOptionSpecAPI<Integer> PROTECT_CLAIMED_CHUNKS_PROJECTILE_HIT_FRIENDLY_SPAWNWhether the claimed chunk protection includes prevention of 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. -
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()
-