Index
All Classes and Interfaces|All Packages
A
- ATTACK_PASSIVE_MOB - Enum constant in enum class org.tan.api.enums.EChunkPermission
B
- BREAK_BLOCK - Enum constant in enum class org.tan.api.enums.EChunkPermission
C
- canBeGriefByExplosion() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if the chunk can be griefed by explosions.
- canBeGriefByFire() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if the chunk can be griefed by fire.
- canClaim(TanTerritory) - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if the territory can claim the chunk.
- canPlayerDoAction(TanPlayer, EChunkPermission, Location) - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if the player can do the action in the chunk.
- canPlayerDoAction(TanPlayer, ETownPermission) - Method in interface org.tan.api.interfaces.TanTerritory
-
Check if the player has the permission to do the action in the territory If the player is not a member of the territory, it will always return false.
- canPvpHappen() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if pvp can happen in the chunk.
- claim(TanTerritory) - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Claim the chunk by a territory.
- CLAIM_CHUNK - Enum constant in enum class org.tan.api.enums.ETownPermission
- CREATE_PROPERTY - Enum constant in enum class org.tan.api.enums.ETownPermission
- CREATE_RANK - Enum constant in enum class org.tan.api.enums.ETownPermission
- createLandmark(double, double, double, String) - Method in interface org.tan.api.getters.TanLandmarkManager
-
Create a new landmark
The landmark will be saved to the configuration and can be accessible from the API - createLandmark(double, double, double, UUID) - Method in interface org.tan.api.getters.TanLandmarkManager
-
Create a new landmark
The landmark will be saved to the configuration and can be accessible from the API - createLandmark(Location) - Method in interface org.tan.api.getters.TanLandmarkManager
-
Create a new landmark
The landmark will be saved to the configuration and can be accessible from the API
D
- DELETE_RANK - Enum constant in enum class org.tan.api.enums.ETownPermission
E
- EChunkPermission - Enum Class in org.tan.api.enums
- ETownPermission - Enum Class in org.tan.api.enums
G
- get(String) - Method in interface org.tan.api.getters.TanPlayerManager
-
Get a player by name
This method will useBukkit.getOfflinePlayer(String)
to get the player - get(UUID) - Method in interface org.tan.api.getters.TanPlayerManager
-
Get a player by UUID
- get(Player) - Method in interface org.tan.api.getters.TanPlayerManager
-
Get a player by
Player
If the player is not yet registered, it will be registered and returned. - get(OfflinePlayer) - Method in interface org.tan.api.getters.TanPlayerManager
-
Get a player by
OfflinePlayer
If the player is not yet registered, it will be registered and returned. - getAll() - Method in interface org.tan.api.getters.TanPlayerManager
- getCapital() - Method in interface org.tan.api.interfaces.TanRegion
- getClaimedChunk(Block) - Method in interface org.tan.api.getters.TanClaimManager
- getClaimedChunk(Location) - Method in interface org.tan.api.getters.TanClaimManager
- getClaimedChunks() - Method in interface org.tan.api.interfaces.TanTerritory
- getClaimManager() - Method in class org.tan.api.TanAPI
- getColor() - Method in interface org.tan.api.interfaces.TanTerritory
-
Get the color of the territory
- getCreationDate() - Method in interface org.tan.api.interfaces.TanTerritory
- getDescription() - Method in interface org.tan.api.interfaces.TanTerritory
- getFirstCorner() - Method in interface org.tan.api.interfaces.TanProperty
- getIcon() - Method in interface org.tan.api.interfaces.TanTerritory
- getID() - Method in interface org.tan.api.interfaces.TanLandmark
- getID() - Method in interface org.tan.api.interfaces.TanTerritory
- getInstance() - Static method in class org.tan.api.TanAPI
-
TanAPI entry point
- getItem() - Method in interface org.tan.api.interfaces.TanLandmark
- getLandmark(String) - Method in interface org.tan.api.getters.TanLandmarkManager
-
Get a landmark by name
It is recommended to use the UUID instead of the name in case duplicate names are allowed in the configuration - getLandmark(UUID) - Method in interface org.tan.api.getters.TanLandmarkManager
-
Get a landmark by UUID
- getLandmarkManager() - Method in class org.tan.api.TanAPI
- getLandmarks() - Method in interface org.tan.api.getters.TanLandmarkManager
-
Get all landmarks
- getLandmarksOwned() - Method in interface org.tan.api.interfaces.TanTown
- getLevel() - Method in interface org.tan.api.interfaces.TanTown
- getLocation() - Method in interface org.tan.api.interfaces.TanLandmark
- getMembers() - Method in interface org.tan.api.interfaces.TanTerritory
- getMinimumSupportingMapPlugin() - Method in class org.tan.api.TanAPI
-
Get the minimum supporting map plugin version, used for ensuring compatibility with the map plugin
- getName() - Method in interface org.tan.api.interfaces.TanLandmark
- getName() - Method in interface org.tan.api.interfaces.TanProperty
- getName() - Method in interface org.tan.api.interfaces.TanTerritory
- getNameStored() - Method in interface org.tan.api.interfaces.TanPlayer
-
Get the player name stored in the configuration.
- getNumberOfClaimedChunk() - Method in interface org.tan.api.interfaces.TanTerritory
- getOverlord() - Method in interface org.tan.api.interfaces.TanTerritory
- getOwner() - Method in interface org.tan.api.interfaces.TanLandmark
- getOwner() - Method in interface org.tan.api.interfaces.TanProperty
- getOwner() - Method in interface org.tan.api.interfaces.TanTerritory
- getOwnerID() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Return the ID of the owner of the chunk.
- getOwnerUUID() - Method in interface org.tan.api.interfaces.TanTerritory
- getPlayerManager() - Method in class org.tan.api.TanAPI
- getPluginVersion() - Method in class org.tan.api.TanAPI
- getProperties() - Method in interface org.tan.api.interfaces.TanTown
- getPropertiesForSale() - Method in interface org.tan.api.interfaces.TanPlayer
- getPropertiesOwned() - Method in interface org.tan.api.interfaces.TanPlayer
- getPropertiesRented() - Method in interface org.tan.api.interfaces.TanPlayer
- getQuantity() - Method in interface org.tan.api.interfaces.TanLandmark
- getRegion() - Method in interface org.tan.api.interfaces.TanPlayer
-
Get the region the player is part of.
- getRegion(String) - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get a region by its ID
- getRegionByName(String) - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get a region by its name
It is recommended to use the UUID instead of the name because names duplicate can happen if the option is enabled in the configuration - getRegions() - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get all the regions
- getRenter() - Method in interface org.tan.api.interfaces.TanProperty
- getRentPrice() - Method in interface org.tan.api.interfaces.TanProperty
- getSalePrice() - Method in interface org.tan.api.interfaces.TanProperty
- getSecondCorner() - Method in interface org.tan.api.interfaces.TanProperty
- getTerritoryManager() - Method in class org.tan.api.TanAPI
- getTerritoryOfBlock(Block) - Method in interface org.tan.api.getters.TanClaimManager
-
Get the territory own a block.
- getTown() - Method in interface org.tan.api.interfaces.TanPlayer
-
Get the town the player is part of.
- getTown(String) - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get a town by its ID
- getTownByName(String) - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get a town by its name
It is recommended to use the UUID instead of the name because names duplicate can happen if the option is enabled in the configuration - getTowns() - Method in interface org.tan.api.getters.TanTerritoryManager
-
Get all the towns
- getUUID() - Method in interface org.tan.api.interfaces.TanPlayer
-
Get the player UUID.
- getVassals() - Method in interface org.tan.api.interfaces.TanTerritory
- getworldName() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Return the world name of the chunk.
- getWorldUUID() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Return the world UUID of the chunk.
- getX() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Return the x position of the chunk.
- getZ() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Return the z position of the chunk.
H
- hasRegion() - Method in interface org.tan.api.interfaces.TanPlayer
- hasTown() - Method in interface org.tan.api.interfaces.TanPlayer
- haveOverlord() - Method in interface org.tan.api.interfaces.TanTerritory
I
- INTERACT_ARMOR_STAND - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_BERRIES - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_BOAT - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_BUTTON - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_CHEST - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_DECORATIVE_BLOCK - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_DOOR - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_FURNACE - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_ITEM_FRAME - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_MINECART - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_MUSIC_BLOCK - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INTERACT_REDSTONE - Enum constant in enum class org.tan.api.enums.EChunkPermission
- INVITE_PLAYER - Enum constant in enum class org.tan.api.enums.ETownPermission
- isBlockClaimed(Block) - Method in interface org.tan.api.getters.TanClaimManager
-
Check if a block is claimed by a territory or a landmark.
- isClaimed() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Check if the chunk is currently being claimed by a territory.
- isForRent() - Method in interface org.tan.api.interfaces.TanProperty
- isForSale() - Method in interface org.tan.api.interfaces.TanProperty
- isOwned() - Method in interface org.tan.api.interfaces.TanLandmark
- isRented() - Method in interface org.tan.api.interfaces.TanProperty
K
- KICK_PLAYER - Enum constant in enum class org.tan.api.enums.ETownPermission
M
- MANAGE_CLAIM_SETTINGS - Enum constant in enum class org.tan.api.enums.ETownPermission
- MANAGE_MOB_SPAWN - Enum constant in enum class org.tan.api.enums.ETownPermission
- MANAGE_PROPERTY - Enum constant in enum class org.tan.api.enums.ETownPermission
- MANAGE_RANKS - Enum constant in enum class org.tan.api.enums.ETownPermission
- MANAGE_TAXES - Enum constant in enum class org.tan.api.enums.ETownPermission
- MANAGE_TOWN_RELATION - Enum constant in enum class org.tan.api.enums.ETownPermission
O
- org.tan.api - package org.tan.api
- org.tan.api.enums - package org.tan.api.enums
- org.tan.api.getters - package org.tan.api.getters
- org.tan.api.interfaces - package org.tan.api.interfaces
P
- PLACE_BLOCK - Enum constant in enum class org.tan.api.enums.EChunkPermission
R
- register(TanAPI) - Static method in class org.tan.api.TanAPI
-
Register the TanAPI instance This method should never be called outside the TanAPI implementation
- removeOwnership() - Method in interface org.tan.api.interfaces.TanLandmark
-
Remove ownership of the landmark.
S
- setColor(Color) - Method in interface org.tan.api.interfaces.TanTerritory
-
Set the color of the territory
- setDescription(String) - Method in interface org.tan.api.interfaces.TanTerritory
-
Set the description of the territory
- setItem(ItemStack) - Method in interface org.tan.api.interfaces.TanLandmark
-
Set the item produced by the landmark.
- setName(String) - Method in interface org.tan.api.interfaces.TanLandmark
-
Set the name of the landmark.
- setName(String) - Method in interface org.tan.api.interfaces.TanTerritory
-
Set the name of the territory
- setNameStored(String) - Method in interface org.tan.api.interfaces.TanPlayer
-
Set the player name stored in the configuration.
- setOwner(UUID) - Method in interface org.tan.api.interfaces.TanLandmark
-
Set the owner of the landmark.
- setOwner(TanTerritory) - Method in interface org.tan.api.interfaces.TanLandmark
-
Set the owner of the landmark.
- setQuantity(int) - Method in interface org.tan.api.interfaces.TanLandmark
-
Set the quantity of items produced each day by the landmark.
T
- TanAPI - Class in org.tan.api
-
The main entry point to the TanAPI.
- TanAPI() - Constructor for class org.tan.api.TanAPI
- TanClaimedChunk - Interface in org.tan.api.interfaces
- TanClaimManager - Interface in org.tan.api.getters
-
The TanClaimManager interface provides methods for managing block claims within the application.
- TanLandmark - Interface in org.tan.api.interfaces
- TanLandmarkManager - Interface in org.tan.api.getters
-
The TanLandmarkManager interface provides methods for accessing and managing landmarks within the application.
- TanPlayer - Interface in org.tan.api.interfaces
- TanPlayerManager - Interface in org.tan.api.getters
-
The TanPlayerManager interface provides methods for accessing and managing player-related content within the application.
- TanProperty - Interface in org.tan.api.interfaces
- TanRegion - Interface in org.tan.api.interfaces
- TanTerritory - Interface in org.tan.api.interfaces
- TanTerritoryManager - Interface in org.tan.api.getters
-
The TanTerritoryManager interface provides methods for accessing and managing territories within the application.
- TanTown - Interface in org.tan.api.interfaces
- TOWN_ADMINISTRATOR - Enum constant in enum class org.tan.api.enums.ETownPermission
U
- unclaim() - Method in interface org.tan.api.interfaces.TanClaimedChunk
-
Unclaim the chunk.
- UNCLAIM_CHUNK - Enum constant in enum class org.tan.api.enums.ETownPermission
- UPGRADE_TOWN - Enum constant in enum class org.tan.api.enums.ETownPermission
- USE_BONE_MEAL - Enum constant in enum class org.tan.api.enums.EChunkPermission
- USE_LEAD - Enum constant in enum class org.tan.api.enums.EChunkPermission
- USE_SHEARS - Enum constant in enum class org.tan.api.enums.EChunkPermission
V
- valueOf(String) - Static method in enum class org.tan.api.enums.EChunkPermission
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.tan.api.enums.ETownPermission
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.tan.api.enums.EChunkPermission
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.tan.api.enums.ETownPermission
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages