Index

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

B

buildCage(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Builds the start cage at the admin's current position, saves spawn and start locations, and persists them in the configuration.
buildCage(Location, int, RunDirection) - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Builds a glass cage at the start position.

C

CageBuilder - Class in de.flyingfinger.minecraft.deathrun
Creates, opens, closes, and removes the glass start cage in the game world.
CageBuilder() - Constructor for class de.flyingfinger.minecraft.deathrun.CageBuilder
Creates a new CageBuilder instance.
changeDirection(int, int, int, int, RunDirection) - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Changes the direction indicator (lime glass wall) to a new direction, without rebuilding the entire cage.
clearLobbyBoards() - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Resets all players to the main scoreboard and discards the lobby boards.
closeCage() - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Restores the lime glass wall (after /dr stop).
closeServer(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Closes the server to non-admins (maintenance mode).
comp(String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized message as an Adventure component (default language).
comp(CommandSender, String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized message as an Adventure component (sender language).
comp(Player, String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized message as an Adventure component (player language).

D

de.flyingfinger.minecraft.deathrun - package de.flyingfinger.minecraft.deathrun
 
DeathrunCommand - Class in de.flyingfinger.minecraft.deathrun
Processes all subcommands of the /dr command and provides tab completion.
DeathrunCommand(GameManager) - Constructor for class de.flyingfinger.minecraft.deathrun.DeathrunCommand
Creates a new command handler backed by the given GameManager.
DeathrunPlugin - Class in de.flyingfinger.minecraft.deathrun
Main plugin class.
DeathrunPlugin() - Constructor for class de.flyingfinger.minecraft.deathrun.DeathrunPlugin
Creates the plugin instance.

E

EAST - Enum constant in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Players run toward increasing X (positive X axis).
ENDED - Enum constant in enum class de.flyingfinger.minecraft.deathrun.GameState
The game has finished; results are being displayed.

F

forceStop() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Resets the plugin to its initial state (IDLE).

G

GameListener - Class in de.flyingfinger.minecraft.deathrun
Bukkit event listener for all game-relevant events.
GameListener(GameManager, DeathrunPlugin) - Constructor for class de.flyingfinger.minecraft.deathrun.GameListener
Creates a new event listener connected to the given GameManager.
GameManager - Class in de.flyingfinger.minecraft.deathrun
Central controller class of the Deathrun plugin.
GameManager(DeathrunPlugin) - Constructor for class de.flyingfinger.minecraft.deathrun.GameManager
Creates the GameManager and loads the persisted configuration.
GameState - Enum Class in de.flyingfinger.minecraft.deathrun
Describes the current state of a deathrun game.
getBorderCenterX(double, double, double, double) - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the WorldBorder center X coordinate for this player (follows in the forward direction).
getBorderCenterZ(double, double, double, double) - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the WorldBorder center Z coordinate for this player (follows in the forward direction).
getCageLocations() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns all protected cage block positions.
getCorridorWidth() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the half WorldBorder width in blocks.
getDirection() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the configured run direction.
getEffectiveRadius(int) - Static method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Effective radius in blocks (for external calculation of the measurement point).
getElapsedSeconds() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the elapsed race time in seconds so far (pause times are subtracted).
getFinalDistance() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns the frozen distance traveled in blocks (final after death or disconnect, otherwise live value).
getForwardDistance(double, double, double, double) - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns how many blocks the player is from the start in the run direction (positive = forward).
getGameManager() - Method in class de.flyingfinger.minecraft.deathrun.DeathrunPlugin
Returns the central GameManager instance of this plugin.
getIndicatorMaterial() - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the glass color used for the cage wall facing the run direction.
getLangKey() - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the lang key for the localized direction name.
getLastRemovedLocations() - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Returns the blocks removed during the last CageBuilder.openCage() call.
getLateralDeviation(double, double, double, double) - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the lateral deviation from the corridor center (positive = right, negative = left).
getMaxTimeSeconds() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the configured time limit in seconds.
getName() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns the display name of the player at the time the game started.
getPersonalBorder() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns the personal WorldBorder assigned to this player.
getPlayers() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns all participants of the current game.
getRemainingSeconds() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the remaining time until the time limit.
getResults() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the final result list sorted descending by distance.
getServerName() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the displayed server name used for the scoreboard title.
getSpawnLocation() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the spawn position in the center of the cage.
getStartLocation() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the measurement start point at the outer edge of the cage start wall.
getState() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the current game state.
getTimerDisplay() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns a formatted timer string for the sidebar (default language).
getTimerDisplay(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the formatted timer string for the sidebar.
getUuid() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns the unique UUID of the player.
getWallMaterial() - Method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the default material for all non-indicator cage walls (plain glass).
getWinnerLocation() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns the last known winner position after game end.

H

handleDeath(Player, Location) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Called from GameListener when a player dies during the race.
handleGoto(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Teleports the player to the last known position of the winner.
handleJoin(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Called when a player joins the server (next tick after join).
handleQuit(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Handles a player leaving.
handleRespawn(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
After respawn: set player to spectator mode.
hasTimeLimit() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether a maximum time limit is configured.

I

IDLE - Enum constant in enum class de.flyingfinger.minecraft.deathrun.GameState
No active game; the lobby scoreboard is running.
isAlive() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns whether the player is still alive (has not yet died).
isAutoMode() - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns whether the per-player client locale is active.
isCageBuilt() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether a cage has been built (spawn location present).
isDisconnected() - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Returns whether the player is currently offline but still counts as alive.
isInGame(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Checks whether a player is registered as a participant of the current game.
isPaused() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether the game is currently paused.
isPvpActive() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether PvP is currently active (running, not paused, after delay).
isPvpEnabled() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether PvP is enabled in the configuration.
isServerOpen() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Returns whether non-admin players are allowed to join.

L

load(Plugin, String) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Loads the language file(s) and initializes the message system.

M

Messages - Class in de.flyingfinger.minecraft.deathrun
Loads language files and provides localized strings.

N

NORTH - Enum constant in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Players run toward decreasing Z (negative Z axis).

O

onAttackDuringPause(EntityDamageByEntityEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents attacks by in-game players during pause.
onBlockBreak(BlockBreakEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Protects cage blocks from being broken; locks block interaction during pause.
onBlockPlace(BlockPlaceEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Protects cage blocks from being placed on; locks block interaction during pause.
onCommand(CommandSender, Command, String, String[]) - Method in class de.flyingfinger.minecraft.deathrun.DeathrunCommand
Dispatches incoming /dr commands to the corresponding GameManager methods.
onConsume(PlayerItemConsumeEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents consuming items (potions, food) during pause.
onDamage(EntityDamageEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Suppresses damage after game end and for in-game players during pause.
onDeath(PlayerDeathEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Handles the death of a player during the running race.
onDisable() - Method in class de.flyingfinger.minecraft.deathrun.DeathrunPlugin
Called when the plugin is disabled.
onDrop(PlayerDropItemEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents in-game players from dropping items during pause.
onEnable() - Method in class de.flyingfinger.minecraft.deathrun.DeathrunPlugin
Called when the plugin is enabled.
onFoodChange(FoodLevelChangeEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Keeps saturation at 0 so the regeneration mechanic cannot be triggered by eating.
onHealthRegen(EntityRegainHealthEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents natural health regeneration for living players during the race.
onInteract(PlayerInteractEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents right-click actions (item use) for in-game players during pause.
onInventoryClick(InventoryClickEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Locks inventory clicks for in-game players during pause.
onInventoryDrag(InventoryDragEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Locks inventory drag for in-game players during pause.
onJoin(PlayerJoinEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Delegates a player's join to the GameManager in the next tick.
onLogin(PlayerLoginEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Checks at login whether the player is permitted in the current game phase.
onMobTarget(EntityTargetLivingEntityEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Disables mob targeting of players after game end and during pause.
onMove(PlayerMoveEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Freezes the horizontal movement of living in-game players during pause; vertical falling remains allowed.
onPickup(EntityPickupItemEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents in-game players from picking up items during pause.
onPing(ServerListPingEvent) - Method in class de.flyingfinger.minecraft.deathrun.DeathrunPlugin
Sets the server list MOTD based on the current game state.
onProjectile(ProjectileLaunchEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents in-game players from launching projectiles during pause.
onPvp(EntityDamageByEntityEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Blocks PVP between in-game players as long as the PVP delay has not yet expired.
onQuit(PlayerQuitEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Delegates a player's departure to the GameManager.
onRespawn(PlayerRespawnEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Sets the respawn point to spawn and transitions the player to spectator mode in the next tick.
onTabComplete(CommandSender, Command, String, String[]) - Method in class de.flyingfinger.minecraft.deathrun.DeathrunCommand
Provides tab completion suggestions for subcommand and direction argument.
onVehicleEnter(VehicleEnterEvent) - Method in class de.flyingfinger.minecraft.deathrun.GameListener
Prevents entering vehicles (boat, minecart) during pause.
openCage() - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Removes the lime glass wall (start direction indicator) so players can begin running.
openServer(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Opens the server for all players and sends a broadcast message.

P

PlayerData - Class in de.flyingfinger.minecraft.deathrun
Holds all game-relevant data of a participant for the duration of a race.
PlayerData(Player) - Constructor for class de.flyingfinger.minecraft.deathrun.PlayerData
Creates a new data record for the specified player.

R

removeAll(Collection<PlayerData>) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Resets all specified players to the main scoreboard and clears all internal scoreboard maps.
removeCage(Set<Location>) - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Removes all blocks built by the plugin and restores the original world.
removeCage(Player) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Removes the cage from the world and updates the configuration.
removePlayer(PlayerData) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Removes a single player from the scoreboard system (e.g. disconnect during countdown).
reset(Collection<PlayerData>) - Method in class de.flyingfinger.minecraft.deathrun.TablistManager
Resets the playerListName of all specified players to the default.
restoreState(Location, int, RunDirection) - Method in class de.flyingfinger.minecraft.deathrun.CageBuilder
Restores the internal state after a server restart.
RunDirection - Enum Class in de.flyingfinger.minecraft.deathrun
Cardinal direction in which players run during the deathrun.
RUNNING - Enum constant in enum class de.flyingfinger.minecraft.deathrun.GameState
The race is active.

S

setAlive(boolean) - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Marks the player as alive or eliminated.
setCorridorWidth(CommandSender, int) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Changes the corridor width (half WorldBorder size).
setDirection(CommandSender, String) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Changes the run direction.
setDisconnected(boolean) - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Sets the player's disconnected state.
setFinalDistance(double) - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Freezes the player's distance at the given value.
setMaxTime(CommandSender, int) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Sets the time limit for the race.
setPersonalBorder(WorldBorder) - Method in class de.flyingfinger.minecraft.deathrun.PlayerData
Sets the personal WorldBorder for this player.
setup(Collection<PlayerData>, String) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Initializes the player scoreboards for all participants at the start of the race.
setupEnded(List<PlayerData>, Map<UUID, PlayerData>, String) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Called once when the game ends – builds the end scoreboards for all participants.
setupPlayerBoard(PlayerData, Player, String) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Sets up the scoreboard for a single player (also used for reconnecting players).
setupStarting(Collection<PlayerData>, String) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Initializes the scoreboards for the starting phase (countdown).
showStatus(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Outputs a status overview of the current plugin configuration and game state.
SidebarManager - Class in de.flyingfinger.minecraft.deathrun
One individual scoreboard per player: - SIDEBAR: server name, top 5, own rank/distance/lateral deviation - PLAYER_LIST: scores for tab sorting (all players on every board)
SidebarManager() - Constructor for class de.flyingfinger.minecraft.deathrun.SidebarManager
Creates a new SidebarManager instance.
SOUTH - Enum constant in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Players run toward increasing Z (positive Z axis).
startGame(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Starts the countdown and transitions to the GameState.STARTING state.
STARTING - Enum constant in enum class de.flyingfinger.minecraft.deathrun.GameState
Countdown is running; players are standing in the cage.
startLobbyTask() - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Starts the recurring lobby task that updates scoreboards in the IDLE and ENDED states.
stopGame(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Aborts a running or started game.
str(String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized string using the default language (for broadcasts, console, and non-player contexts).
str(CommandSender, String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized string using the sender's language (player locale if available, otherwise default language).
str(Player, String, Object...) - Static method in class de.flyingfinger.minecraft.deathrun.Messages
Returns a localized string using the player's language (client locale in auto mode, otherwise default language).

T

TablistManager - Class in de.flyingfinger.minecraft.deathrun
Updates only the displayed name in the tab list (playerListName).
TablistManager() - Constructor for class de.flyingfinger.minecraft.deathrun.TablistManager
Creates a new TablistManager instance.
togglePause(CommandSender) - Method in class de.flyingfinger.minecraft.deathrun.GameManager
Toggles the game pause.

U

update(List<PlayerData>, GameManager) - Method in class de.flyingfinger.minecraft.deathrun.TablistManager
Updates the playerListName of all participants in the tab list.
update(List<PlayerData>, Map<UUID, PlayerData>, GameManager) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Updates sidebar and tab scores for all players during the running race.
updateEnded(List<PlayerData>, Map<UUID, PlayerData>, GameManager) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Called by the lobby task to keep end scoreboards up to date.
updateLobby(GameManager) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Updates the lobby scoreboards for all currently online players.
updateStarting(Collection<PlayerData>, int) - Method in class de.flyingfinger.minecraft.deathrun.SidebarManager
Updates the countdown scoreboard (STARTING phase).

V

valueOf(String) - Static method in enum class de.flyingfinger.minecraft.deathrun.GameState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.flyingfinger.minecraft.deathrun.GameState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Returns an array containing the constants of this enum class, in the order they are declared.

W

WEST - Enum constant in enum class de.flyingfinger.minecraft.deathrun.RunDirection
Players run toward decreasing X (negative X axis).
B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages