Index
All Classes and Interfaces|All Packages
A
- acceptCallback() - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
Accepts the callback, this then lets the event continue.
- addConfigBlacklist(String, List<String>) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
-
Add blacklist paths and sections for the config file.
- addSubCommand(TCommand) - Method in interface com.olziedev.playertreasury.api.treasury.command.CommandRegistry
-
Register a sub-command to the registry.
- api - Variable in class com.olziedev.playertreasury.api.expansion.Expansion
-
This variable is initialised when the expansion has been loaded and returns the API instance.
- apis - Static variable in interface com.olziedev.playertreasury.api.treasury.TConfig
B
- BALANCE_TAX - Enum constant in enum com.olziedev.playertreasury.api.treasury.TaxType
-
This constant is for balance tax.
- BukkitChunk - Class in com.olziedev.playertreasury.api.scheduler.wrapped.chunk
-
Represents a chunk in the world.
- BukkitChunk(Chunk) - Constructor for class com.olziedev.playertreasury.api.scheduler.wrapped.chunk.BukkitChunk
C
- callEvent(T, Consumer<T>, boolean) - Static method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
Calls the event and runs the callback.
- cancel() - Method in class com.olziedev.playertreasury.api.scheduler.wrapped.task.FutureTask
- cancel() - Method in interface com.olziedev.playertreasury.api.scheduler.wrapped.task.PluginTask
-
Cancels the task.
- cancelAllTasks() - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to cancel all the tasks.
- com.olziedev.playertreasury.api - package com.olziedev.playertreasury.api
-
All the generalized objects within the API.
- com.olziedev.playertreasury.api.events - package com.olziedev.playertreasury.api.events
-
All warp event objects that are triggered within the plugin.
- com.olziedev.playertreasury.api.events.expansion - package com.olziedev.playertreasury.api.events.expansion
-
All treasury events that are triggered for expansions.
- com.olziedev.playertreasury.api.expansion - package com.olziedev.playertreasury.api.expansion
-
All expansion based objects that expose methods for external plugins to hook into.
- com.olziedev.playertreasury.api.player - package com.olziedev.playertreasury.api.player
-
All player based objects that handles and manages data.
- com.olziedev.playertreasury.api.scheduler - package com.olziedev.playertreasury.api.scheduler
-
All scheduler based objects that are used in the plugin.
- com.olziedev.playertreasury.api.scheduler.wrapped.chunk - package com.olziedev.playertreasury.api.scheduler.wrapped.chunk
-
All wrapped chunk objects that are used for the scheduler.
- com.olziedev.playertreasury.api.scheduler.wrapped.task - package com.olziedev.playertreasury.api.scheduler.wrapped.task
-
All wrapped task objects that are used for the scheduler.
- com.olziedev.playertreasury.api.treasury - package com.olziedev.playertreasury.api.treasury
-
All treasury based objects that handles and manages data.
- com.olziedev.playertreasury.api.treasury.command - package com.olziedev.playertreasury.api.treasury.command
-
All command based objects that handles and manages sub-commands.
- CommandRegistry - Interface in com.olziedev.playertreasury.api.treasury.command
-
Handles and manages all sub-commands for the plugin.
- config - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps config instance.
- CONSOLE_ONLY - Enum constant in enum com.olziedev.playertreasury.api.treasury.command.TCommand.ExecutorType
-
Only console can execute the command.
- CORPORATE_TAX - Enum constant in enum com.olziedev.playertreasury.api.treasury.TaxType
-
This constant is for corporate tax.
- createConfigItem(ConfigurationSection, boolean) - Method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
-
Use the plugin create item method for all type item creation support.
D
- DEBT - Enum constant in enum com.olziedev.playertreasury.api.treasury.TaxType
-
This constant is for debt.
- description - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
The description of the command.
E
- execute(CommandSender, String[]) - Method in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
This method is called when the command has been executed by its sender.
- executeCommand(Player, String) - Method in interface com.olziedev.playertreasury.api.treasury.command.CommandRegistry
-
Execute a config command with the correct syntax.
- executeExpansionAction(Class<T>, Consumer<? super T>) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Execute a consumer action on the specified implementation.
- executorType - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
This determines the allowed executor type for this command, if you wish for there to be no restriction, set it to null (default value).
- Expansion - Class in com.olziedev.playertreasury.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - Expansion() - Constructor for class com.olziedev.playertreasury.api.expansion.Expansion
- expansionConfig - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps expansion config instance.
- ExpansionEvent - Class in com.olziedev.playertreasury.api.events.expansion
-
Handles all expansion type events.
- ExpansionEvent(PluginExpansion) - Constructor for class com.olziedev.playertreasury.api.events.expansion.ExpansionEvent
- ExpansionEvent(PluginExpansion, boolean) - Constructor for class com.olziedev.playertreasury.api.events.expansion.ExpansionEvent
- ExpansionRegistry - Class in com.olziedev.playertreasury.api.expansion
-
Handles and manages all expansions for the plugin.
- ExpansionRegistry() - Constructor for class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
F
- file - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the file of the expansion.
- formatNumber(double) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
- formatNumber(double, boolean) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
- formatNumberShort(double) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
- FutureTask - Class in com.olziedev.playertreasury.api.scheduler.wrapped.task
- FutureTask() - Constructor for class com.olziedev.playertreasury.api.scheduler.wrapped.task.FutureTask
G
- getBlock(int, int, int) - Method in class com.olziedev.playertreasury.api.scheduler.wrapped.chunk.BukkitChunk
-
Gets the block at the specified coordinates.
- getChunkAsync(Location, Consumer<BukkitChunk>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to get a chunk asynchronously when possible.
- getClazzLoader() - Method in class com.olziedev.playertreasury.api.OlziePluginAPI
- getCommandRegistry() - Method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
- getCommands() - Method in interface com.olziedev.playertreasury.api.treasury.command.CommandRegistry
-
Retrieve a list of all the sub-commands added via
CommandRegistry.addSubCommand(TCommand)
This doesn't include internal sub-commands provided by the plugin. - getExpansion() - Method in class com.olziedev.playertreasury.api.events.expansion.ExpansionEvent
- getExpansion(Class<T>) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the class specified.
- getExpansion(String) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the name specified.
- getExpansionRegistry() - Method in class com.olziedev.playertreasury.api.OlziePluginAPI
- getExpansionRegistry() - Method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
- getExpansions() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions.
- getExpansions(Class<T>) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions based on the implementation specified.
- getExpansionStream(Class<T>) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve a stream of all the expansions based on the implementation specified.
- getHandlerList() - Static method in class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionLoadEvent
- getHandlerList() - Static method in class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionUnloadEvent
- getHandlers() - Method in class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionLoadEvent
- getHandlers() - Method in class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionUnloadEvent
- getInstance() - Static method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
-
Retrieve the instance of the API.
- getInstance(Consumer<PlayerTreasuryAPI>) - Static method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
-
Waits for the instance of the API when it is ready.
- getInstance(Consumer<TConfig>) - Static method in interface com.olziedev.playertreasury.api.treasury.TConfig
-
Waits for the instance of the API when it is ready.
- getLanguageValue(String) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
- getLanguageValue(UUID, String) - Method in interface com.olziedev.playertreasury.api.treasury.TConfig
- getName() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
- getName() - Method in class com.olziedev.playertreasury.api.player.TPlayer
- getOfflinePlayer() - Method in class com.olziedev.playertreasury.api.player.TPlayer
- getPlayer() - Method in class com.olziedev.playertreasury.api.player.TPlayer
- getPlayerTreasuryAPI() - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
- getPlugin() - Method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
- getPluginScheduler() - Method in class com.olziedev.playertreasury.api.OlziePluginAPI
- getTaskId() - Method in class com.olziedev.playertreasury.api.scheduler.wrapped.task.FutureTask
- getTaskId() - Method in interface com.olziedev.playertreasury.api.scheduler.wrapped.task.PluginTask
- getUUID() - Method in class com.olziedev.playertreasury.api.player.TPlayer
- getVaultExpansionChat() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionEconomy() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionPermission() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
I
- innitPlaceholders(PluginExpansion) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Initialize the placeholders for the pluginExpansion.
- instance - Static variable in interface com.olziedev.playertreasury.api.treasury.TConfig
- integrated - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns if the expansion is integrated into the plugin or if it has been manually registered using
ExpansionRegistry.registerExpansion(PluginExpansion)
- isCancelled() - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
- isCancelled() - Method in class com.olziedev.playertreasury.api.scheduler.wrapped.task.FutureTask
- isCancelled() - Method in interface com.olziedev.playertreasury.api.scheduler.wrapped.task.PluginTask
-
Checks if the task is cancelled.
- isEnabled() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
- isWaitingForCallback() - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
N
- name - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
The name of the sub-command that the player will have to enter after the main command.
- noPlaceholderAPICondition(ConfigurationSection, Function<String, String>, OfflinePlayer) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
O
- OlziePluginAPI - Class in com.olziedev.playertreasury.api
-
The main class for accessing and using the API.
- OlziePluginAPI() - Constructor for class com.olziedev.playertreasury.api.OlziePluginAPI
- onLoad() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This method will be initialised if
PluginExpansion.isEnabled()
returns true on plugin enable. - onPreLoad() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
The method that will be initialised before the entire plugin is loaded.
- onTabComplete(CommandSender, String[]) - Method in class com.olziedev.playertreasury.api.treasury.command.TCommand
- onUnload() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This method will be initialised when the addon is unloading.
- override - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
Should this command override any set sub-commands that have already been registered.
P
- permissions - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
The list of permissions for this command, a player will only need one of these and is not required to have all of them.
- PLAYER_ONLY - Enum constant in enum com.olziedev.playertreasury.api.treasury.command.TCommand.ExecutorType
-
Only players can execute the command.
- PlayerTreasuryAPI - Class in com.olziedev.playertreasury.api
-
The main class for accessing and using the API.
- PlayerTreasuryAPI() - Constructor for class com.olziedev.playertreasury.api.PlayerTreasuryAPI
- plugin - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps plugin instance.
- PluginExpansion - Class in com.olziedev.playertreasury.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - PluginExpansion() - Constructor for class com.olziedev.playertreasury.api.expansion.PluginExpansion
- PluginScheduler<T,
Z> - Class in com.olziedev.playertreasury.api.scheduler -
This class is used to schedule tasks for the plugin.
- PluginScheduler(JavaPlugin) - Constructor for class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This constructor is used to create a new plugin scheduler.
- PluginTask - Interface in com.olziedev.playertreasury.api.scheduler.wrapped.task
-
Represents a task that can be cancelled.
- postEvent() - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- postEvent(Runnable) - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
This method is called when the event is finished without having to rely on waiting a tick.
- PremiumPlugin - Interface in com.olziedev.playertreasury.api
R
- REGION_TAX - Enum constant in enum com.olziedev.playertreasury.api.treasury.TaxType
-
This constant is for region tax.
- registerCommandPlaceholder(String, Function<Player, String>) - Method in interface com.olziedev.playertreasury.api.treasury.command.CommandRegistry
-
Register a config command placeholder.
- registerExpansion(PluginExpansion) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Register an pluginExpansion to the registry.
- registry - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the registry it was loaded in.
- reloadExpansions() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Reload all the expansions from the registry.
- removeSubCommand(String) - Method in interface com.olziedev.playertreasury.api.treasury.command.CommandRegistry
-
Removes a sub-command from the registry.
- runSingleTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task on a single thread.
- runTask(Runnable) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
Ths method is used to run a task on the main thread.
- runTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously.
- runTaskAtEntity(Entity, Consumer<PluginTask>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific entity.
- runTaskAtEntityLater(Entity, Consumer<PluginTask>, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific entity after a delay.
- runTaskAtEntityTimer(Entity, Consumer<PluginTask>, long, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific entity after a delay and then repeat it.
- runTaskAtLocation(Chunk, Consumer<PluginTask>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk.
- runTaskAtLocation(Location, Consumer<PluginTask>) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific location.
- runTaskAtLocationLater(Chunk, Consumer<PluginTask>, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk after a delay.
- runTaskAtLocationLater(Location, Consumer<PluginTask>, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific location after a delay.
- runTaskAtLocationTimer(Chunk, Consumer<PluginTask>, long, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk after a delay and then repeat it.
- runTaskAtLocationTimer(Location, Consumer<PluginTask>, long, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific location after a delay and then repeat it.
- runTaskLater(Consumer<PluginTask>, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task on the main thread after a delay.
- runTaskLaterAsync(Consumer<PluginTask>, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously after a delay.
- runTaskTimer(Consumer<PluginTask>, long, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task on the main thread after a delay and then repeat it.
- runTaskTimerAsync(Consumer<PluginTask>, long, long) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously after a delay and then repeat it.
S
- schedule(Runnable, Date) - Static method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to schedule a runnable to run after a delay.
- sendMessage(CommandSender, String) - Method in class com.olziedev.playertreasury.api.PlayerTreasuryAPI
-
Use the plugin send message method for all type of syntax support.
- setCancelled(boolean) - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
- setEventCallback(Runnable) - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- setExecutors() - Static method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to setup the executors.
- setTask(Future<?>) - Method in class com.olziedev.playertreasury.api.scheduler.wrapped.task.FutureTask
-
Modifies the task to be cancelled.
- shutdownExpansions() - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Unregisters all the loaded expansions from the registry.
- syntax - Variable in class com.olziedev.playertreasury.api.treasury.command.TCommand
-
The syntax of the command.
T
- TaxType - Enum in com.olziedev.playertreasury.api.treasury
-
List of all possible tax types.
- TCommand - Class in com.olziedev.playertreasury.api.treasury.command
-
Represents a treasury sub-command that can be executed within the plugin.
- TCommand(String) - Constructor for class com.olziedev.playertreasury.api.treasury.command.TCommand
-
The constructor of the command, this does not register the command, you will need to use
CommandRegistry.addSubCommand(TCommand)
to register the command. - TCommand.ExecutorType - Enum in com.olziedev.playertreasury.api.treasury.command
-
List of all possible executor types a treasury command can have.
- TConfig - Interface in com.olziedev.playertreasury.api.treasury
-
Represents the config API for PlayerBusinesses.
- teleportAsync(Player, Location, Consumer<Boolean>, PlayerTeleportEvent.TeleportCause) - Method in class com.olziedev.playertreasury.api.scheduler.PluginScheduler
-
This method is used to teleport a player to a location asynchronously when possible.
- toString() - Method in enum com.olziedev.playertreasury.api.treasury.TaxType
- TPlayer - Class in com.olziedev.playertreasury.api.player
-
Handles and manages all the player data.
- TPlayer() - Constructor for class com.olziedev.playertreasury.api.player.TPlayer
- TreasuryEvent - Class in com.olziedev.playertreasury.api.events
-
Handles all the basic and common methods for events.
- TreasuryEvent() - Constructor for class com.olziedev.playertreasury.api.events.TreasuryEvent
- TreasuryEvent(boolean) - Constructor for class com.olziedev.playertreasury.api.events.TreasuryEvent
- TreasuryExpansionLoadEvent - Class in com.olziedev.playertreasury.api.events.expansion
-
Event that is triggered before an expansion is being loaded.
- TreasuryExpansionLoadEvent(PluginExpansion) - Constructor for class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionLoadEvent
-
This event is triggered before an expansion is loaded.
- TreasuryExpansionUnloadEvent - Class in com.olziedev.playertreasury.api.events.expansion
-
Event that is triggered before an expansion is being unloaded.
- TreasuryExpansionUnloadEvent(PluginExpansion) - Constructor for class com.olziedev.playertreasury.api.events.expansion.TreasuryExpansionUnloadEvent
-
This event is triggered before an expansion is unloaded.
U
- unload() - Method in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This method to unload the expansion from the registry.
- unregisterExpansion(String) - Method in class com.olziedev.playertreasury.api.expansion.ExpansionRegistry
-
Unregister an expansion from the registry.
V
- valueOf(String) - Static method in enum com.olziedev.playertreasury.api.treasury.command.TCommand.ExecutorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.playertreasury.api.treasury.TaxType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.olziedev.playertreasury.api.treasury.command.TCommand.ExecutorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.playertreasury.api.treasury.TaxType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class com.olziedev.playertreasury.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the version of the expansion.
W
- waitForCallback(boolean) - Method in class com.olziedev.playertreasury.api.events.TreasuryEvent
-
This method allows you to wait for the plugins event to continue after you call
TreasuryEvent.acceptCallback()
.
All Classes and Interfaces|All Packages