Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ActionFlag - Class in me.angeschossen.chestprotect.api.protection.flag
-
An action flag that controls whether players may perform a specific interaction on a protection (e.g.
- ActionFlag(Plugin, String) - Constructor for class me.angeschossen.chestprotect.api.protection.flag.ActionFlag
-
Create a new action flag.
- APIHandler - Class in me.angeschossen.chestprotect.api.handler
-
This class is not intended for direct usage and might change at any time.
- AUTO_LOCK - Enum constant in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Automatically lock blocks upon placement.
B
- BlOCK - Enum constant in enum class me.angeschossen.chestprotect.api.protection.ProtectionType
-
For blocks used by
BlockProtection - BLOCK - Enum constant in enum class me.angeschossen.chestprotect.api.protection.enums.Type
-
Represents a block, such as a container.
- BlockProtection - Interface in me.angeschossen.chestprotect.api.protection.block
-
Represents a protection placed on a block (e.g.
- BlockProtectionInfo - Interface in me.angeschossen.chestprotect.api.protection.block
-
Lightweight information about a block protection, used for offline player data lookups.
C
- ChestProtectAddon - Class in me.angeschossen.chestprotect.api.addons
-
Deprecated.
- ChestProtectAddon(Plugin) - Constructor for class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- ChestProtectAddon(Plugin, boolean) - Constructor for class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.use
ChestProtectAPIinstead - ChestProtectAddonExample - Class in me.angeschossen.chestprotect.api.addons
-
Deprecated.
- ChestProtectAddons - Interface in me.angeschossen.chestprotect.api.addons
-
Deprecated.
- ChestProtectAPI - Interface in me.angeschossen.chestprotect.api
-
Main entry point for the ChestProtect API.
- ChunkCoordinate - Interface in me.angeschossen.chestprotect.api.protection.world
-
Identifies a chunk.
- createBlockProtection(ProtectionHook, Block, ProtectPlayer) - Method in interface me.angeschossen.chestprotect.api.protection.ProtectionManager
-
Create block protection.
- createEntityProtection(ProtectionHook, Entity, ProtectPlayer) - Method in interface me.angeschossen.chestprotect.api.protection.ProtectionManager
-
Create entity protection.
D
- Data(String, Timestamp) - Constructor for class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook.Data
-
Create instance.
- DATABASE - Enum constant in enum class me.angeschossen.chestprotect.api.limits.LimitMode
-
Limits are stored and retrieved from the database.
- defState - Variable in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Whether this flag is enabled by default on newly created protections.
- delete() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Delete all protections of this player.
- delete(ProtectPlayer) - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Delete the protection and send the unlock message to the deleter.
- delete(ProtectPlayer, boolean) - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Delete the protection.
- disable(String) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- disable(String) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.
- disableChestProtectAddon() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddonExample
-
Deprecated.Disable your addon.
E
- EDIT_FLAGS - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may edit the flags of a protection.
- ENTITY - Enum constant in enum class me.angeschossen.chestprotect.api.protection.enums.Type
-
Represents an entity, such as a horse.
- ENTITY - Enum constant in enum class me.angeschossen.chestprotect.api.protection.ProtectionType
-
For entities used by
EntityProtection. - EntityProtection - Interface in me.angeschossen.chestprotect.api.protection.entity
-
Represents a protection placed on an entity (e.g.
- equals(Object) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- equals(World, int, int) - Method in interface me.angeschossen.chestprotect.api.protection.world.ChunkCoordinate
-
Compare values of coordinates.
F
- Factory - Interface in me.angeschossen.chestprotect.api.handler
-
Internal factory for creating and looking up
ProtectionHookinstances. - FlagRegistry - Interface in me.angeschossen.chestprotect.api.protection.flag
-
Registry for
ActionFlagandManagementFlaginstances used by ChestProtect. - Flags - Class in me.angeschossen.chestprotect.api.protection.flag
-
Registry of built-in flags used by ChestProtect.
G
- getAccess(String) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getAccess(String) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.
- getActionFlags() - Method in interface me.angeschossen.chestprotect.api.protection.flag.FlagRegistry
-
Get all registered action flags.
- getAPI() - Method in class me.angeschossen.chestprotect.api.handler.APIHandler
-
Get the API implementation.
- getBlockItem() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtectionInfo
-
Get the item that represents the block type.
- getBlockProtection(int, int, int) - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionWorld
-
Get protection by its coordinates.
- getBlockProtection(long) - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get information about a specific block protection.
- getBlockProtectionByBlock(Block) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get block protection.
- getBlockProtectionByPos(BlockPosition) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get block protection.
- getBlockProtections() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionChunk
-
Get all block protections in this chunk.
- getBlockProtectionsAmount() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get the amount of block protections.
- getBlockProtectionsByChunk(int, int) - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionWorld
-
Get all block protection that are located in a specific chunk.
- getBukkitWorld() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionWorld
-
Get the bukkit world.
- getById(int) - Static method in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Get a flag by its numerical id.
- getById(int) - Static method in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Get a flag by its numerical id.
- getBypassPermission() - Method in class me.angeschossen.chestprotect.api.protection.flag.ActionFlag
-
Get the permission to bypass restrictions enforced by the flag.
- getBypassPermission() - Method in class me.angeschossen.chestprotect.api.protection.flag.ManagementFlag
-
Get the permission to bypass restrictions enforced by the flag.
- getByPermission(String) - Static method in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Look up a limit by its permission node.
- getConfigAliases() - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- getData() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Get info about this hook.
- getDefaultGroup() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get the default group.
- getDisplayName() - Method in interface me.angeschossen.chestprotect.api.protection.Nameable
-
Get the display name.
- getEntityProtection(Entity) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get entity protection.
- getEntityProtectionsAmount() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get the amount of entity protections.
- getFactory() - Method in class me.angeschossen.chestprotect.api.handler.APIHandler
-
Get the factory.
- getGroup() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get group that this protection belongs to.
- getGroup(String) - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get a group by its name.
- getGroups() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get all group of this player.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Required by Bukkit's event system.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.protection.ProtectionCreatedEvent
-
Required by Bukkit's event system.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.protection.ProtectionDeletedEvent
-
Required by Bukkit's event system.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.ProtectionChunkAddedEvent
-
Required by Bukkit's event system.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.ProtectionChunkDeletedEvent
-
Required by Bukkit's event system.
- getHandlerList() - Static method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Required by Bukkit's event system.
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.protection.ProtectionCreatedEvent
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.protection.ProtectionDeletedEvent
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.ProtectionChunkAddedEvent
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.ProtectionChunkDeletedEvent
- getHandlers() - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
- getId() - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- getId() - Method in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Get the numerical id.
- getId() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook.Data
-
Get the id of the hook.
- getId() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Get the ID of this hook.
- getId() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the unique numerical id of this protection.
- getInstance() - Static method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get implementation of the API.
- getInstance() - Static method in class me.angeschossen.chestprotect.api.handler.APIHandler
-
Get the singleton instance.
- getLoadedChunks() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionWorld
-
Get all currently loaded chunks that contain at least one block protection.
- getLocation() - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Get the location of the protection.
- getLocation() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtection
-
Get the location of this protection.
- getManagementFlags() - Method in interface me.angeschossen.chestprotect.api.protection.flag.FlagRegistry
-
Get all registered management flags.
- getMessageKey() - Method in class me.angeschossen.chestprotect.api.protection.flag.ActionFlag
- getMessageKey() - Method in class me.angeschossen.chestprotect.api.protection.flag.ManagementFlag
- getModifiers() - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- getModifierValue(LimitHolder) - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- getName() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getName() - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get the name of the plugin.
- getName() - Method in interface me.angeschossen.chestprotect.api.protection.Nameable
-
Get the name.
- getOwner() - Method in interface me.angeschossen.chestprotect.api.protection.MemberHolder
-
Get the owner's UUID
- getPermission() - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Get the permission node associated with the limit.
- getPlayer() - Method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Get the player.
- getPlayer() - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Get the player.
- getPlayer() - Method in interface me.angeschossen.chestprotect.api.player.ProtectPlayer
-
Get the Bukkit player
- getPlugin() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getPlugin() - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get's plugin wich hooks ChestProtect.
- getPlugin() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Get the plugin of this hook.
- getProtection() - Method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Get the protection.
- getProtection() - Method in class me.angeschossen.chestprotect.api.events.protection.ProtectionEvent
-
Get the protection this event is about.
- getProtection(int, int, int) - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionChunk
-
Get a block protection.
- getProtection(Location) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getProtection(Location) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get protection.
- getProtectionChunk() - Method in class me.angeschossen.chestprotect.api.events.ProtectionChunkAddedEvent
-
Get the chunk.
- getProtectionChunk() - Method in class me.angeschossen.chestprotect.api.events.ProtectionChunkDeletedEvent
-
Get the chunk.
- getProtectionChunk(World, int, int) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getProtectionChunk(World, int, int) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get chunk related protection data.
- getProtectionHookById(String) - Method in interface me.angeschossen.chestprotect.api.handler.Factory
-
Look up a registered protection hook by its ID.
- getProtectionHookData() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get info about the current protection hook.
- getProtectionHookData(Plugin) - Method in interface me.angeschossen.chestprotect.api.handler.Factory
-
Get or create hook data for the given plugin.
- getProtectionManager() - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get protection manager.
- getProtectionType() - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Get the type.
- getProtectionType() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get the type of protection.
- getProtectionWorld() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionChunk
-
Get world of a chunk.
- getProtectionWorld(World) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getProtectionWorld(World) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get world related protection data.
- getProtectionWorld(World) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get world that contains all loaded protections.
- getProtectionWorlds() - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get world related data.
- getProtectOfflinePlayer(UUID) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get information about an offline player.
- getProtectPlayer(UUID) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- getProtectPlayer(UUID) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Get cached landPlayer
- getProtectPlayer(Player) - Method in interface me.angeschossen.chestprotect.api.ChestProtectAPI
-
Get online player.
- getRegisteredHook() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook.Data
-
Get the registered hook.
- getRegisteredProtectionHook() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the registered protection hook.
- getTimestamp() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook.Data
-
Get last seen timestamp.
- getTogglePermission() - Method in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Get permission required to toggle the flag.
- getTogglePermission() - Method in class me.angeschossen.chestprotect.api.protection.flag.ActionFlag
- getTogglePermission() - Method in class me.angeschossen.chestprotect.api.protection.flag.ManagementFlag
- getTrusted() - Method in interface me.angeschossen.chestprotect.api.protection.MemberHolder
-
Get players that are trusted at this protection.
- getTrustedWithoutGroup() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get players that are trusted directly to this protection and aren't trusted via a group
Group. - getType() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtection
-
Get the material of the block protection.
- getType() - Method in interface me.angeschossen.chestprotect.api.protection.entity.EntityProtection
-
Get the entity type of this protection.
- getUID() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Get the player's identification
- getWorld() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtectionInfo
-
Get the world.
- getWorld() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the world this protection is located in.
- getWorld() - Method in interface me.angeschossen.chestprotect.api.protection.world.ChunkCoordinate
-
Get the world.
- getX() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtectionInfo
-
Get block coordinate.
- getX() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the X block coordinate of this protection.
- getX() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get the block x coordinate.
- getX() - Method in interface me.angeschossen.chestprotect.api.protection.world.ChunkCoordinate
-
Get the chunk X value.
- getX() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionChunk
-
Get x identifier of chunk
- getY() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtectionInfo
-
Get block coordinate.
- getY() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the Y block coordinate of this protection.
- getY() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get the block y coordinate.
- getZ() - Method in interface me.angeschossen.chestprotect.api.protection.block.BlockProtectionInfo
-
Get block coordinate.
- getZ() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Get the Z block coordinate of this protection.
- getZ() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get the block z coordinate.
- getZ() - Method in interface me.angeschossen.chestprotect.api.protection.world.ChunkCoordinate
-
Get the chunk Z value.
- getZ() - Method in interface me.angeschossen.chestprotect.api.protection.world.ProtectionChunk
-
Get z identifier of chunk
H
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Required by Bukkit's event system.
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.protection.ProtectionCreatedEvent
-
Required by Bukkit's event system.
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.protection.ProtectionDeletedEvent
-
Required by Bukkit's event system.
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.ProtectionChunkAddedEvent
-
Required by Bukkit's event system.
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.ProtectionChunkDeletedEvent
-
Required by Bukkit's event system.
- handlerList - Static variable in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Required by Bukkit's event system.
- hasData() - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Check if the player has any protections or any changed (different than default) flags.
- hasFlag(PlayerFlag) - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Check if a player has a specific flag set.
- hasFlag(ProtectionFlag) - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Check if a protection has a flag set.
- hashCode() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- hasItem(ItemStack) - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Check if this item belongs to the 3rd party item.
- hasTarget(LimitTarget) - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- HOLOGRAM - Enum constant in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Display a hologram above the protection showing ownership information.
- HOPPER_TRANSFER - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether hoppers may transfer items in/out of a protection.
I
- id - Variable in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Numerical identifier used for serialization.
- init(ChestProtectAPI, Factory) - Static method in class me.angeschossen.chestprotect.api.handler.APIHandler
-
Initialize the handler.
- initialize() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- initialize() - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.
- isCancelled() - Method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
- isCancelled() - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
- isEnabled() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- isEnabled() - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.
- isProtectable(Block) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- isProtectable(Block) - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.Check if the given block can be protected.
- isProtectableBlock(Material) - Method in interface me.angeschossen.chestprotect.api.protection.ProtectionManager
-
Check if block is protectable.
- isProtectableEntity(EntityType) - Method in interface me.angeschossen.chestprotect.api.protection.ProtectionManager
-
Check if block is protectable.
- isProtected(Location) - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddonExample
-
Deprecated.Check if block is protected.
- isPublic() - Method in class me.angeschossen.chestprotect.api.addons.ChestProtectAddon
-
Deprecated.
- isPublic() - Method in interface me.angeschossen.chestprotect.api.addons.ChestProtectAddons
-
Deprecated.
- isTrusted(UUID) - Method in interface me.angeschossen.chestprotect.api.protection.MemberHolder
-
Check if the player is trusted.
L
- Limit - Enum Class in me.angeschossen.chestprotect.api.limits
-
Protection-related limits that can be configured per player via permissions or the database.
- LimitMode - Enum Class in me.angeschossen.chestprotect.api.limits
-
Determines how protection limits are resolved for a player.
- LimitTarget - Enum Class in me.angeschossen.chestprotect.api.limits
-
Defines what entity a limit applies to.
M
- ManagementFlag - Class in me.angeschossen.chestprotect.api.protection.flag
-
A management flag that controls whether players may perform a specific management action on a protection (e.g.
- ManagementFlag(Plugin, String) - Constructor for class me.angeschossen.chestprotect.api.protection.flag.ManagementFlag
-
Create a new management flag.
- me.angeschossen.chestprotect.api - package me.angeschossen.chestprotect.api
- me.angeschossen.chestprotect.api.addons - package me.angeschossen.chestprotect.api.addons
- me.angeschossen.chestprotect.api.events - package me.angeschossen.chestprotect.api.events
- me.angeschossen.chestprotect.api.events.protection - package me.angeschossen.chestprotect.api.events.protection
- me.angeschossen.chestprotect.api.exceptions - package me.angeschossen.chestprotect.api.exceptions
- me.angeschossen.chestprotect.api.handler - package me.angeschossen.chestprotect.api.handler
- me.angeschossen.chestprotect.api.limits - package me.angeschossen.chestprotect.api.limits
- me.angeschossen.chestprotect.api.player - package me.angeschossen.chestprotect.api.player
- me.angeschossen.chestprotect.api.player.flag - package me.angeschossen.chestprotect.api.player.flag
- me.angeschossen.chestprotect.api.protection - package me.angeschossen.chestprotect.api.protection
- me.angeschossen.chestprotect.api.protection.block - package me.angeschossen.chestprotect.api.protection.block
- me.angeschossen.chestprotect.api.protection.entity - package me.angeschossen.chestprotect.api.protection.entity
- me.angeschossen.chestprotect.api.protection.enums - package me.angeschossen.chestprotect.api.protection.enums
- me.angeschossen.chestprotect.api.protection.flag - package me.angeschossen.chestprotect.api.protection.flag
- me.angeschossen.chestprotect.api.protection.hook - package me.angeschossen.chestprotect.api.protection.hook
- me.angeschossen.chestprotect.api.protection.world - package me.angeschossen.chestprotect.api.protection.world
- MemberHolder - Interface in me.angeschossen.chestprotect.api.protection
-
Represents an entity that has an owner and a list of trusted players.
N
- Nameable - Interface in me.angeschossen.chestprotect.api.protection
-
Represents an entity that can have a custom display name.
- NOTIFICATIONS - Enum constant in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Get information about a protection when interacting with it.
O
- OPEN - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may open (access) a protection.
P
- PERMISSION - Enum constant in enum class me.angeschossen.chestprotect.api.limits.LimitMode
-
Limits are derived from the player's permissions.
- PERSISTENT_LOCK - Enum constant in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Dont disable lock mode until "/cp lock" or "/cp exit" is executed again.
- PERSISTENT_TRUST - Enum constant in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Dont disable trust mode until "/cp lock" or "/cp exit" is executed again.
- PLAYER - Enum constant in enum class me.angeschossen.chestprotect.api.limits.LimitTarget
-
The limit applies per player.
- PLAYER_BLOCKS - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Maximum amount of blocks a player can protect.
- PLAYER_BLOCKS_FREE - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Amount of blocks a player can protect for free.
- PLAYER_ENTITIES - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Amount of entities a player can protect.
- PLAYER_ENTITIES_FREE - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Amount of entities a player can protect for free.
- PLAYER_GROUPS - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Amount of groups a player can create.
- PLAYER_SETROLE - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may change the role of a trusted member.
- PLAYER_TRUST - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may trust another player on a protection.
- PLAYER_UNTRUST - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may untrust another player from a protection.
- PlayerFlag - Enum Class in me.angeschossen.chestprotect.api.player.flag
-
Used to customize a players experience.
- PlayerOpenProtectionEvent - Class in me.angeschossen.chestprotect.api.events
-
Called whenever a player opens a protection.
- PlayerOpenProtectionEvent(ProtectPlayer, BlockProtection) - Constructor for class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Create an instance of this event.
- Protection - Interface in me.angeschossen.chestprotect.api.protection
-
Represents a protection on a block or entity, owned by a player.
- PROTECTION - Enum constant in enum class me.angeschossen.chestprotect.api.limits.LimitTarget
-
The limit applies per protection.
- PROTECTION_MEMBERS - Enum constant in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Amount of members a player can add to a protection or group.
- ProtectionChunk - Interface in me.angeschossen.chestprotect.api.protection.world
-
Represents a chunk that contains at least one block protection.
- ProtectionChunkAddedEvent - Class in me.angeschossen.chestprotect.api.events
-
Called whenever a protection is created in a chunk that has no protections yet.
- ProtectionChunkAddedEvent(ProtectionChunk) - Constructor for class me.angeschossen.chestprotect.api.events.ProtectionChunkAddedEvent
-
Construct the event.
- ProtectionChunkDeletedEvent - Class in me.angeschossen.chestprotect.api.events
-
Called whenever the last protection of a chunk was deleted.
- ProtectionChunkDeletedEvent(ProtectionChunk) - Constructor for class me.angeschossen.chestprotect.api.events.ProtectionChunkDeletedEvent
-
Construct the event.
- ProtectionCreatedEvent - Class in me.angeschossen.chestprotect.api.events.protection
-
Called after a protection has been successfully created.
- ProtectionCreatedEvent(Protection) - Constructor for class me.angeschossen.chestprotect.api.events.protection.ProtectionCreatedEvent
-
Construct the event.
- ProtectionDeletedEvent - Class in me.angeschossen.chestprotect.api.events.protection
-
Called after a protection has been deleted.
- ProtectionDeletedEvent(Protection) - Constructor for class me.angeschossen.chestprotect.api.events.protection.ProtectionDeletedEvent
-
Construct the event.
- ProtectionEvent - Class in me.angeschossen.chestprotect.api.events.protection
-
Base class for all events related to a
Protection. - ProtectionEvent(Protection) - Constructor for class me.angeschossen.chestprotect.api.events.protection.ProtectionEvent
-
Construct the event.
- ProtectionFlag - Enum Class in me.angeschossen.chestprotect.api.protection.flag
-
Flags used to restrict more general and world related events.
- ProtectionHook - Class in me.angeschossen.chestprotect.api.protection.hook
-
Allows 3rd party plugins to create and manage protections.
- ProtectionHook(Plugin) - Constructor for class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Create an instance of your protection hook.
- ProtectionHook(Plugin, ProtectionHook.Data) - Constructor for class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Create an instance of your protection hook.
- ProtectionHook.Data - Class in me.angeschossen.chestprotect.api.protection.hook
-
Holds information about hook.
- ProtectionHookHolder - Interface in me.angeschossen.chestprotect.api.protection.hook
-
Protections that implement this interface can be managed by 3rd party plugins.
- ProtectionManager - Interface in me.angeschossen.chestprotect.api.protection
-
Manages creation and lookup of block and entity protections.
- ProtectionPreCreationEvent - Class in me.angeschossen.chestprotect.api.events
-
Called before the protection is being created.
- ProtectionPreCreationEvent(Location, ProtectPlayer, Type) - Constructor for class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
-
Construct the event.
- ProtectionType - Enum Class in me.angeschossen.chestprotect.api.protection
-
The type of protection — either a block or an entity.
- ProtectionWorld - Interface in me.angeschossen.chestprotect.api.protection.world
-
Represents a world that contains block and entity protections.
- ProtectOfflinePlayer - Interface in me.angeschossen.chestprotect.api.player
-
Represents a player's ChestProtect data.
- ProtectPlayer - Interface in me.angeschossen.chestprotect.api.player
-
Represents players currently connected to your server.
- PUBLIC_INSERT - Enum constant in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Allow any player to insert items into the protection without being trusted.
- PUBLIC_TAKE - Enum constant in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Allow any player to take items from the protection without being trusted.
R
- REDSTONE - Enum constant in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Allow redstone signals to interact with the protection.
- register() - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook
-
Register this protection hook.
- registerFlag(T) - Method in interface me.angeschossen.chestprotect.api.protection.flag.FlagRegistry
-
Register a new role flag.
- registerModifier(LimitModifier...) - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- registerProtectionHook(ProtectionHook) - Method in interface me.angeschossen.chestprotect.api.handler.Factory
-
Register a protection hook so it can be retrieved by ID.
- removeProtectionHook() - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Remove the current protection hook.
S
- setCancelled(boolean) - Method in class me.angeschossen.chestprotect.api.events.PlayerOpenProtectionEvent
-
Deprecated.
- setCancelled(boolean) - Method in class me.angeschossen.chestprotect.api.events.ProtectionPreCreationEvent
- setDefaultState(boolean) - Method in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Set the default state of this flag for newly created protections.
- setProtectionHook(ProtectionHook) - Method in interface me.angeschossen.chestprotect.api.protection.hook.ProtectionHookHolder
-
Set the protection hook.
- setTime(long) - Method in class me.angeschossen.chestprotect.api.protection.hook.ProtectionHook.Data
-
Set last seen time.
T
- toggleFlag(PlayerFlag) - Method in interface me.angeschossen.chestprotect.api.player.ProtectOfflinePlayer
-
Toggle a flag for the player.
- toggleFlag(ProtectionFlag) - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Toggle a flag for this protection.
- TrustedThroughGroupException - Exception Class in me.angeschossen.chestprotect.api.exceptions
-
Thrown when you try to modify a player at a protection, but the player is trusted through a group (
Group). - TrustedThroughGroupException() - Constructor for exception class me.angeschossen.chestprotect.api.exceptions.TrustedThroughGroupException
-
Creates the exception with a descriptive message.
- trustPlayer(UUID) - Method in interface me.angeschossen.chestprotect.api.protection.MemberHolder
-
Trust a player
- type() - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Get the type of protection.
- Type - Enum Class in me.angeschossen.chestprotect.api.protection.enums
-
Describes the type of protection.
U
- UNLOCK - Static variable in class me.angeschossen.chestprotect.api.protection.flag.Flags
-
Flag that controls whether a player may unlock (delete) a protection.
- unregisterModifier(LimitModifier...) - Method in enum class me.angeschossen.chestprotect.api.limits.Limit
- untrustPlayer(UUID) - Method in interface me.angeschossen.chestprotect.api.protection.Protection
-
Untrust a player that is trusted directly to this protection.
V
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.limits.LimitMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.limits.LimitTarget
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.protection.enums.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.angeschossen.chestprotect.api.protection.ProtectionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.angeschossen.chestprotect.api.limits.Limit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.limits.LimitMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.limits.LimitTarget
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.player.flag.PlayerFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.protection.enums.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.protection.flag.ProtectionFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.angeschossen.chestprotect.api.protection.ProtectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form
ChestProtectAPIinstead