Index

A B C D E F G I M N O P R S T U V W 
All Classes and Interfaces|All Packages

A

acceptCallback() - Method in class com.olziedev.playerelections.api.events.ElectionEvent
Accepts the callback, this then lets the event continue.
addConfigBlacklist(String, List<String>) - Method in interface com.olziedev.playerelections.api.election.EConfig
Add blacklist paths and sections for the config file.
addSubCommand(ECommand) - Method in interface com.olziedev.playerelections.api.election.command.CommandRegistry
Register a sub-command to the registry.
api - Variable in class com.olziedev.playerelections.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.playerelections.api.election.EConfig
 

B

BALLOT_BLOCK - Enum constant in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
 
BALLOT_PREFERENTIAL - Enum constant in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
 
BLOCK - Enum constant in enum com.olziedev.playerelections.api.election.ElectionSystem
This constant represents the block election system.
BukkitChunk - Class in com.olziedev.playerelections.api.scheduler.wrapped.chunk
Represents a chunk in the world.
BukkitChunk(Chunk) - Constructor for class com.olziedev.playerelections.api.scheduler.wrapped.chunk.BukkitChunk
 

C

callEvent(T, Consumer<T>, boolean) - Static method in class com.olziedev.playerelections.api.events.ElectionEvent
Calls the event and runs the callback.
cancel() - Method in class com.olziedev.playerelections.api.scheduler.wrapped.task.FutureTask
 
cancel() - Method in interface com.olziedev.playerelections.api.scheduler.wrapped.task.PluginTask
Cancels the task.
cancelAllTasks() - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to cancel all the tasks.
canVote(Player) - Method in class com.olziedev.playerelections.api.election.ERequirements
 
com.olziedev.playerelections.api - package com.olziedev.playerelections.api
All the generalized objects within the API.
com.olziedev.playerelections.api.election - package com.olziedev.playerelections.api.election
All election based objects that handles and manages data.
com.olziedev.playerelections.api.election.command - package com.olziedev.playerelections.api.election.command
All command based objects that handles and manages sub-commands.
com.olziedev.playerelections.api.events - package com.olziedev.playerelections.api.events
All warp event objects that are triggered within the plugin.
com.olziedev.playerelections.api.events.election - package com.olziedev.playerelections.api.events.election
All election events that are triggered for elections.
com.olziedev.playerelections.api.events.expansion - package com.olziedev.playerelections.api.events.expansion
All election events that are triggered for expansions.
com.olziedev.playerelections.api.events.menu - package com.olziedev.playerelections.api.events.menu
All warp events that are triggered for menus.
com.olziedev.playerelections.api.expansion - package com.olziedev.playerelections.api.expansion
All expansion based objects that expose methods for external plugins to hook into.
com.olziedev.playerelections.api.player - package com.olziedev.playerelections.api.player
 
com.olziedev.playerelections.api.scheduler - package com.olziedev.playerelections.api.scheduler
All scheduler based objects that are used in the plugin.
com.olziedev.playerelections.api.scheduler.wrapped.chunk - package com.olziedev.playerelections.api.scheduler.wrapped.chunk
All wrapped chunk objects that are used for the scheduler.
com.olziedev.playerelections.api.scheduler.wrapped.task - package com.olziedev.playerelections.api.scheduler.wrapped.task
All wrapped task objects that are used for the scheduler.
CommandRegistry - Interface in com.olziedev.playerelections.api.election.command
Handles and manages all sub-commands for the plugin.
config - Variable in class com.olziedev.playerelections.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.playerelections.api.election.command.ECommand.ExecutorType
Only console can execute the command.
createConfigItem(ConfigurationSection, boolean) - Method in class com.olziedev.playerelections.api.PlayerElectionsAPI
Use the plugin create item method for all type item creation support.

D

description - Variable in class com.olziedev.playerelections.api.election.command.ECommand
The description of the command.

E

ECandidate - Class in com.olziedev.playerelections.api.election
Represents a candidate in an election.
ECandidate() - Constructor for class com.olziedev.playerelections.api.election.ECandidate
 
ECommand - Class in com.olziedev.playerelections.api.election.command
Represents an election sub-command that can be executed within the plugin.
ECommand(String) - Constructor for class com.olziedev.playerelections.api.election.command.ECommand
The constructor of the command, this does not register the command, you will need to use CommandRegistry.addSubCommand(ECommand) to register the command.
ECommand.ExecutorType - Enum in com.olziedev.playerelections.api.election.command
List of all possible executor types an election command can have.
EConfig - Interface in com.olziedev.playerelections.api.election
Represents the config API for PlayerElections.
EDIT - Enum constant in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
 
Election - Class in com.olziedev.playerelections.api.election
Represents an election.
Election() - Constructor for class com.olziedev.playerelections.api.election.Election
 
ElectionEvent - Class in com.olziedev.playerelections.api.events
Handles all the basic and common methods for events.
ElectionEvent() - Constructor for class com.olziedev.playerelections.api.events.ElectionEvent
 
ElectionEvent(boolean) - Constructor for class com.olziedev.playerelections.api.events.ElectionEvent
 
ElectionExpansionLoadEvent - Class in com.olziedev.playerelections.api.events.expansion
Event that is triggered before an expansion is being loaded.
ElectionExpansionLoadEvent(PluginExpansion) - Constructor for class com.olziedev.playerelections.api.events.expansion.ElectionExpansionLoadEvent
This event is triggered before an expansion is loaded.
ElectionExpansionUnloadEvent - Class in com.olziedev.playerelections.api.events.expansion
Event that is triggered before an expansion is being unloaded.
ElectionExpansionUnloadEvent(PluginExpansion) - Constructor for class com.olziedev.playerelections.api.events.expansion.ElectionExpansionUnloadEvent
This event is triggered before an expansion is unloaded.
ElectionSystem - Enum in com.olziedev.playerelections.api.election
List of all possible election systems.
ELog - Class in com.olziedev.playerelections.api.election
Represents a log in an election.
ELog() - Constructor for class com.olziedev.playerelections.api.election.ELog
 
EPlayer - Class in com.olziedev.playerelections.api.player
Handles and manages all the player data.
EPlayer() - Constructor for class com.olziedev.playerelections.api.player.EPlayer
 
EPoll - Class in com.olziedev.playerelections.api.election
Represents a poll in an election.
EPoll() - Constructor for class com.olziedev.playerelections.api.election.EPoll
 
ERequirements - Class in com.olziedev.playerelections.api.election
Represents the requirements for a player to vote in an election.
ERequirements() - Constructor for class com.olziedev.playerelections.api.election.ERequirements
 
EVote - Class in com.olziedev.playerelections.api.election
Represents a vote in an election.
EVote() - Constructor for class com.olziedev.playerelections.api.election.EVote
 
execute(CommandSender, String[]) - Method in class com.olziedev.playerelections.api.election.command.ECommand
This method is called when the command has been executed by its sender.
executeCommand(Player, String) - Method in interface com.olziedev.playerelections.api.election.command.CommandRegistry
Execute a config command with the correct syntax.
executeExpansionAction(Class<T>, Consumer<? super T>) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Execute a consumer action on the specified implementation.
executorType - Variable in class com.olziedev.playerelections.api.election.command.ECommand
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.playerelections.api.expansion
Represents an expansion for it to be loaded and used in ExpansionRegistry.
Expansion() - Constructor for class com.olziedev.playerelections.api.expansion.Expansion
 
expansionConfig - Variable in class com.olziedev.playerelections.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.playerelections.api.events.expansion
Handles all expansion type events.
ExpansionEvent(PluginExpansion) - Constructor for class com.olziedev.playerelections.api.events.expansion.ExpansionEvent
 
ExpansionEvent(PluginExpansion, boolean) - Constructor for class com.olziedev.playerelections.api.events.expansion.ExpansionEvent
 
ExpansionRegistry - Class in com.olziedev.playerelections.api.expansion
Handles and manages all expansions for the plugin.
ExpansionRegistry() - Constructor for class com.olziedev.playerelections.api.expansion.ExpansionRegistry
 

F

file - Variable in class com.olziedev.playerelections.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.playerelections.api.election.EConfig
 
formatNumber(double, boolean) - Method in interface com.olziedev.playerelections.api.election.EConfig
 
formatNumberShort(double) - Method in interface com.olziedev.playerelections.api.election.EConfig
 
FutureTask - Class in com.olziedev.playerelections.api.scheduler.wrapped.task
 
FutureTask() - Constructor for class com.olziedev.playerelections.api.scheduler.wrapped.task.FutureTask
 

G

getBlock(int, int, int) - Method in class com.olziedev.playerelections.api.scheduler.wrapped.chunk.BukkitChunk
Gets the block at the specified coordinates.
getByName(String, ElectionSystem) - Static method in enum com.olziedev.playerelections.api.election.ElectionSystem
 
getCandidate() - Method in class com.olziedev.playerelections.api.election.ECandidate
 
getCandidate() - Method in class com.olziedev.playerelections.api.election.EVote
 
getCandidates() - Method in class com.olziedev.playerelections.api.election.Election
 
getChunkAsync(Location, Consumer<BukkitChunk>) - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to get a chunk asynchronously when possible.
getClazzLoader() - Method in class com.olziedev.playerelections.api.OlziePluginAPI
 
getCommandRegistry() - Method in class com.olziedev.playerelections.api.PlayerElectionsAPI
 
getCommands() - Method in interface com.olziedev.playerelections.api.election.command.CommandRegistry
Retrieve a list of all the sub-commands added via CommandRegistry.addSubCommand(ECommand) This doesn't include internal sub-commands provided by the plugin.
getCreated() - Method in class com.olziedev.playerelections.api.election.Election
 
getDuration() - Method in class com.olziedev.playerelections.api.election.Election
 
getElection() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionCreateEvent
 
getElection() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionRemoveEvent
 
getElection() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
 
getExpansion() - Method in class com.olziedev.playerelections.api.events.expansion.ExpansionEvent
 
getExpansion(Class<T>) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve an expansion based on the class specified.
getExpansion(String) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve an expansion based on the name specified.
getExpansionRegistry() - Method in class com.olziedev.playerelections.api.OlziePluginAPI
 
getExpansionRegistry() - Method in class com.olziedev.playerelections.api.PlayerElectionsAPI
 
getExpansions() - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve a list of all the expansions.
getExpansions(Class<T>) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve a list of all the expansions based on the implementation specified.
getExpansionStream(Class<T>) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve a stream of all the expansions based on the implementation specified.
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.election.PlayerElectionCreateEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.election.PlayerElectionRemoveEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.expansion.ElectionExpansionLoadEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.expansion.ElectionExpansionUnloadEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
 
getHandlerList() - Static method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionCreateEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionRemoveEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.expansion.ElectionExpansionLoadEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.expansion.ElectionExpansionUnloadEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
 
getHandlers() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
getId() - Method in class com.olziedev.playerelections.api.election.ECandidate
 
getId() - Method in class com.olziedev.playerelections.api.election.Election
 
getId() - Method in class com.olziedev.playerelections.api.election.ELog
 
getId() - Method in class com.olziedev.playerelections.api.election.EPoll
 
getId() - Method in class com.olziedev.playerelections.api.election.EVote
 
getInstance() - Static method in class com.olziedev.playerelections.api.PlayerElectionsAPI
Retrieve the instance of the API.
getInstance(Consumer<EConfig>) - Static method in interface com.olziedev.playerelections.api.election.EConfig
Waits for the instance of the API when it is ready.
getInstance(Consumer<PlayerElectionsAPI>) - Static method in class com.olziedev.playerelections.api.PlayerElectionsAPI
Waits for the instance of the API when it is ready.
getItemStack() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
 
getLanguageValue(String) - Method in interface com.olziedev.playerelections.api.election.EConfig
 
getLanguageValue(UUID, String) - Method in interface com.olziedev.playerelections.api.election.EConfig
 
getLocation() - Method in class com.olziedev.playerelections.api.election.EPoll
 
getLogs() - Method in class com.olziedev.playerelections.api.election.Election
 
getMessage() - Method in class com.olziedev.playerelections.api.election.ELog
 
getMinimumVotes() - Method in class com.olziedev.playerelections.api.election.Election
 
getName() - Method in class com.olziedev.playerelections.api.election.Election
 
getName() - Method in enum com.olziedev.playerelections.api.election.ElectionSystem
 
getName() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
 
getName() - Method in class com.olziedev.playerelections.api.player.EPlayer
 
getOfflinePlayer() - Method in class com.olziedev.playerelections.api.player.EPlayer
 
getOwner() - Method in class com.olziedev.playerelections.api.election.Election
 
getPermissions() - Method in class com.olziedev.playerelections.api.election.ERequirements
 
getPlayer() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionCreateEvent
 
getPlayer() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionRemoveEvent
 
getPlayer() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
 
getPlayer() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
 
getPlayer() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
getPlayer() - Method in class com.olziedev.playerelections.api.player.EPlayer
 
getPlayerElectionsAPI() - Method in class com.olziedev.playerelections.api.events.ElectionEvent
 
getPlaytime() - Method in class com.olziedev.playerelections.api.election.ERequirements
 
getPlugin() - Method in class com.olziedev.playerelections.api.PlayerElectionsAPI
 
getPluginScheduler() - Method in class com.olziedev.playerelections.api.OlziePluginAPI
 
getPolls() - Method in class com.olziedev.playerelections.api.election.Election
 
getPos() - Method in class com.olziedev.playerelections.api.election.EVote
 
getRequirements() - Method in class com.olziedev.playerelections.api.election.Election
 
getSubmitted() - Method in class com.olziedev.playerelections.api.election.EVote
 
getSystem() - Method in class com.olziedev.playerelections.api.election.Election
 
getTaskId() - Method in class com.olziedev.playerelections.api.scheduler.wrapped.task.FutureTask
 
getTaskId() - Method in interface com.olziedev.playerelections.api.scheduler.wrapped.task.PluginTask
 
getTimestamp() - Method in class com.olziedev.playerelections.api.election.ELog
 
getTitle() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
getType() - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
getUUID() - Method in class com.olziedev.playerelections.api.player.EPlayer
 
getVaultExpansionChat() - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve the integrated permission provider in this registry from Vault.
getVaultExpansionEconomy() - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve the integrated permission provider in this registry from Vault.
getVaultExpansionPermission() - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Retrieve the integrated permission provider in this registry from Vault.
getVote() - Method in class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
 
getVoter() - Method in class com.olziedev.playerelections.api.election.EVote
 
getVotes() - Method in class com.olziedev.playerelections.api.election.ECandidate
 

I

innitPlaceholders(PluginExpansion) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Initialize the placeholders for the pluginExpansion.
instance - Static variable in interface com.olziedev.playerelections.api.election.EConfig
 
integrated - Variable in class com.olziedev.playerelections.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.playerelections.api.events.ElectionEvent
 
isCancelled() - Method in class com.olziedev.playerelections.api.scheduler.wrapped.task.FutureTask
 
isCancelled() - Method in interface com.olziedev.playerelections.api.scheduler.wrapped.task.PluginTask
Checks if the task is cancelled.
isEnabled() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
 
isOpen() - Method in class com.olziedev.playerelections.api.election.Election
 
isWaitingForCallback() - Method in class com.olziedev.playerelections.api.events.ElectionEvent
 

M

MAIN - Enum constant in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
 

N

name - Variable in class com.olziedev.playerelections.api.election.command.ECommand
The name of the sub-command that the player will have to enter after the main command.
next() - Method in enum com.olziedev.playerelections.api.election.ElectionSystem
 
noPlaceholderAPICondition(ConfigurationSection, Function<String, String>, OfflinePlayer) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
 

O

OlziePluginAPI - Class in com.olziedev.playerelections.api
The main class for accessing and using the API.
OlziePluginAPI() - Constructor for class com.olziedev.playerelections.api.OlziePluginAPI
 
onLoad() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
This method will be initialised if PluginExpansion.isEnabled() returns true on plugin enable.
onPreLoad() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
The method that will be initialised before the entire plugin is loaded.
onTabComplete(CommandSender, String[]) - Method in class com.olziedev.playerelections.api.election.command.ECommand
 
onUnload() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
This method will be initialised when the addon is unloading.
override - Variable in class com.olziedev.playerelections.api.election.command.ECommand
Should this command override any set sub-commands that have already been registered.

P

permissions - Variable in class com.olziedev.playerelections.api.election.command.ECommand
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.playerelections.api.election.command.ECommand.ExecutorType
Only players can execute the command.
PlayerElectionCreateEvent - Class in com.olziedev.playerelections.api.events.election
Event triggered before an election has been created.
PlayerElectionCreateEvent(Election, Player) - Constructor for class com.olziedev.playerelections.api.events.election.PlayerElectionCreateEvent
This event is triggered before an election has been created.
PlayerElectionRemoveEvent - Class in com.olziedev.playerelections.api.events.election
Event triggered before an election has been removed.
PlayerElectionRemoveEvent(Election, Player) - Constructor for class com.olziedev.playerelections.api.events.election.PlayerElectionRemoveEvent
This event is triggered before an election has been removed.
PlayerElectionsAPI - Class in com.olziedev.playerelections.api
The main class for accessing and using the API.
PlayerElectionsAPI() - Constructor for class com.olziedev.playerelections.api.PlayerElectionsAPI
 
PlayerElectionsItemEvent - Class in com.olziedev.playerelections.api.events.menu
Event that is triggered before an item is parsed in a menu.
PlayerElectionsItemEvent(Player, ItemStack) - Constructor for class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
This event is triggered before an item is parsed in a menu.
PlayerElectionsMenuEvent - Class in com.olziedev.playerelections.api.events.menu
Event that is triggered before a menu is opened.
PlayerElectionsMenuEvent(EPlayer, String, PlayerElectionsMenuEvent.MenuType) - Constructor for class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
This event is triggered before a menu is opened.
PlayerElectionsMenuEvent.MenuType - Enum in com.olziedev.playerelections.api.events.menu
List of all possible menu types.
PlayerElectionVoteEvent - Class in com.olziedev.playerelections.api.events.election
Event that is triggered when a player votes on an election.
PlayerElectionVoteEvent(Election, EVote, Player) - Constructor for class com.olziedev.playerelections.api.events.election.PlayerElectionVoteEvent
This event is triggered before a player votes on an election.
plugin - Variable in class com.olziedev.playerelections.api.expansion.PluginExpansion
This variable is initialised when the expansion has been loaded and returns the PlayerWarps plugin instance.
PluginExpansion - Class in com.olziedev.playerelections.api.expansion
Represents an expansion for it to be loaded and used in ExpansionRegistry.
PluginExpansion() - Constructor for class com.olziedev.playerelections.api.expansion.PluginExpansion
 
PluginScheduler<T,Z> - Class in com.olziedev.playerelections.api.scheduler
This class is used to schedule tasks for the plugin.
PluginScheduler(JavaPlugin) - Constructor for class com.olziedev.playerelections.api.scheduler.PluginScheduler
This constructor is used to create a new plugin scheduler.
PluginTask - Interface in com.olziedev.playerelections.api.scheduler.wrapped.task
Represents a task that can be cancelled.
postEvent() - Method in class com.olziedev.playerelections.api.events.ElectionEvent
Deprecated.
Internal use only, do not use under any circumstances!
postEvent(Runnable) - Method in class com.olziedev.playerelections.api.events.ElectionEvent
This method is called when the event is finished without having to rely on waiting a tick.
PREFERENTIAL - Enum constant in enum com.olziedev.playerelections.api.election.ElectionSystem
This constant represents the preferential election system.
PremiumPlugin - Interface in com.olziedev.playerelections.api
 

R

registerCommandPlaceholder(String, Function<Player, String>) - Method in interface com.olziedev.playerelections.api.election.command.CommandRegistry
Register a config command placeholder.
registerExpansion(PluginExpansion) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Register an pluginExpansion to the registry.
registry - Variable in class com.olziedev.playerelections.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.playerelections.api.expansion.ExpansionRegistry
Reload all the expansions from the registry.
removeSubCommand(String) - Method in interface com.olziedev.playerelections.api.election.command.CommandRegistry
Removes a sub-command from the registry.
runSingleTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to run a task on a single thread.
runTask(Runnable) - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
Ths method is used to run a task on the main thread.
runTaskAsync(Consumer<PluginTask>) - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to run a task asynchronously.
runTaskAtEntity(Entity, Consumer<PluginTask>) - Method in class com.olziedev.playerelections.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.playerelections.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.playerelections.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.playerelections.api.scheduler.PluginScheduler
This method is used to run a task at a specific chunk.
runTaskAtLocation(Location, Consumer<PluginTask>) - Method in class com.olziedev.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.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.playerelections.api.scheduler.PluginScheduler
This method is used to schedule a runnable to run after a delay.
sendMessage(CommandSender, String) - Method in class com.olziedev.playerelections.api.PlayerElectionsAPI
Use the plugin send message method for all type of syntax support.
setCancelled(boolean) - Method in class com.olziedev.playerelections.api.events.ElectionEvent
 
setEventCallback(Runnable) - Method in class com.olziedev.playerelections.api.events.ElectionEvent
Deprecated.
Internal use only, do not use under any circumstances!
setExecutors() - Static method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to setup the executors.
setItemStack(ItemStack) - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsItemEvent
 
setTask(Future<?>) - Method in class com.olziedev.playerelections.api.scheduler.wrapped.task.FutureTask
Modifies the task to be cancelled.
setTitle(String) - Method in class com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent
 
shutdownExpansions() - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Unregisters all the loaded expansions from the registry.
syntax - Variable in class com.olziedev.playerelections.api.election.command.ECommand
The syntax of the command.

T

teleportAsync(Player, Location, Consumer<Boolean>, PlayerTeleportEvent.TeleportCause) - Method in class com.olziedev.playerelections.api.scheduler.PluginScheduler
This method is used to teleport a player to a location asynchronously when possible.

U

unload() - Method in class com.olziedev.playerelections.api.expansion.PluginExpansion
This method to unload the expansion from the registry.
unregisterExpansion(String) - Method in class com.olziedev.playerelections.api.expansion.ExpansionRegistry
Unregister an expansion from the registry.

V

valueOf(String) - Static method in enum com.olziedev.playerelections.api.election.command.ECommand.ExecutorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.olziedev.playerelections.api.election.ElectionSystem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.olziedev.playerelections.api.election.command.ECommand.ExecutorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.olziedev.playerelections.api.election.ElectionSystem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class com.olziedev.playerelections.api.expansion.PluginExpansion
This variable is initialised when the expansion has been loaded and returns the version of the expansion.
VOTES - Enum constant in enum com.olziedev.playerelections.api.events.menu.PlayerElectionsMenuEvent.MenuType
 

W

waitForCallback(boolean) - Method in class com.olziedev.playerelections.api.events.ElectionEvent
This method allows you to wait for the plugins event to continue after you call acceptCallback().
A B C D E F G I M N O P R S T U V W 
All Classes and Interfaces|All Packages