Index
All Classes and Interfaces|All Packages
A
- addToQueue(Player, DQueue) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Adds the
Playerto the givenDQueue. - ALREADY_SPECTATING - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
- api - Variable in class com.meteordevelopments.duels.api.extension.DuelsExtension
- Arena - Interface in com.meteordevelopments.duels.api.arena
-
Represents an Arena loaded on the server.
- ArenaCreateEvent - Class in com.meteordevelopments.duels.api.event.arena
-
Called when a new
Arenais created. - ArenaCreateEvent(CommandSender, Arena) - Constructor for class com.meteordevelopments.duels.api.event.arena.ArenaCreateEvent
- ArenaEvent - Class in com.meteordevelopments.duels.api.event.arena
-
Represents an event caused by a
Arena. - ArenaManager - Interface in com.meteordevelopments.duels.api.arena
-
Represents the ArenaManager singleton used by Duels.
- ArenaRemoveEvent - Class in com.meteordevelopments.duels.api.event.arena
-
Called when an
Arenais removed. - ArenaRemoveEvent(CommandSender, Arena) - Constructor for class com.meteordevelopments.duels.api.event.arena.ArenaRemoveEvent
- ArenaSetPositionEvent - Class in com.meteordevelopments.duels.api.event.arena
-
Called when a new spawnpoint is set for an
Arena. - ArenaSetPositionEvent(CommandSender, Arena, int, Location) - Constructor for class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
- ArenaStateChangeEvent - Class in com.meteordevelopments.duels.api.event.arena
-
Called when an
Arenais enabled or disabled. - ArenaStateChangeEvent(CommandSender, Arena, boolean) - Constructor for class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
C
- canBetItems() - Method in interface com.meteordevelopments.duels.api.request.Request
-
Whether or not item betting is enabled for this
Request. - cancelTask(ScheduledTask) - Method in interface com.meteordevelopments.duels.api.Duels
-
Cancels the task if not already cancelled.
- canRequest() - Method in interface com.meteordevelopments.duels.api.user.User
-
Whether or not this user is receiving duel requests.
- com.meteordevelopments.duels.api - package com.meteordevelopments.duels.api
- com.meteordevelopments.duels.api.arena - package com.meteordevelopments.duels.api.arena
- com.meteordevelopments.duels.api.command - package com.meteordevelopments.duels.api.command
- com.meteordevelopments.duels.api.event - package com.meteordevelopments.duels.api.event
- com.meteordevelopments.duels.api.event.arena - package com.meteordevelopments.duels.api.event.arena
- com.meteordevelopments.duels.api.event.kit - package com.meteordevelopments.duels.api.event.kit
- com.meteordevelopments.duels.api.event.match - package com.meteordevelopments.duels.api.event.match
- com.meteordevelopments.duels.api.event.queue - package com.meteordevelopments.duels.api.event.queue
- com.meteordevelopments.duels.api.event.queue.sign - package com.meteordevelopments.duels.api.event.queue.sign
- com.meteordevelopments.duels.api.event.request - package com.meteordevelopments.duels.api.event.request
- com.meteordevelopments.duels.api.event.spectate - package com.meteordevelopments.duels.api.event.spectate
- com.meteordevelopments.duels.api.event.user - package com.meteordevelopments.duels.api.event.user
- com.meteordevelopments.duels.api.extension - package com.meteordevelopments.duels.api.extension
- com.meteordevelopments.duels.api.kit - package com.meteordevelopments.duels.api.kit
- com.meteordevelopments.duels.api.match - package com.meteordevelopments.duels.api.match
- com.meteordevelopments.duels.api.queue - package com.meteordevelopments.duels.api.queue
- com.meteordevelopments.duels.api.queue.sign - package com.meteordevelopments.duels.api.queue.sign
- com.meteordevelopments.duels.api.request - package com.meteordevelopments.duels.api.request
- com.meteordevelopments.duels.api.spectate - package com.meteordevelopments.duels.api.spectate
- com.meteordevelopments.duels.api.user - package com.meteordevelopments.duels.api.user
- compareTo(UserManager.TopData) - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- create(Kit, int) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Calls
DQueueManager.create(CommandSender, Kit, int)with source being null. - create(CommandSender, Kit, int) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Creates a new
DQueue. - create(Player, String) - Method in interface com.meteordevelopments.duels.api.kit.KitManager
-
Creates a kit with given name and
Player's inventory contents.
D
- doAsync(Runnable) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task asynchronously.
- doAsyncAfter(Runnable, long) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task after delay asynchronously.
- doAsyncRepeat(Runnable, long, long) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task after delay asynchronously repeatedly.
- doSync(Runnable) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task on server thread.
- doSyncAfter(Runnable, long) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task after delay on server thread.
- doSyncRepeat(Runnable, long, long) - Method in interface com.meteordevelopments.duels.api.Duels
-
Runs the task after delay on server thread repeatedly.
- DQueue - Interface in com.meteordevelopments.duels.api.queue
-
Represents a Queue loaded on the server.
- DQueueManager - Interface in com.meteordevelopments.duels.api.queue
-
Represents the QueueManager singleton used by Duels.
- Duels - Interface in com.meteordevelopments.duels.api
- DuelsExtension - Class in com.meteordevelopments.duels.api.extension
- DuelsExtension() - Constructor for class com.meteordevelopments.duels.api.extension.DuelsExtension
E
- equals(Object) - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- equals(Object) - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- equip(Player) - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Equips the
Playerwith the contents of this kit. - error(String) - Method in interface com.meteordevelopments.duels.api.Duels
-
Logs a message with
Level.SEVERE. - error(String, Throwable) - Method in interface com.meteordevelopments.duels.api.Duels
-
Logs a message and the
Throwableprovided withLevel.SEVERE. - EVENT_CANCELLED - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
- execute(CommandSender, String, String[]) - Method in class com.meteordevelopments.duels.api.command.SubCommand
G
- get(Kit, int) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Gets a
DQueuewith the given kit and bet. - get(String) - Method in interface com.meteordevelopments.duels.api.arena.ArenaManager
-
Attempts to find an
Arenainstance associated with the given name. - get(String) - Method in interface com.meteordevelopments.duels.api.kit.KitManager
-
Attempts to find an
Kitinstance associated with the given name. - get(String) - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Gets a
Userwith the given name. - get(UUID) - Method in interface com.meteordevelopments.duels.api.user.UserManager
- get(Sign) - Method in interface com.meteordevelopments.duels.api.queue.sign.QueueSignManager
-
Gets a
QueueSignthat is associated with the givenSign. - get(Player) - Method in interface com.meteordevelopments.duels.api.arena.ArenaManager
-
Attempts to find an
Arenainstance that contains the player. - get(Player) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Gets a
DQueuewith the givenPlayer. - get(Player) - Method in interface com.meteordevelopments.duels.api.spectate.SpectateManager
-
Attempts to find a
Spectatorinstance associated to the player given. - get(Player) - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Calls
UserManager.get(UUID)withEntity.getUniqueId(). - getAliases() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The aliases of this subcommand.
- getApi() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getArena() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaEvent
-
Arenainstance associated with this event. - getArena() - Method in interface com.meteordevelopments.duels.api.match.Match
- getArena() - Method in interface com.meteordevelopments.duels.api.request.Request
- getArena() - Method in interface com.meteordevelopments.duels.api.spectate.Spectator
-
The
Arenathis spectator is spectating. - getArenaManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the ArenaManager singleton used by Duels.
- getArenas() - Method in interface com.meteordevelopments.duels.api.arena.ArenaManager
-
An UnmodifiableList of
Arenas that are currently loaded. - getBet() - Method in interface com.meteordevelopments.duels.api.match.Match
-
The bet amount for this
Match. - getBet() - Method in interface com.meteordevelopments.duels.api.queue.DQueue
-
The bet amount for this
DQueue. - getBet() - Method in interface com.meteordevelopments.duels.api.request.Request
-
The bet for this
Request. - getConfig() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getCreation() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The created timestamp of this match info in milliseconds.
- getCreation() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- getData() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- getDataFolder() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getDescription() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The description of this subcommand.
- getDisplayed() - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
The item displayed in the kit selector gui.
- getDuration() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The duration of this match in milliseconds.
- getFile() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getFolder() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.arena.ArenaCreateEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.arena.ArenaRemoveEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.kit.KitCreateEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.kit.KitRemoveEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.match.MatchEndEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.match.MatchStartEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.QueueCreateEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.QueueLeaveEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.QueueRemoveEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignCreateEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignRemoveEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.request.RequestAcceptEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.request.RequestDenyEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.request.RequestSendEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.spectate.SpectateEndEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.spectate.SpectateStartEvent
- getHandlerList() - Static method in class com.meteordevelopments.duels.api.event.user.UserCreateEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaCreateEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaRemoveEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.kit.KitCreateEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.kit.KitRemoveEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.match.MatchEndEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.match.MatchStartEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.QueueCreateEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.QueueLeaveEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.QueueRemoveEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignCreateEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignRemoveEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.request.RequestAcceptEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.request.RequestDenyEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.request.RequestSendEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateEndEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateStartEvent
- getHandlers() - Method in class com.meteordevelopments.duels.api.event.user.UserCreateEvent
- getHealth() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The winner's finishing health.
- getIdentifier() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- getItems(Player) - Method in interface com.meteordevelopments.duels.api.match.Match
-
UnmodifiableList of ItemStacks the player has bet for this
Match. - getKit() - Method in class com.meteordevelopments.duels.api.event.kit.KitEvent
-
Kitinstance associated with this event. - getKit() - Method in interface com.meteordevelopments.duels.api.match.Match
- getKit() - Method in interface com.meteordevelopments.duels.api.queue.DQueue
- getKit() - Method in interface com.meteordevelopments.duels.api.request.Request
- getKit() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The name of the kit used in this match or null if no kit was used.
- getKitManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the KitManager singleton used by Duels.
- getKits() - Method in interface com.meteordevelopments.duels.api.kit.KitManager
-
An UnmodifiableList of
Kits that are currently loaded. - getLength() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The length of this subcommand.
- getLocation() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
-
The location of the spawnpoint set.
- getLocation() - Method in interface com.meteordevelopments.duels.api.queue.sign.QueueSign
-
The
Locationof thisQueueSign. - getLoser() - Method in class com.meteordevelopments.duels.api.event.match.MatchEndEvent
-
Loser of the
Match. - getLoser() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The name of the loser of this match.
- getLosses() - Method in interface com.meteordevelopments.duels.api.user.User
-
Total losses of this user.
- getMatch() - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
The
Matchbeing played in this arena. - getMatch() - Method in class com.meteordevelopments.duels.api.event.match.MatchEvent
-
Matchinstance associated with this event. - getMatches() - Method in interface com.meteordevelopments.duels.api.user.User
-
UnmodifiableList of recent matches for this user.
- getName() - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
The name of this arena.
- getName() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The name of this subcommand.
- getName() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getName() - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
The name of this kit.
- getName() - Method in interface com.meteordevelopments.duels.api.user.User
-
The Name of this user.
- getName() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- getOpponent(Player) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
The
Matchopponent playing in this arena. - getPermission() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The permission of this subcommand.
- getPlayer() - Method in interface com.meteordevelopments.duels.api.spectate.Spectator
-
The
Playerinstance of this spectator. - getPlayers() - Method in class com.meteordevelopments.duels.api.event.match.MatchStartEvent
-
The starters of the
Match. - getPlayers() - Method in interface com.meteordevelopments.duels.api.match.Match
-
UnmodifiableSet of alive players in this
Match. - getPlayersInMatch() - Method in interface com.meteordevelopments.duels.api.queue.DQueue
-
An UnmodifiableList of
Players playing in this queue. - getPos() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
-
The position number of the spawnpoint set.
- getPosition(int) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
The spawnpoint set for the position number.
- getQueue() - Method in class com.meteordevelopments.duels.api.event.queue.QueueEvent
-
DQueueinstance associated with this event. - getQueue() - Method in interface com.meteordevelopments.duels.api.queue.sign.QueueSign
- getQueuedPlayers() - Method in interface com.meteordevelopments.duels.api.queue.DQueue
-
An UnmodifiableList of
Players in this queue. - getQueueManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the DQueueManager singleton used by Duels.
- getQueues() - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
An UnmodifiableList of
DQueues that are currently loaded. - getQueueSign() - Method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignEvent
-
QueueSigninstance associated with this event. - getQueueSignManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the QueueSignManager singleton used by Duels.
- getQueueSigns() - Method in interface com.meteordevelopments.duels.api.queue.sign.QueueSignManager
-
An UnmodifiableList of
QueueSigns that are currently loaded. - getRating() - Method in interface com.meteordevelopments.duels.api.user.User
-
Gets the no kit rating.
- getRating(Kit) - Method in interface com.meteordevelopments.duels.api.user.User
-
Gets the rating of the given
Kit. - getReason() - Method in class com.meteordevelopments.duels.api.event.match.MatchEndEvent
-
End reason of the
Match. - getRequest() - Method in class com.meteordevelopments.duels.api.event.request.RequestEvent
-
Requestinstance associated with this event. - getRequiredVersion() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
-
Deprecated.As of v3.2.0. Specify 'api-version' in extension.yml instead.
- getResource(String) - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- getSender() - Method in interface com.meteordevelopments.duels.api.request.Request
- getSource() - Method in class com.meteordevelopments.duels.api.event.kit.KitCreateEvent
- getSource() - Method in class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
-
Playerwho is equipping theKit. - getSource() - Method in class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
-
Playerwho is joining theDQueue. - getSource() - Method in class com.meteordevelopments.duels.api.event.queue.QueueLeaveEvent
-
Playerwho is leaving theDQueue. - getSource() - Method in class com.meteordevelopments.duels.api.event.queue.sign.QueueSignEvent
-
Playerwho is the source of this event. - getSource() - Method in class com.meteordevelopments.duels.api.event.request.RequestEvent
-
Playerwho is the source of this event. - getSource() - Method in class com.meteordevelopments.duels.api.event.SourcedEvent
-
Source of this event.
- getSource() - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateEvent
- getSpectateManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the SpectateManager singleton used by Duels.
- getSpectator() - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateEvent
-
Spectatorinstance associated with this event. - getSpectators(Arena) - Method in interface com.meteordevelopments.duels.api.spectate.SpectateManager
- getStart() - Method in interface com.meteordevelopments.duels.api.match.Match
-
The start of this match
Matchmilliseconds. - getStartingPlayers() - Method in interface com.meteordevelopments.duels.api.match.Match
-
UnmodifiableSet of players who started this
Match. - getTarget() - Method in class com.meteordevelopments.duels.api.event.request.RequestEvent
-
Playerwho is the target of this event. - getTarget() - Method in interface com.meteordevelopments.duels.api.request.Request
- getTarget() - Method in interface com.meteordevelopments.duels.api.spectate.Spectator
-
The
Playerinstance of the player this spectator is spectating. - getTargetUuid() - Method in interface com.meteordevelopments.duels.api.spectate.Spectator
-
The
UUIDof the player this spectator is spectating. - getTopLosses() - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Gets the top losses.
- getTopRatings() - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Gets the top rating for no kit.
- getTopRatings(Kit) - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Gets the top rating for the given
Kit. - getTopWins() - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Gets the top wins.
- getType() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- getUsage() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
The usage of this subcommand.
- getUser() - Method in class com.meteordevelopments.duels.api.event.user.UserCreateEvent
-
The
Userthat was created. - getUserManager() - Method in interface com.meteordevelopments.duels.api.Duels
-
Gets the UserManager singleton used by Duels.
- getUuid() - Method in interface com.meteordevelopments.duels.api.spectate.Spectator
-
The
UUIDof this spectator. - getUuid() - Method in interface com.meteordevelopments.duels.api.user.User
-
The
UUIDof this user. - getUuid() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- getValue() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- getVersion() - Method in interface com.meteordevelopments.duels.api.Duels
-
Current plugin version.
- getWinner() - Method in class com.meteordevelopments.duels.api.event.match.MatchEndEvent
-
Winner of the
Match. - getWinner() - Method in interface com.meteordevelopments.duels.api.user.MatchInfo
-
The name of the winner of this match.
- getWins() - Method in interface com.meteordevelopments.duels.api.user.User
-
Total wins of this user.
H
- has(Player) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Whether or not the player is playing in this arena.
- hashCode() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopData
- hashCode() - Method in class com.meteordevelopments.duels.api.user.UserManager.TopEntry
- hasSource() - Method in class com.meteordevelopments.duels.api.event.SourcedEvent
-
Whether or not this event has a source specified.
I
- IN_MATCH - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
- IN_QUEUE - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
- info(String) - Method in interface com.meteordevelopments.duels.api.Duels
-
Logs a message with
Level.INFO. - isArenaSpecific() - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Whether or not this kit has arenaSpecific enabled.
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.request.RequestAcceptEvent
-
Whether or not this event has been cancelled.
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.request.RequestSendEvent
-
Whether or not this event has been cancelled.
- isCancelled() - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateStartEvent
- isDisabled() - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Whether or not this arena is currently disabled.
- isDisabled() - Method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
-
Whether or not the
Arenais disabling. - isEnabled() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- isFinished() - Method in interface com.meteordevelopments.duels.api.match.Match
-
Whether or not this
Matchis finished. - isInMatch(Player) - Method in interface com.meteordevelopments.duels.api.arena.ArenaManager
-
Whether or not the given player is in a match.
- isInQueue(Player) - Method in interface com.meteordevelopments.duels.api.queue.DQueue
-
Whether or not the given
Playeris in thisDQueue. - isInQueue(Player) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Whether or not the
Playeris in a queue. - isLoaded() - Method in interface com.meteordevelopments.duels.api.user.UserManager
-
Whether or not had all users completed loading to the memory.
- isPlayerOnly() - Method in class com.meteordevelopments.duels.api.command.SubCommand
-
Whether or not this subcommand can only be used by a player.
- isRemoved() - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Whether or not this
Arenahas been removed. - isRemoved() - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Whether or not this
Kithas been removed. - isRemoved() - Method in interface com.meteordevelopments.duels.api.queue.DQueue
-
Whether or not this
DQueuehas been removed. - isRemoved() - Method in interface com.meteordevelopments.duels.api.queue.sign.QueueSign
-
Whether or not this
QueueSignhas been removed. - isSpectating(Player) - Method in interface com.meteordevelopments.duels.api.spectate.SpectateManager
-
Checks if a player is spectating a match.
- isUsed() - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Whether or not a duel is currently being played in this arena.
- isUsePermission() - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Whether or not this kit requires a permission.
K
- Kit - Interface in com.meteordevelopments.duels.api.kit
-
Represents an Kit loaded on the server.
- KitCreateEvent - Class in com.meteordevelopments.duels.api.event.kit
-
Called when a
Kitis created. - KitCreateEvent(Player, Kit) - Constructor for class com.meteordevelopments.duels.api.event.kit.KitCreateEvent
- KitEquipEvent - Class in com.meteordevelopments.duels.api.event.kit
-
Called when a
Playerequips aKit. - KitEquipEvent(Player, Kit) - Constructor for class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
- KitEvent - Class in com.meteordevelopments.duels.api.event.kit
-
Represents an event caused by a
Kit. - KitManager - Interface in com.meteordevelopments.duels.api.kit
-
Represents the KitManager singleton used by Duels.
- KitRemoveEvent - Class in com.meteordevelopments.duels.api.event.kit
-
Called when a
Kitis removed. - KitRemoveEvent(CommandSender, Kit) - Constructor for class com.meteordevelopments.duels.api.event.kit.KitRemoveEvent
M
- Match - Interface in com.meteordevelopments.duels.api.match
-
Represents an ongoing Match.
- MatchEndEvent - Class in com.meteordevelopments.duels.api.event.match
-
Called when a
Matchis ending. - MatchEndEvent(Match, UUID, UUID, MatchEndEvent.Reason) - Constructor for class com.meteordevelopments.duels.api.event.match.MatchEndEvent
- MatchEndEvent.Reason - Enum Class in com.meteordevelopments.duels.api.event.match
- MatchEvent - Class in com.meteordevelopments.duels.api.event.match
-
Represents an event caused by a
Match. - MatchInfo - Interface in com.meteordevelopments.duels.api.user
-
Represents the data of a match that had occured in the past.
- MatchStartEvent - Class in com.meteordevelopments.duels.api.event.match
-
Called when a
Matchhas started. - MatchStartEvent(Match, Player...) - Constructor for class com.meteordevelopments.duels.api.event.match.MatchStartEvent
- MAX_TIME_REACHED - Enum constant in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
O
- onDisable() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- onEnable() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- OPPONENT_DEFEAT - Enum constant in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
- OTHER - Enum constant in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
P
- PLUGIN_DISABLE - Enum constant in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
Q
- QueueCreateEvent - Class in com.meteordevelopments.duels.api.event.queue
-
Called when a
DQueueis created. - QueueCreateEvent(CommandSender, DQueue) - Constructor for class com.meteordevelopments.duels.api.event.queue.QueueCreateEvent
- QueueEvent - Class in com.meteordevelopments.duels.api.event.queue
-
Represents an event caused by a
DQueue. - QueueJoinEvent - Class in com.meteordevelopments.duels.api.event.queue
-
Called when a player is joining a
DQueue. - QueueJoinEvent(Player, DQueue) - Constructor for class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
- QueueLeaveEvent - Class in com.meteordevelopments.duels.api.event.queue
-
Called when a player is leaving a
DQueue. - QueueLeaveEvent(Player, DQueue) - Constructor for class com.meteordevelopments.duels.api.event.queue.QueueLeaveEvent
- QueueRemoveEvent - Class in com.meteordevelopments.duels.api.event.queue
-
Called when a
DQueueis removed. - QueueRemoveEvent(CommandSender, DQueue) - Constructor for class com.meteordevelopments.duels.api.event.queue.QueueRemoveEvent
- QueueSign - Interface in com.meteordevelopments.duels.api.queue.sign
-
Represents a QueueSign loaded on the server.
- QueueSignCreateEvent - Class in com.meteordevelopments.duels.api.event.queue.sign
-
Called when a
QueueSignis created. - QueueSignCreateEvent(Player, QueueSign) - Constructor for class com.meteordevelopments.duels.api.event.queue.sign.QueueSignCreateEvent
- QueueSignEvent - Class in com.meteordevelopments.duels.api.event.queue.sign
-
Represents an event caused by a
QueueSign. - QueueSignManager - Interface in com.meteordevelopments.duels.api.queue.sign
-
Represents the QueueSignManager singleton used by Duels.
- QueueSignRemoveEvent - Class in com.meteordevelopments.duels.api.event.queue.sign
-
Called when a
QueueSignis removed. - QueueSignRemoveEvent(Player, QueueSign) - Constructor for class com.meteordevelopments.duels.api.event.queue.sign.QueueSignRemoveEvent
R
- registerListener(Listener) - Method in interface com.meteordevelopments.duels.api.Duels
-
Registers a
Listenerthat will be automatically unregistered on unload of Duels. - registerSubCommand(String, SubCommand) - Method in interface com.meteordevelopments.duels.api.Duels
-
Registers a
SubCommandto a Command registered by Duels. - reload() - Method in interface com.meteordevelopments.duels.api.Duels
-
Reloads the plugin.
- reloadConfig() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- remove(Kit, int) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Calls
DQueueManager.remove(CommandSender, Kit, int)with source being null. - remove(String) - Method in interface com.meteordevelopments.duels.api.kit.KitManager
-
Calls
KitManager.remove(CommandSender, String)with source being null. - remove(CommandSender, Kit, int) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Removes a new
DQueue. - remove(CommandSender, String) - Method in interface com.meteordevelopments.duels.api.kit.KitManager
-
Removes a kit with given name.
- removeFromQueue(Player) - Method in interface com.meteordevelopments.duels.api.queue.DQueueManager
-
Removes the
Playerfrom the queue. - Request - Interface in com.meteordevelopments.duels.api.request
-
Represents a Request sent.
- RequestAcceptEvent - Class in com.meteordevelopments.duels.api.event.request
- RequestAcceptEvent(Player, Player, Request) - Constructor for class com.meteordevelopments.duels.api.event.request.RequestAcceptEvent
- RequestDenyEvent - Class in com.meteordevelopments.duels.api.event.request
- RequestDenyEvent(Player, Player, Request) - Constructor for class com.meteordevelopments.duels.api.event.request.RequestDenyEvent
- RequestEvent - Class in com.meteordevelopments.duels.api.event.request
-
Represents an event caused by a
Request. - RequestSendEvent - Class in com.meteordevelopments.duels.api.event.request
- RequestSendEvent(Player, Player, Request) - Constructor for class com.meteordevelopments.duels.api.event.request.RequestSendEvent
- reset() - Method in interface com.meteordevelopments.duels.api.user.User
-
Resets user's wins, losses, recent matches, and all rating.
- resetRating() - Method in interface com.meteordevelopments.duels.api.user.User
-
Resets the rating to default for the no kit rating.
- resetRating(Kit) - Method in interface com.meteordevelopments.duels.api.user.User
-
Resets the rating to default for the given
Kit.
S
- saveConfig() - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- saveResource(String) - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- setArenaSpecific(boolean) - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Enables or disables arenaSpecific for this kit.
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.kit.KitEquipEvent
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.queue.QueueJoinEvent
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.request.RequestAcceptEvent
-
Whether or not to cancel this event.
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.request.RequestSendEvent
-
Whether or not to cancel this event.
- setCancelled(boolean) - Method in class com.meteordevelopments.duels.api.event.spectate.SpectateStartEvent
- setDisabled(boolean) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Calls
Arena.setDisabled(CommandSender, boolean)with the source being null. - setDisabled(boolean) - Method in class com.meteordevelopments.duels.api.event.arena.ArenaStateChangeEvent
-
Sets a new state for the
Arena. - setDisabled(CommandSender, boolean) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Disables this arena which prevents it from being used in duels.
- setEnabled(boolean) - Method in class com.meteordevelopments.duels.api.extension.DuelsExtension
- setLocation(Location) - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
-
Sets a new location for the spawnpoint.
- setLosses(int) - Method in interface com.meteordevelopments.duels.api.user.User
-
Sets new total wins for this user.
- setPos(int) - Method in class com.meteordevelopments.duels.api.event.arena.ArenaSetPositionEvent
-
Sets a new position number for the spawnpoint.
- setPosition(int, Location) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Calls
Arena.setPosition(Player, int, Location)with the source being null. - setPosition(Player, int, Location) - Method in interface com.meteordevelopments.duels.api.arena.Arena
-
Sets a spawnpoint with the given position and location.
- setRequests(boolean) - Method in interface com.meteordevelopments.duels.api.user.User
-
Enables or disables duel requests for this user.
- setUsePermission(boolean) - Method in interface com.meteordevelopments.duels.api.kit.Kit
-
Enables or disables usePermission for this kit.
- setWins(int) - Method in interface com.meteordevelopments.duels.api.user.User
-
Sets new total wins for this user
- SourcedEvent - Class in com.meteordevelopments.duels.api.event
-
Represents an event that may have a source.
- SourcedEvent(CommandSender) - Constructor for class com.meteordevelopments.duels.api.event.SourcedEvent
- SpectateEndEvent - Class in com.meteordevelopments.duels.api.event.spectate
-
Called before a player stops spectating.
- SpectateEndEvent(Player, Spectator) - Constructor for class com.meteordevelopments.duels.api.event.spectate.SpectateEndEvent
- SpectateEvent - Class in com.meteordevelopments.duels.api.event.spectate
-
Represents an event caused by a
Spectator. - SpectateManager - Interface in com.meteordevelopments.duels.api.spectate
-
Represents the SpectateManager singleton used by Duels.
- SpectateManager.Result - Enum Class in com.meteordevelopments.duels.api.spectate
- SpectateStartEvent - Class in com.meteordevelopments.duels.api.event.spectate
-
Called before a player starts spectating.
- SpectateStartEvent(Player, Spectator) - Constructor for class com.meteordevelopments.duels.api.event.spectate.SpectateStartEvent
- Spectator - Interface in com.meteordevelopments.duels.api.spectate
-
Represents a Spectator spectating a match.
- startSpectating(Player, Player) - Method in interface com.meteordevelopments.duels.api.spectate.SpectateManager
-
Attempts to put the player in spectator mode and teleports player to target player in match.
- stopSpectating(Player) - Method in interface com.meteordevelopments.duels.api.spectate.SpectateManager
-
Puts a player out of spectator mode.
- SubCommand - Class in com.meteordevelopments.duels.api.command
-
An abstract SubCommand class that hooks into commands registered by Duels.
- SubCommand(String, String, String, String, boolean, int, String...) - Constructor for class com.meteordevelopments.duels.api.command.SubCommand
-
The constructor for a subcommand.
- SUCCESS - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
T
- TARGET_NOT_IN_MATCH - Enum constant in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
- TIE - Enum constant in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
- TopData(UUID, String, int) - Constructor for class com.meteordevelopments.duels.api.user.UserManager.TopData
- TopEntry(String, String, List<UserManager.TopData>) - Constructor for class com.meteordevelopments.duels.api.user.UserManager.TopEntry
U
- User - Interface in com.meteordevelopments.duels.api.user
-
Represents a User loaded on the server.
- UserCreateEvent - Class in com.meteordevelopments.duels.api.event.user
-
Called when a new
Useris created. - UserCreateEvent(User) - Constructor for class com.meteordevelopments.duels.api.event.user.UserCreateEvent
- UserManager - Interface in com.meteordevelopments.duels.api.user
-
Represents the UserManager singleton used by Duels.
- UserManager.TopData - Class in com.meteordevelopments.duels.api.user
- UserManager.TopEntry - Class in com.meteordevelopments.duels.api.user
V
- valueOf(String) - Static method in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.meteordevelopments.duels.api.event.match.MatchEndEvent.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.meteordevelopments.duels.api.spectate.SpectateManager.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in interface com.meteordevelopments.duels.api.Duels
-
Logs a message with
Level.WARNING.
All Classes and Interfaces|All Packages