Index
All Classes and Interfaces|All Packages
A
- acceptCallback() - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
-
Accepts the callback, this then lets the event continue.
- addConfigBlacklist(String, List<String>) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
-
Add blacklist paths and sections for the config file.
- addDepositedEntry(UUID, double, long) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
- addPaidEntry(UUID, UUID, double, long) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
- addShopTransaction(double, Player, ItemStack, boolean) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
-
Add a shop transaction to the business.
- addSubCommand(BCommand) - Method in interface com.olziedev.playerbusinesses.api.business.command.CommandRegistry
-
Register a sub-command to the registry.
- addTaxedEntry(UUID, double, long) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
-
Add a new taxed entry to the transaction.
- addWithdrawnEntry(UUID, double, long) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
-
Add a new withdrawn entry to the transaction.
- ADMINISTRATOR - Enum constant in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
This constant is when the player has administrator permissions.
- api - Variable in class com.olziedev.playerbusinesses.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.playerbusinesses.api.business.BConfig
B
- BANNED - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- BCommand - Class in com.olziedev.playerbusinesses.api.business.command
-
Represents a business sub-command that can be executed within the plugin.
- BCommand(String) - Constructor for class com.olziedev.playerbusinesses.api.business.command.BCommand
-
The constructor of the command, this does not register the command, you will need to use
CommandRegistry.addSubCommand(BCommand)
to register the command. - BCommand.ExecutorType - Enum in com.olziedev.playerbusinesses.api.business.command
-
List of all possible executor types a business command can have.
- BConfig - Interface in com.olziedev.playerbusinesses.api.business
-
Represents the config API for PlayerBusinesses.
- BEntry - Class in com.olziedev.playerbusinesses.api.business.transaction
-
Represents a transaction entry.
- BEntry() - Constructor for class com.olziedev.playerbusinesses.api.business.transaction.BEntry
- BPlayer - Class in com.olziedev.playerbusinesses.api.player
-
Handles and manages all the player data.
- BPlayer() - Constructor for class com.olziedev.playerbusinesses.api.player.BPlayer
- BRole - Class in com.olziedev.playerbusinesses.api.business
-
This class represents a role in a business.
- BRole() - Constructor for class com.olziedev.playerbusinesses.api.business.BRole
- BStaff - Class in com.olziedev.playerbusinesses.api.business
-
This class represents a staff member in a business.
- BStaff() - Constructor for class com.olziedev.playerbusinesses.api.business.BStaff
- BTransaction - Class in com.olziedev.playerbusinesses.api.business.transaction
-
Represents transactions that is part of a business.
- BTransaction() - Constructor for class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
- BukkitChunk - Class in com.olziedev.playerbusinesses.api.scheduler.wrapped.chunk
-
Represents a chunk in the world.
- BukkitChunk(Chunk) - Constructor for class com.olziedev.playerbusinesses.api.scheduler.wrapped.chunk.BukkitChunk
- Business - Class in com.olziedev.playerbusinesses.api.business
-
Represents a business that can manage and handle basic data within a business.
- Business() - Constructor for class com.olziedev.playerbusinesses.api.business.Business
- BUSINESS_LIST - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- BUSINESS_MAIN - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- BusinessEvent - Class in com.olziedev.playerbusinesses.api.events
-
Handles all the basic and common methods for events.
- BusinessEvent() - Constructor for class com.olziedev.playerbusinesses.api.events.BusinessEvent
- BusinessEvent(boolean) - Constructor for class com.olziedev.playerbusinesses.api.events.BusinessEvent
- BusinessExpansionLoadEvent - Class in com.olziedev.playerbusinesses.api.events.expansion
-
Event that is triggered before an expansion is being loaded.
- BusinessExpansionLoadEvent(PluginExpansion) - Constructor for class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionLoadEvent
-
This event is triggered before an expansion is loaded.
- BusinessExpansionUnloadEvent - Class in com.olziedev.playerbusinesses.api.events.expansion
-
Event that is triggered before an expansion is being unloaded.
- BusinessExpansionUnloadEvent(PluginExpansion) - Constructor for class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionUnloadEvent
-
This event is triggered before an expansion is unloaded.
- BusinessPermission - Enum in com.olziedev.playerbusinesses.api.business
-
List of all possible business permissions.
C
- callEvent(T, Consumer<T>, boolean) - Static method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
-
Calls the event and runs the callback.
- cancel() - Method in class com.olziedev.playerbusinesses.api.scheduler.wrapped.task.FutureTask
- cancel() - Method in interface com.olziedev.playerbusinesses.api.scheduler.wrapped.task.PluginTask
-
Cancels the task.
- cancelAllTasks() - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to cancel all the tasks.
- CHESTSHOP - Enum constant in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
This constant is when the player has chest shop permissions.
- com.olziedev.playerbusinesses.api - package com.olziedev.playerbusinesses.api
-
All the generalized objects within the API.
- com.olziedev.playerbusinesses.api.business - package com.olziedev.playerbusinesses.api.business
-
All business based objects that handles and manages data.
- com.olziedev.playerbusinesses.api.business.command - package com.olziedev.playerbusinesses.api.business.command
-
All command based objects that handles and manages sub-commands.
- com.olziedev.playerbusinesses.api.business.stocks - package com.olziedev.playerbusinesses.api.business.stocks
-
All business stock based objects that handles and manages data.
- com.olziedev.playerbusinesses.api.business.transaction - package com.olziedev.playerbusinesses.api.business.transaction
-
All business transactions based objects that handles and manages data.
- com.olziedev.playerbusinesses.api.events - package com.olziedev.playerbusinesses.api.events
-
All business event objects that are triggered within the plugin.
- com.olziedev.playerbusinesses.api.events.expansion - package com.olziedev.playerbusinesses.api.events.expansion
-
All business events that are triggered for expansions.
- com.olziedev.playerbusinesses.api.events.menu - package com.olziedev.playerbusinesses.api.events.menu
-
All warp events that are triggered for menus.
- com.olziedev.playerbusinesses.api.expansion - package com.olziedev.playerbusinesses.api.expansion
-
All expansion based objects that expose methods for external plugins to hook into.
- com.olziedev.playerbusinesses.api.player - package com.olziedev.playerbusinesses.api.player
- com.olziedev.playerbusinesses.api.scheduler - package com.olziedev.playerbusinesses.api.scheduler
-
All scheduler based objects that are used in the plugin.
- com.olziedev.playerbusinesses.api.scheduler.wrapped.chunk - package com.olziedev.playerbusinesses.api.scheduler.wrapped.chunk
-
All wrapped chunk objects that are used for the scheduler.
- com.olziedev.playerbusinesses.api.scheduler.wrapped.task - package com.olziedev.playerbusinesses.api.scheduler.wrapped.task
-
All wrapped task objects that are used for the scheduler.
- CommandRegistry - Interface in com.olziedev.playerbusinesses.api.business.command
-
Handles and manages all sub-commands for the plugin.
- config - Variable in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps config instance.
- CONFIRM - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- CONSOLE_ONLY - Enum constant in enum com.olziedev.playerbusinesses.api.business.command.BCommand.ExecutorType
-
Only console can execute the command.
- createConfigItem(ConfigurationSection, boolean) - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
-
Use the plugin create item method for all type item creation support.
D
- DEFAULT - Enum constant in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
This constant is when a player has no permissions.
- depositTransaction(Player, double, double, ItemStack) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
-
Make a shop deposit transaction.
- description - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
The description of the command.
- DividendType - Enum in com.olziedev.playerbusinesses.api.business.stocks
-
List of all possible dividend types.
E
- execute(CommandSender, String[]) - Method in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
This method is called when the command has been executed by its sender.
- executeCommand(Player, String) - Method in interface com.olziedev.playerbusinesses.api.business.command.CommandRegistry
-
Execute a config command with the correct syntax.
- executeExpansionAction(Class<T>, Consumer<? super T>) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Execute a consumer action on the specified implementation.
- executorType - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
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.playerbusinesses.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - Expansion() - Constructor for class com.olziedev.playerbusinesses.api.expansion.Expansion
- expansionConfig - Variable in class com.olziedev.playerbusinesses.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.playerbusinesses.api.events.expansion
-
Handles all expansion type events.
- ExpansionEvent(PluginExpansion) - Constructor for class com.olziedev.playerbusinesses.api.events.expansion.ExpansionEvent
- ExpansionEvent(PluginExpansion, boolean) - Constructor for class com.olziedev.playerbusinesses.api.events.expansion.ExpansionEvent
- ExpansionRegistry - Class in com.olziedev.playerbusinesses.api.expansion
-
Handles and manages all expansions for the plugin.
- ExpansionRegistry() - Constructor for class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
F
- file - Variable in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the file of the expansion.
- FINANCIAL - Enum constant in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
This constant is when the player has financial permissions.
- FIRE - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- FIXED - Enum constant in enum com.olziedev.playerbusinesses.api.business.stocks.DividendType
-
This constant is when the dividend is a fixed amount.
- formatNumber(double) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
- formatNumber(double, boolean) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
- formatNumberShort(double) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
- FutureTask - Class in com.olziedev.playerbusinesses.api.scheduler.wrapped.task
- FutureTask() - Constructor for class com.olziedev.playerbusinesses.api.scheduler.wrapped.task.FutureTask
G
- getAmount() - Method in class com.olziedev.playerbusinesses.api.business.transaction.BEntry
- getBalance() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getBlock(int, int, int) - Method in class com.olziedev.playerbusinesses.api.scheduler.wrapped.chunk.BukkitChunk
-
Gets the block at the specified coordinates.
- getBusinessByName(String) - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getBusinessByUUID(UUID) - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getBusinesses() - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getBusinessesByPlayer(UUID) - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getByName(String, FileConfiguration) - Static method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
- getByValue(String) - Static method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
- getChunkAsync(Location, Consumer<BukkitChunk>) - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to get a chunk asynchronously when possible.
- getClazzLoader() - Method in class com.olziedev.playerbusinesses.api.OlziePluginAPI
- getCommandRegistry() - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getCommands() - Method in interface com.olziedev.playerbusinesses.api.business.command.CommandRegistry
-
Retrieve a list of all the sub-commands added via
CommandRegistry.addSubCommand(BCommand)
This doesn't include internal sub-commands provided by the plugin. - getExpansion() - Method in class com.olziedev.playerbusinesses.api.events.expansion.ExpansionEvent
- getExpansion(Class<T>) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the class specified.
- getExpansion(String) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the name specified.
- getExpansionRegistry() - Method in class com.olziedev.playerbusinesses.api.OlziePluginAPI
- getExpansionRegistry() - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getExpansions() - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions.
- getExpansions(Class<T>) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions based on the implementation specified.
- getExpansionStream(Class<T>) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve a stream of all the expansions based on the implementation specified.
- getHandlerList() - Static method in class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionLoadEvent
- getHandlerList() - Static method in class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionUnloadEvent
- getHandlerList() - Static method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
- getHandlerList() - Static method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- getHandlers() - Method in class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionLoadEvent
- getHandlers() - Method in class com.olziedev.playerbusinesses.api.events.expansion.BusinessExpansionUnloadEvent
- getHandlers() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
- getHandlers() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- getID() - Method in class com.olziedev.playerbusinesses.api.business.BRole
- getInstance() - Static method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
-
Retrieve the instance of the API.
- getInstance(Consumer<BConfig>) - Static method in interface com.olziedev.playerbusinesses.api.business.BConfig
-
Waits for the instance of the API when it is ready.
- getInstance(Consumer<PlayerBusinessesAPI>) - Static method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
-
Waits for the instance of the API when it is ready.
- getItemStack() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
- getLanguageValue(String) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
- getLanguageValue(UUID, String) - Method in interface com.olziedev.playerbusinesses.api.business.BConfig
- getName() - Method in class com.olziedev.playerbusinesses.api.business.BRole
- getName() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getName() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
- getName() - Method in class com.olziedev.playerbusinesses.api.player.BPlayer
- getName(FileConfiguration) - Method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
- getOfflinePlayer() - Method in class com.olziedev.playerbusinesses.api.player.BPlayer
- getOwner() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getPermission() - Method in class com.olziedev.playerbusinesses.api.business.BRole
- getPlayer() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
- getPlayer() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- getPlayer() - Method in class com.olziedev.playerbusinesses.api.player.BPlayer
- getPlayerBusinessesAPI() - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
- getPlugin() - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- getPluginScheduler() - Method in class com.olziedev.playerbusinesses.api.OlziePluginAPI
- getRole() - Method in class com.olziedev.playerbusinesses.api.business.BStaff
- getRoleID() - Method in class com.olziedev.playerbusinesses.api.business.BRole
- getRoleID() - Method in class com.olziedev.playerbusinesses.api.business.BStaff
- getRoles() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getStaff() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getStocksDividend() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getStocksDividendType() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getTaskId() - Method in class com.olziedev.playerbusinesses.api.scheduler.wrapped.task.FutureTask
- getTaskId() - Method in interface com.olziedev.playerbusinesses.api.scheduler.wrapped.task.PluginTask
- getTime() - Method in class com.olziedev.playerbusinesses.api.business.transaction.BEntry
- getTitle() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- getTransactions() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getTransactions() - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
- getType() - Method in class com.olziedev.playerbusinesses.api.business.transaction.BEntry
- getType() - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- getUUID() - Method in class com.olziedev.playerbusinesses.api.business.BStaff
- getUUID() - Method in class com.olziedev.playerbusinesses.api.business.Business
- getUUID() - Method in class com.olziedev.playerbusinesses.api.business.transaction.BEntry
- getUUID() - Method in class com.olziedev.playerbusinesses.api.player.BPlayer
- getVaultExpansionChat() - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionEconomy() - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionPermission() - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- GLOBAL_BUSINESS_LIST - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
I
- innitPlaceholders(PluginExpansion) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Initialize the placeholders for the pluginExpansion.
- instance - Static variable in interface com.olziedev.playerbusinesses.api.business.BConfig
- integrated - Variable in class com.olziedev.playerbusinesses.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.playerbusinesses.api.events.BusinessEvent
- isCancelled() - Method in class com.olziedev.playerbusinesses.api.scheduler.wrapped.task.FutureTask
- isCancelled() - Method in interface com.olziedev.playerbusinesses.api.scheduler.wrapped.task.PluginTask
-
Checks if the task is cancelled.
- isEnabled() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
- isExempt() - Method in class com.olziedev.playerbusinesses.api.business.Business
- isOwner() - Method in class com.olziedev.playerbusinesses.api.business.BRole
- isOwner() - Method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
- isWaitingForCallback() - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
N
- name - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
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.playerbusinesses.api.expansion.ExpansionRegistry
O
- OlziePluginAPI - Class in com.olziedev.playerbusinesses.api
-
The main class for accessing and using the API.
- OlziePluginAPI() - Constructor for class com.olziedev.playerbusinesses.api.OlziePluginAPI
- onLoad() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This method will be initialised if
PluginExpansion.isEnabled()
returns true on plugin enable. - onPreLoad() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
The method that will be initialised before the entire plugin is loaded.
- onTabComplete(CommandSender, String[]) - Method in class com.olziedev.playerbusinesses.api.business.command.BCommand
- onUnload() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This method will be initialised when the addon is unloading.
- override - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
Should this command override any set sub-commands that have already been registered.
P
- PERCENTAGE_SALES - Enum constant in enum com.olziedev.playerbusinesses.api.business.stocks.DividendType
-
This constant is when the dividend is a percentage of the sales.
- permissions - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
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.playerbusinesses.api.business.command.BCommand.ExecutorType
-
Only players can execute the command.
- PlayerBusinessesAPI - Class in com.olziedev.playerbusinesses.api
-
The main class for accessing and using the API.
- PlayerBusinessesAPI() - Constructor for class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
- PlayerBusinessItemEvent - Class in com.olziedev.playerbusinesses.api.events.menu
-
Event that is triggered before an item is parsed in a menu.
- PlayerBusinessItemEvent(Player, ItemStack) - Constructor for class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
-
This event is triggered before an item is parsed in a menu.
- PlayerBusinessMenuEvent - Class in com.olziedev.playerbusinesses.api.events.menu
-
Event that is triggered before a menu is opened.
- PlayerBusinessMenuEvent(BPlayer, String, PlayerBusinessMenuEvent.MenuType) - Constructor for class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
-
This event is triggered before a menu is opened.
- PlayerBusinessMenuEvent.MenuType - Enum in com.olziedev.playerbusinesses.api.events.menu
-
List of all possible menu types.
- plugin - Variable in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps plugin instance.
- PluginExpansion - Class in com.olziedev.playerbusinesses.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - PluginExpansion() - Constructor for class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
- PluginScheduler<T,
Z> - Class in com.olziedev.playerbusinesses.api.scheduler -
This class is used to schedule tasks for the plugin.
- PluginScheduler(JavaPlugin) - Constructor for class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This constructor is used to create a new plugin scheduler.
- PluginTask - Interface in com.olziedev.playerbusinesses.api.scheduler.wrapped.task
-
Represents a task that can be cancelled.
- postEvent() - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- postEvent(Runnable) - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
-
This method is called when the event is finished without having to rely on waiting a tick.
- PremiumPlugin - Interface in com.olziedev.playerbusinesses.api
- PROPRIETOR - Enum constant in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
This constant is when the player has proprietor permissions (all permissions).
R
- registerCommandPlaceholder(String, Function<Player, String>) - Method in interface com.olziedev.playerbusinesses.api.business.command.CommandRegistry
-
Register a config command placeholder.
- registerExpansion(PluginExpansion) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Register an pluginExpansion to the registry.
- registry - Variable in class com.olziedev.playerbusinesses.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.playerbusinesses.api.expansion.ExpansionRegistry
-
Reload all the expansions from the registry.
- removeSubCommand(String) - Method in interface com.olziedev.playerbusinesses.api.business.command.CommandRegistry
-
Removes a sub-command from the registry.
- ROLE - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- ROLE_SELECT - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- runSingleTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to run a task on a single thread.
- runTask(Runnable) - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
Ths method is used to run a task on the main thread.
- runTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously.
- runTaskAtEntity(Entity, Consumer<PluginTask>) - Method in class com.olziedev.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk.
- runTaskAtLocation(Location, Consumer<PluginTask>) - Method in class com.olziedev.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.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.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to schedule a runnable to run after a delay.
- sendMessage(CommandSender, String) - Method in class com.olziedev.playerbusinesses.api.PlayerBusinessesAPI
-
Use the plugin send message method for all type of syntax support.
- SET - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- setBalance(double) - Method in class com.olziedev.playerbusinesses.api.business.Business
- setCancelled(boolean) - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
- setEventCallback(Runnable) - Method in class com.olziedev.playerbusinesses.api.events.BusinessEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- setExecutors() - Static method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to setup the executors.
- setExempt(boolean) - Method in class com.olziedev.playerbusinesses.api.business.Business
- setItemStack(ItemStack) - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessItemEvent
- setTask(Future<?>) - Method in class com.olziedev.playerbusinesses.api.scheduler.wrapped.task.FutureTask
-
Modifies the task to be cancelled.
- setTitle(String) - Method in class com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent
- ShopExpansion - Class in com.olziedev.playerbusinesses.api.expansion
- ShopExpansion() - Constructor for class com.olziedev.playerbusinesses.api.expansion.ShopExpansion
- shutdownExpansions() - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Unregisters all the loaded expansions from the registry.
- STAFF - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- STAFF_SELECT - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- STOCK_CONFIRM - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- STOCK_MARKET - Enum constant in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
- syntax - Variable in class com.olziedev.playerbusinesses.api.business.command.BCommand
-
The syntax of the command.
T
- teleportAsync(Player, Location, Consumer<Boolean>, PlayerTeleportEvent.TeleportCause) - Method in class com.olziedev.playerbusinesses.api.scheduler.PluginScheduler
-
This method is used to teleport a player to a location asynchronously when possible.
U
- unload() - Method in class com.olziedev.playerbusinesses.api.expansion.PluginExpansion
-
This method to unload the expansion from the registry.
- unregisterExpansion(String) - Method in class com.olziedev.playerbusinesses.api.expansion.ExpansionRegistry
-
Unregister an expansion from the registry.
V
- valueOf(String) - Static method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.playerbusinesses.api.business.command.BCommand.ExecutorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.playerbusinesses.api.business.stocks.DividendType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.olziedev.playerbusinesses.api.business.BusinessPermission
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.playerbusinesses.api.business.command.BCommand.ExecutorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.playerbusinesses.api.business.stocks.DividendType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.playerbusinesses.api.events.menu.PlayerBusinessMenuEvent.MenuType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class com.olziedev.playerbusinesses.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.playerbusinesses.api.events.BusinessEvent
-
This method allows you to wait for the plugins event to continue after you call
acceptCallback()
. - withdrawTransaction(Player, double, double, ItemStack) - Method in class com.olziedev.playerbusinesses.api.business.transaction.BTransaction
-
Make a shop withdraw transaction.
All Classes and Interfaces|All Packages