Index
All Classes and Interfaces|All Packages
A
- acceptCallback() - Method in class com.olziedev.playertrade.api.events.TradeEvent
-
Accepts the callback, this then lets the event continue.
- addConfigBlacklist(String, List<String>) - Method in interface com.olziedev.playertrade.api.trade.TConfig
-
Add blacklist paths and sections for the config file.
- addSubCommand(TCommand) - Method in interface com.olziedev.playertrade.api.trade.command.CommandRegistry
-
Register a sub-command to the registry.
- api - Variable in class com.olziedev.playertrade.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.playertrade.api.trade.TConfig
B
- BukkitChunk - Class in com.olziedev.playertrade.api.scheduler.wrapped.chunk
-
Represents a chunk in the world.
- BukkitChunk(Chunk) - Constructor for class com.olziedev.playertrade.api.scheduler.wrapped.chunk.BukkitChunk
C
- callEvent(T, Consumer<T>, boolean) - Static method in class com.olziedev.playertrade.api.events.TradeEvent
-
Calls the event and runs the callback.
- cancel() - Method in class com.olziedev.playertrade.api.scheduler.wrapped.task.FutureTask
- cancel() - Method in interface com.olziedev.playertrade.api.scheduler.wrapped.task.PluginTask
-
Cancels the task.
- cancelAllTasks() - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to cancel all the tasks.
- com.olziedev.playertrade.api - package com.olziedev.playertrade.api
-
All the generalized objects within the API.
- com.olziedev.playertrade.api.events - package com.olziedev.playertrade.api.events
-
All warp event objects that are triggered within the plugin.
- com.olziedev.playertrade.api.events.expansion - package com.olziedev.playertrade.api.events.expansion
-
All trade events that are triggered for expansions.
- com.olziedev.playertrade.api.events.menu - package com.olziedev.playertrade.api.events.menu
-
All warp events that are triggered for menus.
- com.olziedev.playertrade.api.events.update - package com.olziedev.playertrade.api.events.update
-
All trade events that are triggered on an update.
- com.olziedev.playertrade.api.expansion - package com.olziedev.playertrade.api.expansion
-
All expansion based objects that expose methods for external plugins to hook into.
- com.olziedev.playertrade.api.scheduler - package com.olziedev.playertrade.api.scheduler
-
All scheduler based objects that are used in the plugin.
- com.olziedev.playertrade.api.scheduler.wrapped.chunk - package com.olziedev.playertrade.api.scheduler.wrapped.chunk
-
All wrapped chunk objects that are used for the scheduler.
- com.olziedev.playertrade.api.scheduler.wrapped.task - package com.olziedev.playertrade.api.scheduler.wrapped.task
-
All wrapped task objects that are used for the scheduler.
- com.olziedev.playertrade.api.trade - package com.olziedev.playertrade.api.trade
-
All trade based objects that handles and manages data.
- com.olziedev.playertrade.api.trade.command - package com.olziedev.playertrade.api.trade.command
-
All command based objects that handles and manages sub-commands.
- CommandRegistry - Interface in com.olziedev.playertrade.api.trade.command
-
Handles and manages all sub-commands for the plugin.
- config - Variable in class com.olziedev.playertrade.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.playertrade.api.trade.command.TCommand.ExecutorType
-
Only console can execute the command.
- createConfigItem(ConfigurationSection, boolean) - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
-
Use the plugin create item method for all type item creation support.
D
- description - Variable in class com.olziedev.playertrade.api.trade.command.TCommand
-
The description of the command.
E
- execute(CommandSender, String[]) - Method in class com.olziedev.playertrade.api.trade.command.TCommand
-
This method is called when the command has been executed by its sender.
- executeCommand(Player, String) - Method in interface com.olziedev.playertrade.api.trade.command.CommandRegistry
-
Execute a config command with the correct syntax.
- executeExpansionAction(Class<T>, Consumer<? super T>) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Execute a consumer action on the specified implementation.
- executorType - Variable in class com.olziedev.playertrade.api.trade.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.playertrade.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - Expansion() - Constructor for class com.olziedev.playertrade.api.expansion.Expansion
- expansionConfig - Variable in class com.olziedev.playertrade.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.playertrade.api.events.expansion
-
Handles all expansion type events.
- ExpansionEvent(PluginExpansion) - Constructor for class com.olziedev.playertrade.api.events.expansion.ExpansionEvent
- ExpansionEvent(PluginExpansion, boolean) - Constructor for class com.olziedev.playertrade.api.events.expansion.ExpansionEvent
- ExpansionRegistry - Class in com.olziedev.playertrade.api.expansion
-
Handles and manages all expansions for the plugin.
- ExpansionRegistry() - Constructor for class com.olziedev.playertrade.api.expansion.ExpansionRegistry
F
- file - Variable in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the file of the expansion.
- FIND - Enum constant in enum com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent.MenuType
- formatNumber(double) - Method in interface com.olziedev.playertrade.api.trade.TConfig
- formatNumber(double, boolean) - Method in interface com.olziedev.playertrade.api.trade.TConfig
- formatNumberShort(double) - Method in interface com.olziedev.playertrade.api.trade.TConfig
- FutureTask - Class in com.olziedev.playertrade.api.scheduler.wrapped.task
- FutureTask() - Constructor for class com.olziedev.playertrade.api.scheduler.wrapped.task.FutureTask
G
- getBlock(int, int, int) - Method in class com.olziedev.playertrade.api.scheduler.wrapped.chunk.BukkitChunk
-
Gets the block at the specified coordinates.
- getBuyPrice() - Method in class com.olziedev.playertrade.api.trade.Shop
- getChunkAsync(Location, Consumer<BukkitChunk>) - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to get a chunk asynchronously when possible.
- getClazzLoader() - Method in class com.olziedev.playertrade.api.OlziePluginAPI
- getCommandRegistry() - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
- getCommands() - Method in interface com.olziedev.playertrade.api.trade.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. - getCount() - Method in class com.olziedev.playertrade.api.trade.Shop
- getExpansion() - Method in class com.olziedev.playertrade.api.events.expansion.ExpansionEvent
- getExpansion(Class<T>) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the class specified.
- getExpansion(String) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the name specified.
- getExpansionRegistry() - Method in class com.olziedev.playertrade.api.OlziePluginAPI
- getExpansionRegistry() - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
- getExpansions() - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions.
- getExpansions(Class<T>) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions based on the implementation specified.
- getExpansionStream(Class<T>) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve a stream of all the expansions based on the implementation specified.
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.expansion.TradeExpansionLoadEvent
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.expansion.TradeExpansionUnloadEvent
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.update.ShopPlayerUpdateEvent
- getHandlerList() - Static method in class com.olziedev.playertrade.api.events.update.ShopUpdateEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.expansion.TradeExpansionLoadEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.expansion.TradeExpansionUnloadEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.update.ShopPlayerUpdateEvent
- getHandlers() - Method in class com.olziedev.playertrade.api.events.update.ShopUpdateEvent
- getHologramFace() - Method in class com.olziedev.playertrade.api.trade.Shop
- getInstance() - Static method in class com.olziedev.playertrade.api.PlayerTradeAPI
-
Retrieve the instance of the API.
- getInstance(Consumer<PlayerTradeAPI>) - Static method in class com.olziedev.playertrade.api.PlayerTradeAPI
-
Waits for the instance of the API when it is ready.
- getInstance(Consumer<TConfig>) - Static method in interface com.olziedev.playertrade.api.trade.TConfig
-
Waits for the instance of the API when it is ready.
- getItem() - Method in class com.olziedev.playertrade.api.trade.Shop
- getItemStack() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
- getLanguageValue(String) - Method in interface com.olziedev.playertrade.api.trade.TConfig
- getLanguageValue(UUID, String) - Method in interface com.olziedev.playertrade.api.trade.TConfig
- getLocation() - Method in class com.olziedev.playertrade.api.trade.Shop
- getName() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
- getOldValue() - Method in class com.olziedev.playertrade.api.events.update.TradeUpdateEvent
- getOwner() - Method in class com.olziedev.playertrade.api.trade.Shop
- getPlayer() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
- getPlayer() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- getPlayerTradeAPI() - Method in class com.olziedev.playertrade.api.events.TradeEvent
- getPlugin() - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
- getPluginScheduler() - Method in class com.olziedev.playertrade.api.OlziePluginAPI
- getQuantity() - Method in class com.olziedev.playertrade.api.trade.Shop
- getSellPrice() - Method in class com.olziedev.playertrade.api.trade.Shop
- getShopPlayer(UUID) - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
-
This method is used to get a shop player.
- getShopPlayers() - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
- getShops() - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
- getTaskId() - Method in class com.olziedev.playertrade.api.scheduler.wrapped.task.FutureTask
- getTaskId() - Method in interface com.olziedev.playertrade.api.scheduler.wrapped.task.PluginTask
- getTitle() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- getType() - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- getType() - Method in class com.olziedev.playertrade.api.trade.Shop
- getUpdatedValue() - Method in class com.olziedev.playertrade.api.events.update.TradeUpdateEvent
- getUUID() - Method in class com.olziedev.playertrade.api.trade.ShopPlayer
- getVaultExpansionChat() - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionEconomy() - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionPermission() - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
I
- innitPlaceholders(PluginExpansion) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Initialize the placeholders for the pluginExpansion.
- instance - Static variable in interface com.olziedev.playertrade.api.trade.TConfig
- integrated - Variable in class com.olziedev.playertrade.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.playertrade.api.events.TradeEvent
- isCancelled() - Method in class com.olziedev.playertrade.api.scheduler.wrapped.task.FutureTask
- isCancelled() - Method in interface com.olziedev.playertrade.api.scheduler.wrapped.task.PluginTask
-
Checks if the task is cancelled.
- isDisabled() - Method in class com.olziedev.playertrade.api.trade.Shop
- isDisabledHolograms() - Method in class com.olziedev.playertrade.api.trade.ShopPlayer
- isEnabled() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
- isWaitingForCallback() - Method in class com.olziedev.playertrade.api.events.TradeEvent
N
- name - Variable in class com.olziedev.playertrade.api.trade.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.playertrade.api.expansion.ExpansionRegistry
O
- OlziePluginAPI - Class in com.olziedev.playertrade.api
-
The main class for accessing and using the API.
- OlziePluginAPI() - Constructor for class com.olziedev.playertrade.api.OlziePluginAPI
- onLoad() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
This method will be initialised if
PluginExpansion.isEnabled()
returns true on plugin enable. - onPreLoad() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
The method that will be initialised before the entire plugin is loaded.
- onTabComplete(CommandSender, String[]) - Method in class com.olziedev.playertrade.api.trade.command.TCommand
- onUnload() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
This method will be initialised when the addon is unloading.
- override - Variable in class com.olziedev.playertrade.api.trade.command.TCommand
-
Should this command override any set sub-commands that have already been registered.
P
- permissions - Variable in class com.olziedev.playertrade.api.trade.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.playertrade.api.trade.command.TCommand.ExecutorType
-
Only players can execute the command.
- PlayerTradeAPI - Class in com.olziedev.playertrade.api
-
The main class for accessing and using the API.
- PlayerTradeAPI() - Constructor for class com.olziedev.playertrade.api.PlayerTradeAPI
- PlayerTradeItemEvent - Class in com.olziedev.playertrade.api.events.menu
-
Event that is triggered before an item is parsed in a menu.
- PlayerTradeItemEvent(Player, ItemStack) - Constructor for class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
-
This event is triggered before an item is parsed in a menu.
- PlayerTradeMenuEvent - Class in com.olziedev.playertrade.api.events.menu
-
Event that is triggered before a menu is opened.
- PlayerTradeMenuEvent(ShopPlayer, String, PlayerTradeMenuEvent.MenuType) - Constructor for class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
-
This event is triggered before a menu is opened.
- PlayerTradeMenuEvent.MenuType - Enum in com.olziedev.playertrade.api.events.menu
-
List of all possible menu types.
- plugin - Variable in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps plugin instance.
- PluginExpansion - Class in com.olziedev.playertrade.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - PluginExpansion() - Constructor for class com.olziedev.playertrade.api.expansion.PluginExpansion
- PluginScheduler<T,
Z> - Class in com.olziedev.playertrade.api.scheduler -
This class is used to schedule tasks for the plugin.
- PluginScheduler(JavaPlugin) - Constructor for class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This constructor is used to create a new plugin scheduler.
- PluginTask - Interface in com.olziedev.playertrade.api.scheduler.wrapped.task
-
Represents a task that can be cancelled.
- postEvent() - Method in class com.olziedev.playertrade.api.events.TradeEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- postEvent(Runnable) - Method in class com.olziedev.playertrade.api.events.TradeEvent
-
This method is called when the event is finished without having to rely on waiting a tick.
- PremiumPlugin - Interface in com.olziedev.playertrade.api
R
- registerCommandPlaceholder(String, Function<Player, String>) - Method in interface com.olziedev.playertrade.api.trade.command.CommandRegistry
-
Register a config command placeholder.
- registerExpansion(PluginExpansion) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Register an pluginExpansion to the registry.
- registry - Variable in class com.olziedev.playertrade.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.playertrade.api.expansion.ExpansionRegistry
-
Reload all the expansions from the registry.
- removeSubCommand(String) - Method in interface com.olziedev.playertrade.api.trade.command.CommandRegistry
-
Removes a sub-command from the registry.
- runSingleTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to run a task on a single thread.
- runTask(Runnable) - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
Ths method is used to run a task on the main thread.
- runTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously.
- runTaskAtEntity(Entity, Consumer<PluginTask>) - Method in class com.olziedev.playertrade.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.playertrade.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.playertrade.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.playertrade.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk.
- runTaskAtLocation(Location, Consumer<PluginTask>) - Method in class com.olziedev.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.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.playertrade.api.scheduler.PluginScheduler
-
This method is used to schedule a runnable to run after a delay.
- sendMessage(CommandSender, String) - Method in class com.olziedev.playertrade.api.PlayerTradeAPI
-
Use the plugin send message method for all type of syntax support.
- setCancelled(boolean) - Method in class com.olziedev.playertrade.api.events.TradeEvent
- setDisabledHolograms(boolean) - Method in class com.olziedev.playertrade.api.trade.ShopPlayer
-
Sets the hologram status of the player.
- setEventCallback(Runnable) - Method in class com.olziedev.playertrade.api.events.TradeEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- setExecutors() - Static method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to setup the executors.
- setItemStack(ItemStack) - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeItemEvent
- setTask(Future<?>) - Method in class com.olziedev.playertrade.api.scheduler.wrapped.task.FutureTask
-
Modifies the task to be cancelled.
- setTitle(String) - Method in class com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent
- Shop - Class in com.olziedev.playertrade.api.trade
-
Represents a player shop that can manage and handle basic data within a shop.
- Shop() - Constructor for class com.olziedev.playertrade.api.trade.Shop
- ShopPlayer - Class in com.olziedev.playertrade.api.trade
-
Represents a shop player that can manage and handle basic data within a warp.
- ShopPlayer() - Constructor for class com.olziedev.playertrade.api.trade.ShopPlayer
- ShopPlayerUpdateEvent - Class in com.olziedev.playertrade.api.events.update
-
Event that is triggered before a shop player has been updated.
- ShopPlayerUpdateEvent(ShopPlayer) - Constructor for class com.olziedev.playertrade.api.events.update.ShopPlayerUpdateEvent
-
This event is triggered before a shop player has been updated.
- ShopUpdateEvent - Class in com.olziedev.playertrade.api.events.update
-
Event that is triggered before a shop has been updated.
- ShopUpdateEvent(Shop) - Constructor for class com.olziedev.playertrade.api.events.update.ShopUpdateEvent
-
This event is triggered before a shop has been updated.
- shutdownExpansions() - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Unregisters all the loaded expansions from the registry.
- syntax - Variable in class com.olziedev.playertrade.api.trade.command.TCommand
-
The syntax of the command.
T
- TCommand - Class in com.olziedev.playertrade.api.trade.command
-
Represents a trade sub-command that can be executed within the plugin.
- TCommand(String) - Constructor for class com.olziedev.playertrade.api.trade.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.playertrade.api.trade.command
-
List of all possible executor types a trade command can have.
- TConfig - Interface in com.olziedev.playertrade.api.trade
-
Represents the config API for PlayerTrade.
- teleportAsync(Player, Location, Consumer<Boolean>, PlayerTeleportEvent.TeleportCause) - Method in class com.olziedev.playertrade.api.scheduler.PluginScheduler
-
This method is used to teleport a player to a location asynchronously when possible.
- TradeEvent - Class in com.olziedev.playertrade.api.events
-
Handles all the basic and common methods for events.
- TradeEvent() - Constructor for class com.olziedev.playertrade.api.events.TradeEvent
- TradeEvent(boolean) - Constructor for class com.olziedev.playertrade.api.events.TradeEvent
- TradeExpansionLoadEvent - Class in com.olziedev.playertrade.api.events.expansion
-
Event that is triggered before an expansion is being loaded.
- TradeExpansionLoadEvent(PluginExpansion) - Constructor for class com.olziedev.playertrade.api.events.expansion.TradeExpansionLoadEvent
-
This event is triggered before an expansion is loaded.
- TradeExpansionUnloadEvent - Class in com.olziedev.playertrade.api.events.expansion
-
Event that is triggered before an expansion is being unloaded.
- TradeExpansionUnloadEvent(PluginExpansion) - Constructor for class com.olziedev.playertrade.api.events.expansion.TradeExpansionUnloadEvent
-
This event is triggered before an expansion is unloaded.
- TradeUpdateEvent<T> - Class in com.olziedev.playertrade.api.events.update
-
Handles all the basic and common methods for updated based events.
- TradeUpdateEvent(T, T) - Constructor for class com.olziedev.playertrade.api.events.update.TradeUpdateEvent
- TradeUpdateEvent(T, T, boolean) - Constructor for class com.olziedev.playertrade.api.events.update.TradeUpdateEvent
U
- unload() - Method in class com.olziedev.playertrade.api.expansion.PluginExpansion
-
This method to unload the expansion from the registry.
- unregisterExpansion(String) - Method in class com.olziedev.playertrade.api.expansion.ExpansionRegistry
-
Unregister an expansion from the registry.
V
- valueOf(String) - Static method in enum com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent.MenuType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.playertrade.api.trade.command.TCommand.ExecutorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.olziedev.playertrade.api.events.menu.PlayerTradeMenuEvent.MenuType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.playertrade.api.trade.command.TCommand.ExecutorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class com.olziedev.playertrade.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.playertrade.api.events.TradeEvent
-
This method allows you to wait for the plugins event to continue after you call
TradeEvent.acceptCallback()
.
All Classes and Interfaces|All Packages