Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(Player, Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.request.RequestAPI
-
Accepts a duel request from another player.
- addKit(String) - Method in class com.xyrisdev.cloud.arena.model.DuelArena
-
Adds a new kit to the list of kits for the arena.
- addSpectator(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Adds a player as a spectator to the duel.
- arena() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Arena API for managing arenas.
- arena() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- ArenaAPI - Interface in com.xyrisdev.cloud.api.handler.arena
- ArenaCloneEvent - Class in com.xyrisdev.cloud.api.events.arena
-
Called when an arena is cloned.
- ArenaCloneEvent() - Constructor for class com.xyrisdev.cloud.api.events.arena.ArenaCloneEvent
- ArenaCreateEvent - Class in com.xyrisdev.cloud.api.events.arena
-
Called when an arena is created.
- ArenaCreateEvent() - Constructor for class com.xyrisdev.cloud.api.events.arena.ArenaCreateEvent
- ArenaDeleteEvent - Class in com.xyrisdev.cloud.api.events.arena
-
Called when an arena is deleted.
- ArenaDeleteEvent() - Constructor for class com.xyrisdev.cloud.api.events.arena.ArenaDeleteEvent
- arenaLoader() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Arena Loader API for loading and saving arenas.
- arenaLoader() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- ArenaLoaderAPI - Interface in com.xyrisdev.cloud.api.handler.arena
- ArenaLocationKey - Enum Class in com.xyrisdev.cloud.arena.model
- ArenaRegenerateEvent - Class in com.xyrisdev.cloud.api.events.arena
-
Called when an arena is regenerated.
- ArenaRegenerateEvent() - Constructor for class com.xyrisdev.cloud.api.events.arena.ArenaRegenerateEvent
- async() - Element in annotation interface com.xyrisdev.cloud.api.event.CloudHandler
- attempt(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.queue.QueueAPI
-
Attempts to match two players in the queue.
B
- bindKit(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Binds a kit to an arena, allowing that kit to be used in the arena.
- BLUE - Enum constant in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Represents the blue team's spawn location.
- BLUE - Enum constant in enum class com.xyrisdev.cloud.implementation.model.PlayerTeam
-
The BLUE team in the duel.
- blueSpawn(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the blue spawn location of an arena.
- BOXING - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, the first player to reach 100 hits wins.
- BREAK - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will be able to break blocks.
- BUILD - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will be able to place blocks.
C
- cache(String, Kit) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Caches a kit in memory.
- CancellableCloudEvent - Class in com.xyrisdev.cloud.api.event
- CancellableCloudEvent() - Constructor for class com.xyrisdev.cloud.api.event.CancellableCloudEvent
- center(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the center location of an arena.
- CENTER - Enum constant in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Represents the center of the arena.
- CENTER - Enum constant in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Represents the center location of the lobby.
- clone(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Clones an arena with its metadata and actual map, creating a new one with the specified center.
- CloudDuelsAPI - Interface in com.xyrisdev.cloud.api
- CloudDuelsAPIImpl - Class in com.xyrisdev.cloud.api.implementation
- CloudDuelsAPIImpl() - Constructor for class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- CloudEvent - Class in com.xyrisdev.cloud.api.event
- CloudEvent() - Constructor for class com.xyrisdev.cloud.api.event.CloudEvent
- CloudHandler - Annotation Interface in com.xyrisdev.cloud.api.event
- CloudListener - Interface in com.xyrisdev.cloud.api.event
- CloudPlayerData - Class in com.xyrisdev.cloud.storage.model
- CloudPlayerData() - Constructor for class com.xyrisdev.cloud.storage.model.CloudPlayerData
- com.xyrisdev.cloud.api - package com.xyrisdev.cloud.api
- com.xyrisdev.cloud.api.event - package com.xyrisdev.cloud.api.event
- com.xyrisdev.cloud.api.events.arena - package com.xyrisdev.cloud.api.events.arena
- com.xyrisdev.cloud.api.events.duel - package com.xyrisdev.cloud.api.events.duel
- com.xyrisdev.cloud.api.events.duel.queue - package com.xyrisdev.cloud.api.events.duel.queue
- com.xyrisdev.cloud.api.events.duel.request - package com.xyrisdev.cloud.api.events.duel.request
- com.xyrisdev.cloud.api.events.duel.team - package com.xyrisdev.cloud.api.events.duel.team
- com.xyrisdev.cloud.api.handler.arena - package com.xyrisdev.cloud.api.handler.arena
- com.xyrisdev.cloud.api.handler.duel - package com.xyrisdev.cloud.api.handler.duel
- com.xyrisdev.cloud.api.handler.duel.queue - package com.xyrisdev.cloud.api.handler.duel.queue
- com.xyrisdev.cloud.api.handler.duel.request - package com.xyrisdev.cloud.api.handler.duel.request
- com.xyrisdev.cloud.api.handler.event - package com.xyrisdev.cloud.api.handler.event
- com.xyrisdev.cloud.api.handler.kit - package com.xyrisdev.cloud.api.handler.kit
- com.xyrisdev.cloud.api.handler.lobby - package com.xyrisdev.cloud.api.handler.lobby
- com.xyrisdev.cloud.api.handler.stats - package com.xyrisdev.cloud.api.handler.stats
- com.xyrisdev.cloud.api.implementation - package com.xyrisdev.cloud.api.implementation
- com.xyrisdev.cloud.api.menu - package com.xyrisdev.cloud.api.menu
- com.xyrisdev.cloud.api.menu.provider - package com.xyrisdev.cloud.api.menu.provider
- com.xyrisdev.cloud.api.scoreboard - package com.xyrisdev.cloud.api.scoreboard
- com.xyrisdev.cloud.api.scoreboard.adapter - package com.xyrisdev.cloud.api.scoreboard.adapter
- com.xyrisdev.cloud.arena.model - package com.xyrisdev.cloud.arena.model
- com.xyrisdev.cloud.exception - package com.xyrisdev.cloud.exception
- com.xyrisdev.cloud.implementation.model - package com.xyrisdev.cloud.implementation.model
- com.xyrisdev.cloud.implementation.queue.model - package com.xyrisdev.cloud.implementation.queue.model
- com.xyrisdev.cloud.implementation.request.model - package com.xyrisdev.cloud.implementation.request.model
- com.xyrisdev.cloud.kits.model - package com.xyrisdev.cloud.kits.model
- com.xyrisdev.cloud.lobby.model - package com.xyrisdev.cloud.lobby.model
- com.xyrisdev.cloud.storage.model - package com.xyrisdev.cloud.storage.model
- CONTENTS - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
The contents of the kit.
- corner1(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the first corner location of an arena.
- CORNER1 - Enum constant in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Represents the first corner of the arena.
- CORNER1 - Enum constant in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Represents the first corner location of the lobby.
- corner2(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the second corner location of an arena.
- CORNER2 - Enum constant in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Represents the second corner of the arena.
- CORNER2 - Enum constant in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Represents the second corner location of the lobby.
- CRAFTING - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will not be able to craft items.
- create(String, String, Location, Location, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Creates a new arena with the given parameters.
- create(Player, String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Creates a new kit based on the player's current inventory.
D
- DAMAGE - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will not take damage.
- DataType - Enum Class in com.xyrisdev.cloud.storage.model
- DEATHS - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the number of deaths.
- delete(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Deletes an arena by its name.
- delete(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Deletes an arena by its name.
- delete(Player, String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Deletes a kit by name.
- deny(Player, Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.request.RequestAPI
-
Denies a duel request from another player.
- DESPAWN_ARROWS - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, the shot arrows will despawn automatically.
- displayName(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Renames the display name of an arena.
- duel() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Duel API for managing duel matches.
- duel() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- DUEL - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu accessed via the /duel command to start a duel.
- DUEL - Enum constant in enum class com.xyrisdev.cloud.api.scoreboard.ScoreboardType
-
The scoreboard displayed when a player is actively participating in a duel.
- DUEL_ARENA_SELECTION - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu to select a duel arena when starting a duel via the /duel command.
- DUEL_KIT_SELECTION - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu to select a kit when initiating a duel via the /duel command.
- DUEL_REQUEST - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu where players can accept or deny a duel request they have received.
- DUEL_ROUND_SELECTION - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu to select the number of rounds for a duel via the /duel command.
- DUEL_SETTINGS - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu where players can customize their duel settings.
- DuelAPI - Interface in com.xyrisdev.cloud.api.handler.duel
- DuelArena - Class in com.xyrisdev.cloud.arena.model
- DuelArena() - Constructor for class com.xyrisdev.cloud.arena.model.DuelArena
- DuelEndEvent - Class in com.xyrisdev.cloud.api.events.duel
- DuelEndEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.DuelEndEvent
- DuelLeaveEvent - Class in com.xyrisdev.cloud.api.events.duel
- DuelLeaveEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.DuelLeaveEvent
- DuelMenuProvider - Interface in com.xyrisdev.cloud.api.menu.provider
- DuelQueueJoinEvent - Class in com.xyrisdev.cloud.api.events.duel.queue
- DuelQueueJoinEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.queue.DuelQueueJoinEvent
- DuelQueueLeaveEvent - Class in com.xyrisdev.cloud.api.events.duel.queue
- DuelQueueLeaveEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.queue.DuelQueueLeaveEvent
- DuelReqestMenuProvider - Interface in com.xyrisdev.cloud.api.menu.provider
- DuelRequest - Class in com.xyrisdev.cloud.implementation.request.model
- DuelRequest(Player, Player, String, String, int) - Constructor for class com.xyrisdev.cloud.implementation.request.model.DuelRequest
-
Constructs a new
DuelRequest
with the specified details. - DuelRequestAcceptEvent - Class in com.xyrisdev.cloud.api.events.duel.request
- DuelRequestAcceptEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.request.DuelRequestAcceptEvent
- DuelRequestDenyEvent - Class in com.xyrisdev.cloud.api.events.duel.request
- DuelRequestDenyEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.request.DuelRequestDenyEvent
- DuelRequestExpireEvent - Class in com.xyrisdev.cloud.api.events.duel.request
- DuelRequestExpireEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.request.DuelRequestExpireEvent
- DuelRequestSendEvent - Class in com.xyrisdev.cloud.api.events.duel.request
- DuelRequestSendEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.request.DuelRequestSendEvent
- DuelScoreboardAdapter - Interface in com.xyrisdev.cloud.api.scoreboard.adapter
- DuelSession - Class in com.xyrisdev.cloud.implementation.model
- DuelSession(DuelArena, String, UUID, UUID, String, int) - Constructor for class com.xyrisdev.cloud.implementation.model.DuelSession
-
Constructs a new DuelSession.
- DuelStartEvent - Class in com.xyrisdev.cloud.api.events.duel
- DuelStartEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.DuelStartEvent
E
- enabled(KitRule, String) - Static method in enum class com.xyrisdev.cloud.kits.model.KitRule
-
Checks if a specific rule is enabled for a given kit.
- ENABLED - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
Indicates whether the kit is enabled.
- end(PlayerDeathEvent) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Ends the duel after one player has been defeated.
- endRound(PlayerDeathEvent) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Ends the current round of the duel and proceeds to the next round, or ends the duel if no rounds remain.
- eventManager() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Event Manager API for registering/triggering cloud events.
- eventManager() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- EventManagerAPI - Interface in com.xyrisdev.cloud.api.handler.event
- exists(String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Checks if a kit exists.
F
- FALL_DAMAGE - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will not take fall damage.
- forceClose() - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Forces the closing of all ongoing duels.
- fromString(String) - Static method in enum class com.xyrisdev.cloud.kits.model.KitRule
-
Converts a string representation of a rule to the corresponding
KitRule
enum. - fromString(String) - Static method in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Converts a string to the corresponding
LocationKey
enum value.
G
- get(ScoreboardType) - Static method in class com.xyrisdev.cloud.api.scoreboard.ScoreboardRegistry
-
Retrieves the scoreboard adapter associated with the given scoreboard type.
- get(Player, DataType) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Gets a player's statistics asynchronously for a specific
DataType
. - get(Player, Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.request.RequestAPI
-
Gets the duel request from a specific sender to a specific receiver.
- getActiveDuels() - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Gets all active duel sessions.
- getAllArenas() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Retrieves a list of all arenas.
- getAllArenas() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Retrieves all available arenas.
- getAllArenasByDisplayName() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Retrieves a list of all arena display names.
- getAllAvailableArenas() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Retrieves a list of all available arenas that are not in use.
- getAllEnabledKits() - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Retrieves all enabled kits.
- getAllKits() - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Retrieves all kits.
- getArenaCount() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Gets the total number of arenas.
- getAsyncExecutor() - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Gets the asynchronous executor used for running event handlers asynchronously.
- getAvailableArenaByDisplayName(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Retrieves a list of arenas by their display name and the kit bound to them.
- getAvailableArenasByKit(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Retrieves a list of arenas that are available and have the specified kit bound.
- getCenter() - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Gets the center location of the lobby.
- getCorner1() - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Gets the first corner location of the lobby.
- getCorner2() - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Gets the second corner location of the lobby.
- getInstance() - Static method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Retrieves an instance of the main API, if registered.
- getKit(String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Retrieves a raw Kit object.
- getOpponent(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Gets the opponent's UUID for the given player ID.
- getProvidingPlugin() - Static method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Retrieves the plugin instance that provides this API.
- getQueue() - Method in interface com.xyrisdev.cloud.api.handler.duel.queue.QueueAPI
-
Retrieves the current state of the queue, which contains all queued players and their respective kit entries.
- getSchem() - Method in class com.xyrisdev.cloud.arena.model.DuelArena
-
Gets the file for the schematic of the arena.
- getSpectators() - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Gets the set of all spectators of the duel.
- getSync(Player, DataType) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Gets a player's statistics synchronously for a specific
DataType
. - give(Player, String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Gives a kit to the specified player.
H
- hasKit(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Checks if a kit is bound to an arena.
- hasRequest(Player, Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.request.RequestAPI
-
Checks if there is an existing duel request from one player to another.
- HEALTH_REGENERATION - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will not regenerate health.
- hide(Player) - Method in interface com.xyrisdev.cloud.api.scoreboard.ScoreboardAdapter
-
Hides the scoreboard from the specified player.
- HUNGER - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will not lose hunger.
I
- ICON - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
The icon material of the kit.
- increment(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Increments the win count for the given player and advances to the next round.
- inDuel(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Checks if a player is currently in a duel.
- inUse(String, Boolean) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the in-use state of an arena.
- InvalidArenaStateException - Exception Class in com.xyrisdev.cloud.exception
- InvalidArenaStateException(String) - Constructor for exception class com.xyrisdev.cloud.exception.InvalidArenaStateException
- InvalidRegenerationStateException - Exception Class in com.xyrisdev.cloud.exception
- InvalidRegenerationStateException(String) - Constructor for exception class com.xyrisdev.cloud.exception.InvalidRegenerationStateException
- INVENTORY - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitInventoryType
-
An inventory-based kit.
- isInLobby(Player) - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Checks if a player is currently inside the lobby.
- isInQueue(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.queue.QueueAPI
-
Checks if a player is currently in the queue.
- isSpectating(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Checks if a player is currently spectating a duel.
- isSpectator(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Checks if a player is currently spectating the duel.
K
- KILLS - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the number of kills.
- kit() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Kit API for managing kits.
- kit() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- Kit - Class in com.xyrisdev.cloud.kits.model
- Kit() - Constructor for class com.xyrisdev.cloud.kits.model.Kit
- KIT - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitInventoryType
-
A predefined kit.
- KIT_LAYOUT_EDITOR - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu where players can edit their layout of the kits.
- KitAPI - Interface in com.xyrisdev.cloud.api.handler.kit
- KitInventoryType - Enum Class in com.xyrisdev.cloud.kits.model
- KitLayout - Class in com.xyrisdev.cloud.kits.model
- KitLayout() - Constructor for class com.xyrisdev.cloud.kits.model.KitLayout
- KitLayoutEditorMenuProvider - Interface in com.xyrisdev.cloud.api.menu.provider
- KitMeta - Enum Class in com.xyrisdev.cloud.kits.model
- KitRule - Enum Class in com.xyrisdev.cloud.kits.model
- KitScoreboard - Class in com.xyrisdev.cloud.kits.model
- KitScoreboard() - Constructor for class com.xyrisdev.cloud.kits.model.KitScoreboard
L
- leave(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Allows a player to leave the duel, either by quitting or being forcibly removed.
- leaveSpectating(Player, boolean) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Allows a spectator to leave the duel they are spectating.
- list() - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Retrieves a list of all available kit names.
- load() - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Loads all available arenas.
- load(String) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Loads a specific kit by name.
- load(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Loads a specific arena by its name.
- load(UUID) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Loads a player's statistics asynchronously using the player's
UUID
. - load(Player) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Loads a player's statistics asynchronously using the player's
Player
object. - load(Player, Consumer<CloudPlayerData>) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Loads a player's statistics asynchronously using the player's
Player
object and executes a callback with the results. - loadAll() - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Loads all kits from storage.
- lobby() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Lobby API for managing lobby spawns.
- lobby() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- LobbyAPI - Interface in com.xyrisdev.cloud.api.handler.lobby
- LocationKey - Enum Class in com.xyrisdev.cloud.lobby.model
- LOSES - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the number of losses.
M
- MATCHES_PLAYED - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the total number of matches played.
- MenuProvider - Interface in com.xyrisdev.cloud.api.menu
- MenuRegistry - Class in com.xyrisdev.cloud.api.menu
- MenuType - Enum Class in com.xyrisdev.cloud.api.menu
N
- name(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Renames an arena.
- needed(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Calculates how many more rounds the specified player needs to win to win the duel.
O
- open(MenuType, Player, Object...) - Static method in class com.xyrisdev.cloud.api.menu.MenuRegistry
-
Opens the menu for a player based on the specified menu type.
- open(Player, DuelRequest) - Method in interface com.xyrisdev.cloud.api.menu.provider.DuelReqestMenuProvider
-
Opens the duel request menu, allowing the player to view and interact with a specific duel request.
- open(Player, Object...) - Method in interface com.xyrisdev.cloud.api.menu.MenuProvider
-
Opens a menu for the specified player.
- open(Player, Object...) - Method in interface com.xyrisdev.cloud.api.menu.provider.DuelMenuProvider
-
Opens the duel menu for the specified player, allowing them to select a target player for the duel.
- open(Player, Object...) - Method in interface com.xyrisdev.cloud.api.menu.provider.DuelReqestMenuProvider
-
Opens the duel request menu for the specified player, allowing them to accept or deny a duel request.
- open(Player, Object...) - Method in interface com.xyrisdev.cloud.api.menu.provider.KitLayoutEditorMenuProvider
- open(Player, Object...) - Method in interface com.xyrisdev.cloud.api.menu.provider.StatsMenuProvider
-
Opens the stats menu for the specified player, allowing them to view the statistics of a given target player.
- open(Player, String) - Method in interface com.xyrisdev.cloud.api.menu.provider.KitLayoutEditorMenuProvider
- open(Player, String) - Method in interface com.xyrisdev.cloud.api.menu.provider.StatsMenuProvider
-
Opens the stats menu, allowing the player to view the statistics of a specific target player.
- open(Player, Player) - Method in interface com.xyrisdev.cloud.api.menu.provider.DuelMenuProvider
-
Opens the duel menu to allow the specified player to initiate a duel with the target player.
- over() - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Determines if the duel is over.
P
- PING_BASED_MATCHMAKING - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents whether the player prefers ping-based matchmaking.
- PLAYER_PLACED_BLOCK_BREAK - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, players will be able to break blocks placed by them and their opponent.
- PLAYER_STATS - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu where players can view their or other players' statistics.
- PlayerTeam - Enum Class in com.xyrisdev.cloud.implementation.model
- PlayerTeamAssignEvent - Class in com.xyrisdev.cloud.api.events.duel.team
- PlayerTeamAssignEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.team.PlayerTeamAssignEvent
- PlayerTeamRemoveEvent - Class in com.xyrisdev.cloud.api.events.duel.team
- PlayerTeamRemoveEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.team.PlayerTeamRemoveEvent
- priority() - Element in annotation interface com.xyrisdev.cloud.api.event.CloudHandler
Q
- queue() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Queue API for managing queues.
- queue() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- queue(Player, String) - Method in interface com.xyrisdev.cloud.api.handler.duel.queue.QueueAPI
-
Adds a player to the queue for a specific kit.
- QUEUE_KIT_SELECTION - Enum constant in enum class com.xyrisdev.cloud.api.menu.MenuType
-
The menu where players can select a kit and queue for a duel.
- QueueAPI - Interface in com.xyrisdev.cloud.api.handler.duel.queue
- QueueEntry - Class in com.xyrisdev.cloud.implementation.queue.model
- QueueEntry(Player, String) - Constructor for class com.xyrisdev.cloud.implementation.queue.model.QueueEntry
-
Constructs a new
QueueEntry
for a player.
R
- RED - Enum constant in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Represents the red team's spawn location.
- RED - Enum constant in enum class com.xyrisdev.cloud.implementation.model.PlayerTeam
-
The RED team in the duel.
- redSpawn(String, Location) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Sets the red spawn location of an arena.
- regenerate(DuelArena) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Regenerates a DuelArena using WorldEdit (FAWE).
- regeneration(String, boolean) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Toggles the regeneration state of an arena.
- register(MenuType, MenuProvider) - Static method in class com.xyrisdev.cloud.api.menu.MenuRegistry
-
Registers a menu type with its corresponding provider.
- register(ScoreboardType, ScoreboardAdapter) - Static method in class com.xyrisdev.cloud.api.scoreboard.ScoreboardRegistry
-
Registers a scoreboard adapter for a given scoreboard type.
- register(Class<?>) - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Registers a class as a listener.
- registerListener(Class<? extends CloudEvent>, CloudListener, int) - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Registers a specific listener for a specific event class with a given priority.
- REJECTING_DUELS - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents whether the player is rejecting duel requests.
- remove(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Removes a player from all duel-related data, including their session, teams, and other information.
- remove(Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.queue.QueueAPI
-
Removes a player from the queue.
- removeKit(String) - Method in class com.xyrisdev.cloud.arena.model.DuelArena
-
Removes a kit from the list of kits for the arena.
- removeSpectator(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Removes a player from the list of spectators.
- request() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Request API for managing duel requests.
- request() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- RequestAPI - Interface in com.xyrisdev.cloud.api.handler.duel.request
- RoundEndEvent - Class in com.xyrisdev.cloud.api.events.duel
- RoundEndEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.RoundEndEvent
- RoundStartEvent - Class in com.xyrisdev.cloud.api.events.duel
- RoundStartEvent() - Constructor for class com.xyrisdev.cloud.api.events.duel.RoundStartEvent
- RULES - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
The rules associated with the kit.
S
- save(DuelArena) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaLoaderAPI
-
Saves a given DuelArena object.
- save(String, Kit) - Method in interface com.xyrisdev.cloud.api.handler.kit.KitAPI
-
Saves a kit to storage.
- save(Player) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Saves a player's statistics cache to the database asynchronously.
- saveAll() - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Saves all player data in the cache to the database asynchronously.
- schem(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Generates a WorldEdit schematic for the specified arena, used for regeneration and cloning.
- score(UUID) - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Gets the current score for the specified player.
- ScoreboardAdapter - Interface in com.xyrisdev.cloud.api.scoreboard
- ScoreboardRegistry - Class in com.xyrisdev.cloud.api.scoreboard
- ScoreboardType - Enum Class in com.xyrisdev.cloud.api.scoreboard
- send(Player, Player, String, String, int) - Method in interface com.xyrisdev.cloud.api.handler.duel.request.RequestAPI
-
Sends a duel request from one player to another, specifying the kit to be used, the arena display name (optional), and the number of rounds in the duel (first of x).
- set(Player, DataType, Object) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Sets a player's statistics asynchronously.
- setCenter(Location) - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Sets the center location of the lobby.
- setCorner1(Location) - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Sets the first corner location of the lobby.
- setCorner2(Location) - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Sets the second corner location of the lobby.
- show(Player, DuelSession, String) - Method in interface com.xyrisdev.cloud.api.scoreboard.adapter.DuelScoreboardAdapter
-
Displays the scoreboard for the specified player during a duel.
- show(Player, Object...) - Method in interface com.xyrisdev.cloud.api.scoreboard.adapter.DuelScoreboardAdapter
-
Displays the scoreboard for the specified player during a duel.
- show(Player, Object...) - Method in interface com.xyrisdev.cloud.api.scoreboard.adapter.SpectatorScoreboardAdapter
-
Displays the scoreboard for a spectator during a duel.
- show(Player, Object...) - Method in interface com.xyrisdev.cloud.api.scoreboard.ScoreboardAdapter
-
Displays the scoreboard to the specified player.
- show(Player, Player, DuelSession, String) - Method in interface com.xyrisdev.cloud.api.scoreboard.adapter.SpectatorScoreboardAdapter
-
Displays the scoreboard for a spectator during a duel.
- spectate(Player, Player) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Allows a player to spectate an ongoing duel.
- SPECTATOR - Enum constant in enum class com.xyrisdev.cloud.api.scoreboard.ScoreboardType
-
The scoreboard displayed when a player is spectating a duel.
- SpectatorScoreboardAdapter - Interface in com.xyrisdev.cloud.api.scoreboard.adapter
- start(Player, Player, String, int) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Starts a duel between two players with a specific kit and number of rounds.
- start(Player, Player, String, int, String) - Method in interface com.xyrisdev.cloud.api.handler.duel.DuelAPI
-
Starts a duel between two players with a specific kit, number of rounds, and arena display name.
- stats() - Method in interface com.xyrisdev.cloud.api.CloudDuelsAPI
-
Gets the Stats API for managing player stats.
- stats() - Method in class com.xyrisdev.cloud.api.implementation.CloudDuelsAPIImpl
- StatsAPI - Interface in com.xyrisdev.cloud.api.handler.stats
- StatsMenuProvider - Interface in com.xyrisdev.cloud.api.menu.provider
- SUMO - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitRule
-
If enabled, the player to touch water loses.
T
- teleport(String, ArenaLocationKey, Player) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Teleports a player to a specific location in an arena using an ArenaLocationKey enum.
- teleport(String, Player) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Teleports a player to an arena by its name.
- teleport(Player, LocationKey) - Method in interface com.xyrisdev.cloud.api.handler.lobby.LobbyAPI
-
Teleports a player to one of the lobby locations (center, corner1, or corner2) based on the given
LocationKey
. - toggleInUse() - Method in class com.xyrisdev.cloud.arena.model.DuelArena
-
Toggles the "in use" state of the arena.
- toggleInUse(String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Toggles the in-use state of an arena.
- toggleKit(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Toggles a kit for an arena.
- toggleRegeneration() - Method in class com.xyrisdev.cloud.arena.model.DuelArena
-
Toggles the "regeneration" state of the arena.
- trigger(CloudEvent) - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Triggers a specific event and invokes the listeners associated with it.
- TYPE - Enum constant in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
The type of the kit.
U
- unbindKit(String, String) - Method in interface com.xyrisdev.cloud.api.handler.arena.ArenaAPI
-
Unbinds a kit from an arena.
- unload(Player) - Method in interface com.xyrisdev.cloud.api.handler.stats.StatsAPI
-
Unloads a player's statistics from the cache.
- unregister(Class<?>) - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Unregisters a class from being used as a listener.
- unregisterListener(Class<? extends CloudEvent>, CloudListener) - Method in interface com.xyrisdev.cloud.api.handler.event.EventManagerAPI
-
Unregisters a specific listener for a specific event class.
V
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.api.menu.MenuType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.api.scoreboard.ScoreboardType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.implementation.model.PlayerTeam
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.kits.model.KitInventoryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.kits.model.KitRule
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xyrisdev.cloud.storage.model.DataType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.xyrisdev.cloud.api.menu.MenuType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.api.scoreboard.ScoreboardType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.arena.model.ArenaLocationKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.implementation.model.PlayerTeam
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.kits.model.KitInventoryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.kits.model.KitMeta
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.kits.model.KitRule
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.lobby.model.LocationKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xyrisdev.cloud.storage.model.DataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WIN_STREAK - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the current win streak.
- winner() - Method in class com.xyrisdev.cloud.implementation.model.DuelSession
-
Determines the winner of the duel.
- WINS - Enum constant in enum class com.xyrisdev.cloud.storage.model.DataType
-
Represents the number of wins.
All Classes and Interfaces|All Packages|Serialized Form