Index
All Classes and Interfaces|All Packages
A
- acceptCallback() - Method in class com.olziedev.nightmarket.api.events.MarketEvent
-
Accepts the callback, this then lets the event continue.
- addConfigBlacklist(String, List<String>) - Method in interface com.olziedev.nightmarket.api.market.MConfig
-
Add blacklist paths and sections for the config file.
- addSubCommand(MCommand) - Method in interface com.olziedev.nightmarket.api.market.command.CommandRegistry
-
Register a sub-command to the registry.
- api - Variable in class com.olziedev.nightmarket.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.nightmarket.api.market.MConfig
B
- BankProvider() - Constructor for class com.olziedev.nightmarket.api.expansion.MCurrency.BankProvider
- BukkitChunk - Class in com.olziedev.nightmarket.api.scheduler.wrapped.chunk
-
Represents a chunk in the world.
- BukkitChunk(Chunk) - Constructor for class com.olziedev.nightmarket.api.scheduler.wrapped.chunk.BukkitChunk
C
- callEvent(T, Consumer<T>, boolean) - Static method in class com.olziedev.nightmarket.api.events.MarketEvent
-
Calls the event and runs the callback.
- cancel() - Method in class com.olziedev.nightmarket.api.scheduler.wrapped.task.FutureTask
- cancel() - Method in interface com.olziedev.nightmarket.api.scheduler.wrapped.task.PluginTask
-
Cancels the task.
- cancelAllTasks() - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to cancel all the tasks.
- com.olziedev.nightmarket.api - package com.olziedev.nightmarket.api
-
All the generalized objects within the API.
- com.olziedev.nightmarket.api.events - package com.olziedev.nightmarket.api.events
-
All market event objects that are triggered within the plugin.
- com.olziedev.nightmarket.api.events.expansion - package com.olziedev.nightmarket.api.events.expansion
-
All market events that are triggered for expansions.
- com.olziedev.nightmarket.api.events.expansion.menu - package com.olziedev.nightmarket.api.events.expansion.menu
-
All warp events that are triggered for menus.
- com.olziedev.nightmarket.api.expansion - package com.olziedev.nightmarket.api.expansion
-
All expansion based objects that expose methods for external plugins to hook into.
- com.olziedev.nightmarket.api.market - package com.olziedev.nightmarket.api.market
-
All market based objects that handles and manages data.
- com.olziedev.nightmarket.api.market.command - package com.olziedev.nightmarket.api.market.command
-
All command based objects that handles and manages sub-commands.
- com.olziedev.nightmarket.api.player - package com.olziedev.nightmarket.api.player
- com.olziedev.nightmarket.api.scheduler - package com.olziedev.nightmarket.api.scheduler
-
All scheduler based objects that are used in the plugin.
- com.olziedev.nightmarket.api.scheduler.wrapped.chunk - package com.olziedev.nightmarket.api.scheduler.wrapped.chunk
-
All wrapped chunk objects that are used for the scheduler.
- com.olziedev.nightmarket.api.scheduler.wrapped.task - package com.olziedev.nightmarket.api.scheduler.wrapped.task
-
All wrapped task objects that are used for the scheduler.
- CommandRegistry - Interface in com.olziedev.nightmarket.api.market.command
-
Handles and manages all sub-commands for the plugin.
- config - Variable in class com.olziedev.nightmarket.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.nightmarket.api.events.expansion.menu.NightMarketMenuEvent.MenuType
- CONSOLE_ONLY - Enum constant in enum com.olziedev.nightmarket.api.market.command.MCommand.ExecutorType
-
Only console can execute the command.
- createConfigItem(ConfigurationSection, boolean) - Method in class com.olziedev.nightmarket.api.NightMarketAPI
-
Use the plugin create item method for all type item creation support.
D
- deposit(MPlayer, double, String, Consumer<Boolean>) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Deposit the amount into the players balance in this currency.
- description - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
The description of the command.
E
- execute(CommandSender, String[]) - Method in class com.olziedev.nightmarket.api.market.command.MCommand
-
This method is called when the command has been executed by its sender.
- executeCommand(Player, String) - Method in interface com.olziedev.nightmarket.api.market.command.CommandRegistry
-
Execute a config command with the correct syntax.
- executeExpansionAction(Class<T>, Consumer<? super T>) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Execute a consumer action on the specified implementation.
- executorType - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
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.nightmarket.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - Expansion() - Constructor for class com.olziedev.nightmarket.api.expansion.Expansion
- expansionConfig - Variable in class com.olziedev.nightmarket.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.nightmarket.api.events.expansion
-
Handles all expansion type events.
- ExpansionEvent(PluginExpansion) - Constructor for class com.olziedev.nightmarket.api.events.expansion.ExpansionEvent
- ExpansionEvent(PluginExpansion, boolean) - Constructor for class com.olziedev.nightmarket.api.events.expansion.ExpansionEvent
- ExpansionRegistry - Class in com.olziedev.nightmarket.api.expansion
-
Handles and manages all expansions for the plugin.
- ExpansionRegistry() - Constructor for class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
F
- file - Variable in class com.olziedev.nightmarket.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.nightmarket.api.market.MConfig
- formatNumber(double, boolean) - Method in interface com.olziedev.nightmarket.api.market.MConfig
- formatNumberShort(double) - Method in interface com.olziedev.nightmarket.api.market.MConfig
- FutureTask - Class in com.olziedev.nightmarket.api.scheduler.wrapped.task
- FutureTask() - Constructor for class com.olziedev.nightmarket.api.scheduler.wrapped.task.FutureTask
G
- getBalance(MPlayer) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency.BankProvider
-
Retrieve the balance from a player in this provider.
- getBalance(MPlayer, String, Consumer<Double>) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Retrieve the balance from a player in this currency.
- getBlock(int, int, int) - Method in class com.olziedev.nightmarket.api.scheduler.wrapped.chunk.BukkitChunk
-
Gets the block at the specified coordinates.
- getChunkAsync(Location, Consumer<BukkitChunk>) - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to get a chunk asynchronously when possible.
- getClazzLoader() - Method in class com.olziedev.nightmarket.api.OlziePluginAPI
- getCommandRegistry() - Method in class com.olziedev.nightmarket.api.NightMarketAPI
- getCommands() - Method in interface com.olziedev.nightmarket.api.market.command.CommandRegistry
-
Retrieve a list of all the sub-commands added via
CommandRegistry.addSubCommand(MCommand)
This doesn't include internal sub-commands provided by the plugin. - getCurrencyName() - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Retrieve the currency name.
- getCurrencyPrefix(String) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Retrieve the prefix for the currency.
- getCurrencyPrefix(String, String) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Retrieve the prefix for the currency with the replaced variable.
- getExpansion() - Method in class com.olziedev.nightmarket.api.events.expansion.ExpansionEvent
- getExpansion(Class<T>) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the class specified.
- getExpansion(String) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve an expansion based on the name specified.
- getExpansionRegistry() - Method in class com.olziedev.nightmarket.api.NightMarketAPI
- getExpansionRegistry() - Method in class com.olziedev.nightmarket.api.OlziePluginAPI
- getExpansions() - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions.
- getExpansions(Class<T>) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve a list of all the expansions based on the implementation specified.
- getExpansionStream(Class<T>) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve a stream of all the expansions based on the implementation specified.
- getHandlerList() - Static method in class com.olziedev.nightmarket.api.events.expansion.MarketExpansionLoadEvent
- getHandlerList() - Static method in class com.olziedev.nightmarket.api.events.expansion.MarketExpansionUnloadEvent
- getHandlerList() - Static method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
- getHandlerList() - Static method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- getHandlers() - Method in class com.olziedev.nightmarket.api.events.expansion.MarketExpansionLoadEvent
- getHandlers() - Method in class com.olziedev.nightmarket.api.events.expansion.MarketExpansionUnloadEvent
- getHandlers() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
- getHandlers() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- getInstance() - Static method in class com.olziedev.nightmarket.api.NightMarketAPI
-
Retrieve the instance of the API.
- getInstance(Consumer<MConfig>) - Static method in interface com.olziedev.nightmarket.api.market.MConfig
-
Waits for the instance of the API when it is ready.
- getInstance(Consumer<NightMarketAPI>) - Static method in class com.olziedev.nightmarket.api.NightMarketAPI
-
Waits for the instance of the API when it is ready.
- getItemStack() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
- getLanguageValue(String) - Method in interface com.olziedev.nightmarket.api.market.MConfig
- getLanguageValue(UUID, String) - Method in interface com.olziedev.nightmarket.api.market.MConfig
- getName() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
- getName() - Method in class com.olziedev.nightmarket.api.player.MPlayer
- getNightMarketAPI() - Method in class com.olziedev.nightmarket.api.events.MarketEvent
- getOfflinePlayer() - Method in class com.olziedev.nightmarket.api.player.MPlayer
- getPlayer() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
- getPlayer() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- getPlayer() - Method in class com.olziedev.nightmarket.api.player.MPlayer
- getPlugin() - Method in class com.olziedev.nightmarket.api.NightMarketAPI
- getPluginScheduler() - Method in class com.olziedev.nightmarket.api.OlziePluginAPI
- getTaskId() - Method in class com.olziedev.nightmarket.api.scheduler.wrapped.task.FutureTask
- getTaskId() - Method in interface com.olziedev.nightmarket.api.scheduler.wrapped.task.PluginTask
- getTitle() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- getType() - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- getUUID() - Method in class com.olziedev.nightmarket.api.player.MPlayer
- getVaultExpansionChat() - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionEconomy() - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
- getVaultExpansionPermission() - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Retrieve the integrated permission provider in this registry from Vault.
H
- hasBalance(MPlayer, double) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency.BankProvider
-
Retrieve if the player has the balance specified in this provider.
- hasBalance(MPlayer, double, String, Consumer<Boolean>) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Retrieve if the player has the balance specified in this currency.
I
- innitPlaceholders(PluginExpansion) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Initialize the placeholders for the pluginExpansion.
- instance - Static variable in interface com.olziedev.nightmarket.api.market.MConfig
- integrated - Variable in class com.olziedev.nightmarket.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.nightmarket.api.events.MarketEvent
- isCancelled() - Method in class com.olziedev.nightmarket.api.scheduler.wrapped.task.FutureTask
- isCancelled() - Method in interface com.olziedev.nightmarket.api.scheduler.wrapped.task.PluginTask
-
Checks if the task is cancelled.
- isEnabled() - Method in class com.olziedev.nightmarket.api.expansion.MCurrency.BankProvider
- isEnabled() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
- isWaitingForCallback() - Method in class com.olziedev.nightmarket.api.events.MarketEvent
M
- MarketEvent - Class in com.olziedev.nightmarket.api.events
-
Handles all the basic and common methods for events.
- MarketEvent() - Constructor for class com.olziedev.nightmarket.api.events.MarketEvent
- MarketEvent(boolean) - Constructor for class com.olziedev.nightmarket.api.events.MarketEvent
- MarketExpansionLoadEvent - Class in com.olziedev.nightmarket.api.events.expansion
-
Event that is triggered before an expansion is being loaded.
- MarketExpansionLoadEvent(PluginExpansion) - Constructor for class com.olziedev.nightmarket.api.events.expansion.MarketExpansionLoadEvent
-
This event is triggered before an expansion is loaded.
- MarketExpansionUnloadEvent - Class in com.olziedev.nightmarket.api.events.expansion
-
Event that is triggered before an expansion is being unloaded.
- MarketExpansionUnloadEvent(PluginExpansion) - Constructor for class com.olziedev.nightmarket.api.events.expansion.MarketExpansionUnloadEvent
-
This event is triggered before an expansion is unloaded.
- MCommand - Class in com.olziedev.nightmarket.api.market.command
-
Represents a market sub-command that can be executed within the plugin.
- MCommand(String) - Constructor for class com.olziedev.nightmarket.api.market.command.MCommand
-
The constructor of the command, this does not register the command, you will need to use
CommandRegistry.addSubCommand(MCommand)
to register the command. - MCommand.ExecutorType - Enum in com.olziedev.nightmarket.api.market.command
-
List of all possible executor types a market command can have.
- MConfig - Interface in com.olziedev.nightmarket.api.market
-
Represents the config API for NightMarket.
- MCurrency - Class in com.olziedev.nightmarket.api.expansion
-
Represents a market currency addon that can allow multiple currencies for the plugin.
- MCurrency() - Constructor for class com.olziedev.nightmarket.api.expansion.MCurrency
- MCurrency.BankProvider - Class in com.olziedev.nightmarket.api.expansion
-
Represents a bank provider that can be used to withdraw money from a bank account.
- MPlayer - Class in com.olziedev.nightmarket.api.player
-
Handles and manages all the player data.
- MPlayer() - Constructor for class com.olziedev.nightmarket.api.player.MPlayer
N
- name - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
The name of the sub-command that the player will have to enter after the main command.
- NIGHT_MARKET - Enum constant in enum com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent.MenuType
- NightMarketAPI - Class in com.olziedev.nightmarket.api
-
The main class for accessing and using the API.
- NightMarketAPI() - Constructor for class com.olziedev.nightmarket.api.NightMarketAPI
- NightMarketItemEvent - Class in com.olziedev.nightmarket.api.events.expansion.menu
-
Event that is triggered before an item is parsed in a menu.
- NightMarketItemEvent(Player, ItemStack) - Constructor for class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
-
This event is triggered before a menu is opened.
- NightMarketMenuEvent - Class in com.olziedev.nightmarket.api.events.expansion.menu
-
Event that is triggered before a menu is opened.
- NightMarketMenuEvent(MPlayer, String, NightMarketMenuEvent.MenuType) - Constructor for class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
-
This event is triggered before a menu is opened.
- NightMarketMenuEvent.MenuType - Enum in com.olziedev.nightmarket.api.events.expansion.menu
-
List of all possible menu types.
- noPlaceholderAPICondition(ConfigurationSection, Function<String, String>, OfflinePlayer) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
O
- OlziePluginAPI - Class in com.olziedev.nightmarket.api
-
The main class for accessing and using the API.
- OlziePluginAPI() - Constructor for class com.olziedev.nightmarket.api.OlziePluginAPI
- onLoad() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
-
This method will be initialised if
PluginExpansion.isEnabled()
returns true on plugin enable. - onPreLoad() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
-
The method that will be initialised before the entire plugin is loaded.
- onTabComplete(CommandSender, String[]) - Method in class com.olziedev.nightmarket.api.market.command.MCommand
- onUnload() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
-
This method will be initialised when the addon is unloading.
- override - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
Should this command override any set sub-commands that have already been registered.
P
- permissions - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
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.nightmarket.api.market.command.MCommand.ExecutorType
-
Only players can execute the command.
- plugin - Variable in class com.olziedev.nightmarket.api.expansion.PluginExpansion
-
This variable is initialised when the expansion has been loaded and returns the PlayerWarps plugin instance.
- PluginExpansion - Class in com.olziedev.nightmarket.api.expansion
-
Represents an expansion for it to be loaded and used in
ExpansionRegistry
. - PluginExpansion() - Constructor for class com.olziedev.nightmarket.api.expansion.PluginExpansion
- PluginScheduler<T,
Z> - Class in com.olziedev.nightmarket.api.scheduler -
This class is used to schedule tasks for the plugin.
- PluginScheduler(JavaPlugin) - Constructor for class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This constructor is used to create a new plugin scheduler.
- PluginTask - Interface in com.olziedev.nightmarket.api.scheduler.wrapped.task
-
Represents a task that can be cancelled.
- postEvent() - Method in class com.olziedev.nightmarket.api.events.MarketEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- postEvent(Runnable) - Method in class com.olziedev.nightmarket.api.events.MarketEvent
-
This method is called when the event is finished without having to rely on waiting a tick.
- PremiumPlugin - Interface in com.olziedev.nightmarket.api
R
- registerCommandPlaceholder(String, Function<Player, String>) - Method in interface com.olziedev.nightmarket.api.market.command.CommandRegistry
-
Register a config command placeholder.
- registerExpansion(PluginExpansion) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Register an pluginExpansion to the registry.
- registry - Variable in class com.olziedev.nightmarket.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.nightmarket.api.expansion.ExpansionRegistry
-
Reload all the expansions from the registry.
- removeSubCommand(String) - Method in interface com.olziedev.nightmarket.api.market.command.CommandRegistry
-
Removes a sub-command from the registry.
- runSingleTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to run a task on a single thread.
- runTask(Runnable) - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
Ths method is used to run a task on the main thread.
- runTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to run a task asynchronously.
- runTaskAtEntity(Entity, Consumer<PluginTask>) - Method in class com.olziedev.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.api.scheduler.PluginScheduler
-
This method is used to run a task at a specific chunk.
- runTaskAtLocation(Location, Consumer<PluginTask>) - Method in class com.olziedev.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.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.nightmarket.api.scheduler.PluginScheduler
-
This method is used to schedule a runnable to run after a delay.
- sendMessage(CommandSender, String) - Method in class com.olziedev.nightmarket.api.NightMarketAPI
-
Use the plugin send message method for all type of syntax support.
- setCancelled(boolean) - Method in class com.olziedev.nightmarket.api.events.MarketEvent
- setEventCallback(Runnable) - Method in class com.olziedev.nightmarket.api.events.MarketEvent
-
Deprecated.Internal use only, do not use under any circumstances!
- setExecutors() - Static method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to setup the executors.
- setItemStack(ItemStack) - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketItemEvent
- setTask(Future<?>) - Method in class com.olziedev.nightmarket.api.scheduler.wrapped.task.FutureTask
-
Modifies the task to be cancelled.
- setTitle(String) - Method in class com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent
- shutdownExpansions() - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Unregisters all the loaded expansions from the registry.
- syntax - Variable in class com.olziedev.nightmarket.api.market.command.MCommand
-
The syntax of the command.
T
- teleportAsync(Player, Location, Consumer<Boolean>, PlayerTeleportEvent.TeleportCause) - Method in class com.olziedev.nightmarket.api.scheduler.PluginScheduler
-
This method is used to teleport a player to a location asynchronously when possible.
U
- unload() - Method in class com.olziedev.nightmarket.api.expansion.PluginExpansion
-
This method to unload the expansion from the registry.
- unregisterExpansion(String) - Method in class com.olziedev.nightmarket.api.expansion.ExpansionRegistry
-
Unregister an expansion from the registry.
V
- valueOf(String) - Static method in enum com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent.MenuType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.olziedev.nightmarket.api.market.command.MCommand.ExecutorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.olziedev.nightmarket.api.events.expansion.menu.NightMarketMenuEvent.MenuType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.olziedev.nightmarket.api.market.command.MCommand.ExecutorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class com.olziedev.nightmarket.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.nightmarket.api.events.MarketEvent
-
This method allows you to wait for the plugins event to continue after you call
MarketEvent.acceptCallback()
. - withdraw(MPlayer, double, String, Consumer<Boolean>) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency
-
Withdraw the amount from the players balance in this currency.
- withdraw(MPlayer, double, Consumer<Boolean>) - Method in class com.olziedev.nightmarket.api.expansion.MCurrency.BankProvider
-
Withdraw the amount from the players balance in this provider.
All Classes and Interfaces|All Packages