Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

add(Location, String, LobbyType, int) - Method in class net.amigocraft.mglib.LobbyManager
Creates a new LobbySign to be managed.
addDefault(String, Object) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
addDefaults(Map<String, Object>) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
addPlayer(String) - Method in class net.amigocraft.mglib.api.Round
Adds a player by the given name to this round.
addPlayer(String, int) - Method in class net.amigocraft.mglib.api.Round
Adds a player by the given name to this round.
addSign(Location, LobbyType, int) - Method in class net.amigocraft.mglib.api.Round
Creates a new LobbySign to be managed.
addSpawn(double, double, double, float, float) - Method in class net.amigocraft.mglib.api.ArenaFactory
Adds a spawn to the given arena with the given coordinates, pitch, and yaw.
addSpawn(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
Adds a spawn to the given arena with the given coordinates.
addSpawn(Location3D, boolean) - Method in class net.amigocraft.mglib.api.ArenaFactory
Adds a spawn to the given arena with the given Location3D.
addSpawn(Location, boolean) - Method in class net.amigocraft.mglib.api.ArenaFactory
addSpawn(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
Adds a spawn to the given arena with the given Location.
addSpawn(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
addTime(int) - Method in class net.amigocraft.mglib.api.Round
Adds t seconds to the elapsed time in the round.
addToRound(String) - Method in class net.amigocraft.mglib.api.MGPlayer
Adds this MGPlayer to the given round.
addUUID(String, UUID) - Static method in class net.amigocraft.mglib.UUIDFetcher
 
areBlockPhysicsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block physics are permitted in worlds containing one or more arenas.
areEntityExplosionsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether entity explosions are permitted in worlds containing one or more arenas.
areKitsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are permitted to use the /kit command while partaking in a minigame.
ArenaExistsException - Exception in net.amigocraft.mglib.exception
Thrown when an arena is created but already exists.
ArenaExistsException() - Constructor for exception net.amigocraft.mglib.exception.ArenaExistsException
 
ArenaFactory - Class in net.amigocraft.mglib.api
 
arePMsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players partaking in a minigame are permitted to send private messages or use the /pm command.
areSpectatorsInTabList() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether spectators should be displayed on the tab list.
areSpectatorsOnLobbySigns() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether spectators' names are displayed on lobby signs.

B

b() - Method in class net.amigocraft.mglib.api.MGPlayer
Deprecated.
Encourages poor coding practice; please use Bukkit.getPlayer(String)
broadcast(String, boolean) - Method in class net.amigocraft.mglib.api.Round
Broadcasts a message to all players in this round.
broadcast(String) - Method in class net.amigocraft.mglib.api.Round
Broadcasts a message to all players in this round.

C

call() - Method in class net.amigocraft.mglib.UUIDFetcher
 
callEvent(MGLibEvent) - Static method in class net.amigocraft.mglib.MGUtil
Calls an event, but sends it only to the appropriate plugin.
checkRollbacks() - Method in class net.amigocraft.mglib.RollbackManager
Rolls back arenas which have not been rolled back due to a crash or unclean shutdown.
clientCommandPacketInstance - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
Color - Enum in net.amigocraft.mglib.api
A platform-independent enumeration of available chat colors in Minecraft.
ConfigManager - Class in net.amigocraft.mglib.api
Stores variables for minigames and defaults for rounds for convenience purposes.
ConfigManager(String) - Constructor for class net.amigocraft.mglib.api.ConfigManager
Creates a config manager for the given plugin.
contains(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
craftPlayer_getHandle - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
createArena(String, Location3D, Location3D, Location3D) - Method in class net.amigocraft.mglib.api.Minigame
Creates an arena for use with MGLib.
createArena(String, Location, Location, Location) - Method in class net.amigocraft.mglib.api.Minigame
createArena(String, Location3D) - Method in class net.amigocraft.mglib.api.Minigame
Creates an arena for use with MGLib.
createArena(String, Location) - Method in class net.amigocraft.mglib.api.Minigame
createArenaFactory(String, String, String) - Static method in class net.amigocraft.mglib.api.ArenaFactory
Creates a new arena object, used to modify an arena's assets.
createRound(String) - Method in class net.amigocraft.mglib.api.Minigame
Creates and stores a new round with the given parameters.

D

debug(String) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at LogLevel.DEBUG.
deleteArena(String) - Method in class net.amigocraft.mglib.api.Minigame
Removes an arena from the plugin's config, effectively deleting it.
deleteFolder(File) - Static method in class net.amigocraft.mglib.MGUtil
Deletes a folder recursively.
deleteSpawn(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
Deletes a spawn from the given arena at the given coordinates.
deleteSpawn(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
Deletes a spawn from the given arena at the given Location3D.
deleteSpawn(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
deleteSpawn(int) - Method in class net.amigocraft.mglib.api.ArenaFactory
Deletes a spawn from the given arena at the given Location.
destroy() - Method in class net.amigocraft.mglib.api.ArenaFactory
Destroys this arena factory.
destroy() - Method in class net.amigocraft.mglib.api.Round
Destroys this Round.

E

end(boolean) - Method in class net.amigocraft.mglib.api.Round
Ends the round and resets its timer.
end() - Method in class net.amigocraft.mglib.api.Round
Ends the round and resets its timer.
equals(Object) - Method in class net.amigocraft.mglib.api.Location2D
 
equals(Object) - Method in class net.amigocraft.mglib.api.Location3D
 
equals(Object) - Method in class net.amigocraft.mglib.api.MGPlayer
 
equals(Object) - Method in class net.amigocraft.mglib.api.Round
 
equals(Object) - Method in class net.amigocraft.mglib.util.vector.Vector2f
 
equals(Object) - Method in class net.amigocraft.mglib.util.vector.Vector3f
 

F

fromBukkitLocation(Location) - Static method in class net.amigocraft.mglib.MGUtil
Converts a Bukkit Location to a Location3D.
fromBukkitLocation(Location, boolean) - Static method in class net.amigocraft.mglib.MGUtil
Converts a Bukkit Location to a Location3D.
fromBytes(byte[]) - Static method in class net.amigocraft.mglib.UUIDFetcher
 
fromCode(char) - Static method in enum net.amigocraft.mglib.api.Color
Returns the color associated with the given char code, or null if not found.
fromString(String) - Static method in enum net.amigocraft.mglib.api.LobbyType
Retrieves a LobbySign value corresponding to the given string.

G

GameMode - Enum in net.amigocraft.mglib.api
A platform-independent enumeration of available gamemodes.
get(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
get(String, Object) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getAlivePlayerCount() - Method in class net.amigocraft.mglib.api.Round
Retrieves the number of in-game (non-spectating) MGPlayers in this Round.
getAlivePlayerList() - Method in class net.amigocraft.mglib.api.Round
Retrieves a list of non-spectating MGPlayers in this round.
getAllMetadata() - Method in class net.amigocraft.mglib.api.MGPlayer
 
getAllMetadata() - Method in class net.amigocraft.mglib.api.Round
 
getAllMetadata() - Method in interface net.amigocraft.mglib.misc.Metadatable
Retrieves a HashMap representing this object's complete metadata.
getAllowJoinRoundInProgress() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are allowed to join a round which has already started.
getAllowJoinRoundWhilePreparing() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are allowed to join a round which is in its preparation stage.
getArena() - Method in class net.amigocraft.mglib.api.ArenaFactory
Retrieves the name of the arena associated with this ArenaFactory.
getArena() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the arena associated with this lobby sign.
getArena() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the arena associated with this MGPlayer.
getArena() - Method in class net.amigocraft.mglib.api.Round
Gets the name of the arena associated with this Round.
getArenaFactory(String) - Method in class net.amigocraft.mglib.api.Minigame
Retrieves an ArenaFactory for the arena of the specified name.
getAttachedSign(Block) - Static method in class net.amigocraft.mglib.MGUtil
Retrieves the sign attached to a given block, or null if ones does not exist.
getBoolean(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getBoolean(String, boolean) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getBooleanList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getBukkitPlayer() - Method in class net.amigocraft.mglib.api.MGPlayer
Deprecated.
Use Bukkit.getPlayer(String)
getByteList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getCause() - Method in class net.amigocraft.mglib.event.player.MGPlayerDeathEvent
Retrieves the cause of death (i.e.
getCharacterList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getCode() - Method in enum net.amigocraft.mglib.api.Color
Gets the code associated with this Color.
getColor(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getColor(String, Color) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getConfigManager() - Method in class net.amigocraft.mglib.api.Minigame
Retrieves this minigame's config manager.
getConfigManager() - Method in class net.amigocraft.mglib.api.Round
Retrieves the ConfigManager of the plugin owning this round.
getConfigurationSection(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getCraftClass(String) - Static method in class net.amigocraft.mglib.util.NmsUtil
Retrieves a class by the given name from the package org.bukkit.craftbukkit.
getDefault(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getDefaultExitLocation() - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
Depends on Bukkit
getDefaultGameMode() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the default gamemode for players entering minigame rounds.
getDefaultLocale() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the locale to fall back to if the one defined in the MGLib config cannot be loaded.
getDefaultPlayingTime() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the default time allotted to a round's playing period (default: 300).
getDefaultPreparationTime() - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default time allotted to a round's preparation period (default: 90).
getDisplayName() - Method in class net.amigocraft.mglib.api.ArenaFactory
Retrieves the display name of the arena associated with this ArenaFactory.
getDisplayName() - Method in class net.amigocraft.mglib.api.Round
Retrieves the display name of the round's arena.
getDouble(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getDouble(String, double) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getDoubleList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getEnvironment(String) - Static method in class net.amigocraft.mglib.MGUtil
Determines the environment of the given world based on its folder structure.
getExitLocation() - Method in class net.amigocraft.mglib.api.Round
Deprecated.
Depends on Bukkit
getFloatList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getGameMode(String) - Static method in enum net.amigocraft.mglib.api.GameMode
Returns Gamemode.valueOf(name), or GameMode.SURVIVAL if said call fails.
getHandlerList() - Static method in class net.amigocraft.mglib.event.MGLibEvent
 
getHandlers() - Method in class net.amigocraft.mglib.event.MGLibEvent
 
getIndex() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the internal index of this lobby sign.
getInt(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getInt(String, int) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getIntegerList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getItemStack(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getItemStack(String, ItemStack) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getKiller() - Method in class net.amigocraft.mglib.event.player.MGPlayerDeathEvent
Retrieves the entity which killed the player, if applicable.
getList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getList(String, List<?>) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getLobbyArenaColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of the top line (the arena name) of a lobby sign.
getLobbyColorAttribute(String) - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves a specific color attribute for lobby signs associated with this manager's plugin.
getLobbyColorAttributes() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves a copy of the hashmap containing all color attributes for lobby signs associated with this manager's plugin.
getLobbyManager() - Method in class net.amigocraft.mglib.api.Minigame
Retrieves this minigame's lobby manager.
getLobbyPlayerCountColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's player count when the round is not full.
getLobbyPlayerCountFullColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's player count when the round is full.
getLobbyPlayingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's PLAYING status.
getLobbyPreparingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's PREPARING status.
getLobbyResettingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's RESETTING status.
getLobbySign() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
Retrieves the lobby sign object involved in this event.
getLobbyTimeColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's timer when remaining time is greater than 60 seconds.
getLobbyTimeInfiniteColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's timer when remaining time is infinite.
getLobbyTimeWarningColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's timer when remaining time is less than 60 seconds.
getLobbyWaitingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the color of a lobby sign's WAITING status.
getLocale() - Method in class net.amigocraft.mglib.api.Minigame
Returns the Locale for this minigame.
getLong(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getLong(String, long) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getLongList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getMapList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getMaxBound() - Method in class net.amigocraft.mglib.api.Round
Retrieves the location representing the maximum boundary on all three axes of the arena this round takes place in.
getMaxPlayers() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the default maximum number of players allowed in a round at one time (default: 32).
getMaxPlayers() - Method in class net.amigocraft.mglib.api.Round
Retrieves the maximum number of players allowed in a round at once.
getMessage(String) - Method in class net.amigocraft.mglib.api.Locale
Retrieves the message with the given key from the current locale.
getMessage(String, String...) - Method in class net.amigocraft.mglib.api.Locale
Retrieves the message with the given key from the current locale, and replaces placeholder sequences (%i) with the corresponding vararg parameter.
getMetadata(String) - Method in class net.amigocraft.mglib.api.MGPlayer
 
getMetadata(String) - Method in class net.amigocraft.mglib.api.Round
 
getMetadata(String) - Method in interface net.amigocraft.mglib.misc.Metadatable
Retrieves a given value from this object's metadata by its key.
getMGPlayer(String) - Method in class net.amigocraft.mglib.api.Minigame
Returns the MGPlayer associated with the given username.
getMGPlayer(String) - Method in class net.amigocraft.mglib.api.Round
Returns the MGPlayer in this round associated with the given username.
getMinBound() - Method in class net.amigocraft.mglib.api.Round
Retrieves the location representing the minimum boundary on all three axes of the arena this round takes place in.
getMinigame() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the Minigame associated with this config manager.
getMinigame() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the MGLib API instance registered by the minigame plugin associated with this MGPlayer.
getMinigame() - Method in class net.amigocraft.mglib.api.Round
Gets the instance of the MGLib API registered by the plugin associated with this Round.
getMinigameInstance(String) - Static method in class net.amigocraft.mglib.api.Minigame
Finds the instance of the MGLib API associated with a given plugin.
getMinigameInstance(JavaPlugin) - Static method in class net.amigocraft.mglib.api.Minigame
getMinigameInstances() - Static method in class net.amigocraft.mglib.api.Minigame
Retrieves a list of all registered minigame instances.
getMinPlayers() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the default minimum number of players required to automatically start a round.
getMinPlayers() - Method in class net.amigocraft.mglib.api.Round
Retrieves the minimum number of players required to automatically start the round.
getName() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the username of this MGPlayer.
getNmsClass(String) - Static method in class net.amigocraft.mglib.util.NmsUtil
Retrieves a class by the given name from the package net.minecraft.server.
getNumber() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the number of this lobby sign.
getOfflinePlayer(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getOfflinePlayer(String, OfflinePlayer) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getOnlinePlayers() - Static method in class net.amigocraft.mglib.util.NmsUtil
Version-independent getOnlinePlayers() method.
getOnlineUUIDs() - Static method in class net.amigocraft.mglib.api.Minigame
Retrieves a hashmap mapping the names of online players to their respective UUIDs.
getOnlineUUIDs() - Static method in class net.amigocraft.mglib.Main
Retrieves a hashmap mapping the names of online players to their respective UUIDs.
getPitch() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the pitch of this location.
getPlayer() - Method in class net.amigocraft.mglib.event.player.MGPlayerEvent
Retrieves the player involved in this event.
getPlayer() - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
Returns the round involved in this event.
getPlayer() - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
Retrieves the round involved in this event.
getPlayer() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
Retrieves the name of the player involved in this event.
getPlayerClass() - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
Use metadata instead.
getPlayerCount() - Method in class net.amigocraft.mglib.api.Round
Retrieves the number of MGPlayers in this Round.
getPlayerList() - Method in class net.amigocraft.mglib.api.Round
Retrieves a list of MGPlayers in this round.
getPlayers() - Method in class net.amigocraft.mglib.api.Round
Retrieves a HashMap of players in this round.
getPlayingTime() - Method in class net.amigocraft.mglib.api.Round
Gets the round's playing time.
getPlugin() - Method in class net.amigocraft.mglib.api.ArenaFactory
Retrieves the name of the plugin associated with this ArenaFactory.
getPlugin() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the name of the plugin associated with this config manager.
getPlugin() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the plugin this lobby sign is associated with.
getPlugin() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the minigame plugin associated with this MGPlayer.
getPlugin() - Method in class net.amigocraft.mglib.api.Minigame
Deprecated.
Depends on Bukkit
getPlugin() - Method in class net.amigocraft.mglib.api.Round
Gets the name of the minigame plugin associated with this Round.
getPlugin() - Method in class net.amigocraft.mglib.event.MGLibEvent
Retrieves the name of the plugin involved in this MGLibEvent.
getPlugin() - Static method in class net.amigocraft.mglib.MGUtil
Returns the JavaPlugin instance for MGLib.
getPlugin() - Method in class net.amigocraft.mglib.RollbackManager
Retrieves the plugin associated with this rollback manager.
getPosition() - Method in class net.amigocraft.mglib.api.Location3D
Returns the position of this location.
getPrefix() - Method in class net.amigocraft.mglib.api.MGPlayer
Retrieves the prefix of this player (used on lobby signs).
getPreparationTime() - Method in class net.amigocraft.mglib.api.Round
Gets the round's preparation time.
getPrevGameMode() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the gamemode MGLib will impose upon the player upon round exit.
getRemainingTime() - Method in class net.amigocraft.mglib.api.Round
Gets the time remaining in this round.
getResult() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
Retrieves the result of the event.
getRollbackManager() - Method in class net.amigocraft.mglib.api.Minigame
Retrieves this minigame's rollback manager.
getRollbackManager() - Method in class net.amigocraft.mglib.api.Round
Retrieves the RollbackManager of the plugin owning this round.
getRotation() - Method in class net.amigocraft.mglib.api.Location3D
Returns the rotation of this location.
getRound() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets the Round associated with this player.
getRound(String) - Method in class net.amigocraft.mglib.api.Minigame
Retrieves the instance of the round associated with the given arena.
getRound() - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
Returns the round involved in this event.
getRound() - Method in class net.amigocraft.mglib.event.round.MGRoundEvent
Retrieves the Round associated with this event.
getRoundClass() - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
Use metadata instead.
getRoundList() - Method in class net.amigocraft.mglib.api.Minigame
Retrieves a list containing all rounds associated with the instance which registered this API instance.
getRounds() - Method in class net.amigocraft.mglib.api.Minigame
Retrieves a hashmap containing all rounds associated with the instance which registered this API instance.
getShortList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getSign(Location3D) - Method in class net.amigocraft.mglib.LobbyManager
Retrieves the lobby sign at the specified location, or null if it does not exist.
getSignId() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves the associated plugin lobby sign identifier, used to recognize lobby signs.
getSignList() - Method in class net.amigocraft.mglib.LobbyManager
Retrieves a list of lobby signs registered with this lobby manager.
getSigns() - Method in class net.amigocraft.mglib.LobbyManager
Retrieves a hashmap mapping locations to lobby signs registered with this lobby manager.
getSpawns() - Method in class net.amigocraft.mglib.api.Round
Retrieves a list of possible spawns for this round's arena.
getSpectateOnJoin() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players will be set to spectator mode upon joining around in progress.
getSpectatingPlayerCount() - Method in class net.amigocraft.mglib.api.Round
Retrieves the number of spectating MGPlayers in this Round.
getSpectatingPlayerList() - Method in class net.amigocraft.mglib.api.Round
Retrieves a list of spectating MGPlayers in this Round.
getStage() - Method in class net.amigocraft.mglib.api.Round
Gets the current Stage of this Round.
getStageAfter() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
Gets the stage of the round after the event.
getStageBefore() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
Gets the stage of the round before the event.
getString(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getString(String, String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getStringList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getTeam() - Method in class net.amigocraft.mglib.api.MGPlayer
Retrieves the name of the team this player is on, or null if they are not on a team.
getTeam(String) - Method in class net.amigocraft.mglib.api.Round
Retrieves a HashMap of all players on a given team.
getTime() - Method in class net.amigocraft.mglib.api.Round
Gets the current time in seconds of this Round, where 0 represents the first second of it.
getTimeBefore() - Method in class net.amigocraft.mglib.event.round.MinigameRoundTickEvent
Returns the round time before the tick.
getTimerHandle() - Method in class net.amigocraft.mglib.api.Round
Gets the round's timer's task's handle, or -1 if a timer is not started.
getType() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the type of this lobby sign.
getUUIDOf(String) - Static method in class net.amigocraft.mglib.UUIDFetcher
 
getVector(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getVector(String, Vector) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
getWorld() - Method in class net.amigocraft.mglib.api.ArenaFactory
Retrieves the name of the world associated with this ArenaFactory's arena.
getWorld() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the name of the world containing this physical lobby sign.
getWorld() - Method in class net.amigocraft.mglib.api.Location2D
Retrieves the name of the world of this location.
getWorld() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the name of the world of this location.
getWorld() - Method in class net.amigocraft.mglib.api.Round
Retrieves the world of this arena.
getWorlds(String) - Static method in class net.amigocraft.mglib.Main
Retrieves worlds registered with MGLib's event listener for the given plugin.
getX() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the physical x-coordinate of this lobby sign.
getX() - Method in class net.amigocraft.mglib.api.Location2D
Retrieves the x-coordinate of this location.
getX() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the x-coordinate of this location.
getX() - Method in class net.amigocraft.mglib.util.vector.Vector2f
Gets the x-coordinate of this vector.
getX() - Method in class net.amigocraft.mglib.util.vector.Vector3f
Gets the x-coordinate of this vector.
getY() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the physical y-coordinate of this lobby sign.
getY() - Method in class net.amigocraft.mglib.api.Location2D
Retrieves the y-coordinate of this location.
getY() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the y-coordinate of this location.
getY() - Method in class net.amigocraft.mglib.util.vector.Vector2f
Gets the y-coordinate of this vector.
getY() - Method in class net.amigocraft.mglib.util.vector.Vector3f
Gets the y-coordinate of this vector.
getYaw() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the yaw of this location.
getZ() - Method in class net.amigocraft.mglib.api.LobbySign
Retrieves the physical z-coordinate of this lobby sign.
getZ() - Method in class net.amigocraft.mglib.api.Location3D
Retrieves the z-coordinate of this location.
getZ() - Method in class net.amigocraft.mglib.util.vector.Vector3f
Gets the z-coordinate of this vector.

H

hasEnded() - Method in class net.amigocraft.mglib.api.Round
Deprecated.
Returns true only when Round.getStage() is equal to Stage.RESETTING. This comparison should be used instead.
hashCode() - Method in class net.amigocraft.mglib.api.Location2D
 
hashCode() - Method in class net.amigocraft.mglib.api.Location3D
 
hashCode() - Method in class net.amigocraft.mglib.api.MGPlayer
 
hashCode() - Method in class net.amigocraft.mglib.api.Round
 
hashCode() - Method in class net.amigocraft.mglib.util.vector.Vector2f
 
hashCode() - Method in class net.amigocraft.mglib.util.vector.Vector3f
 
hasMetadata(String) - Method in class net.amigocraft.mglib.api.MGPlayer
 
hasMetadata(String) - Method in class net.amigocraft.mglib.api.Round
 
hasMetadata(String) - Method in interface net.amigocraft.mglib.misc.Metadatable
Checks whether a given key is present in this object's metadata.

I

IMMEDIATE_LOGGING - Static variable in class net.amigocraft.mglib.Main
Whether block changes should be logged immediately.
info(String) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at LogLevel.INFO.
initialize() - Method in class net.amigocraft.mglib.api.Locale
Initializes the locale manager.
InvalidLocationException - Exception in net.amigocraft.mglib.exception
Thrown when a location provided as a parameter is not valid.
InvalidLocationException() - Constructor for exception net.amigocraft.mglib.exception.InvalidLocationException
 
isBlockBreakAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block breaking is permitted for players in a round.
isBlockBurnAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block burning is permitted in worlds containing one or more arenas.
isBlockFadeAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block fading (e.g.
isBlockFlowAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block flowing is permitted in worlds containing one or more arenas.
isBlockGrowAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block growing (e.g.
isBlockIgniteAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block ignition is permitted in worlds containing one or more arenas.
isBlockPhysicsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
This method is improperly named, but remains for the sake of reverse compatibility. You should instead use ConfigManager.areBlockPhysicsAllowed().
isBlockPistonAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether pistons are permitted in worlds containing one or more arenas.
isBlockPlaceAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block placing is permitted for players in a round.
isBlockSpreadAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether block spreading (e.g.
isCancelled() - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundPrepareEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
 
isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
 
isDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players in rounds may receive damage.
isDamageAllowed() - Method in class net.amigocraft.mglib.api.Round
Retrieves whether players in rounds may receive damage.
isDisabling() - Static method in class net.amigocraft.mglib.Main
Determines whether MGLib is in the process of disabling.
isEntityExplosionsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
This method is improperly named, but remains for the sake of reverse compatibility. You should instead use ConfigManager.areEntityExplosionsAllowed().
isEntityTargetingEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether entities are permitted to target players in arenas.
isFrozen() - Method in class net.amigocraft.mglib.api.MGPlayer
Retrieves whether the player is frozen.
isHangingBreakAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether hanging entity (e.g.
isHungerEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether hunger should drain from players in rounds.
isInteger(String) - Static method in class net.amigocraft.mglib.MGUtil
Determines whether the provided string can be parsed to an integer.
isItemFrameDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players in a minigame may remove the item from an item frame by clicking on it.
isLegacy() - Method in class net.amigocraft.mglib.api.Locale
Returns whether this object was loaded from a legacy locale file.
isMGLibCompatible(String) - Static method in class net.amigocraft.mglib.api.Minigame
Determines whether this version of MGLib is compatibile with the specified minimum required version.
isMobSpawningAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether mob spawning is permitted in worlds containing an arena.
isNewArena() - Method in class net.amigocraft.mglib.api.ArenaFactory
Determines whether this arena is newly created.
isNewInstance() - Method in class net.amigocraft.mglib.api.ArenaFactory
Determines whether this instance is newly created for the server session.
isOverrideDeathEvent() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether Bukkit's PlayerDeathEvent will be overridden for players participating in minigame rounds.
isPerRoundChatEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether chat should be handled on a per-round basis (e.g.
isPlayer(String) - Method in class net.amigocraft.mglib.api.Minigame
Convenience method for checking if an MGPlayer is associated with the given username.
isPvPAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether PvP is allowed by default.
isPvPAllowed() - Method in class net.amigocraft.mglib.api.Round
Retrieves whether PvP is allowed.
isRandomSpawning() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are sent to a random spawn when entered into an arena.
isRollbackEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether rollback is enabled by default.
isRollbackEnabled() - Method in class net.amigocraft.mglib.api.Round
Retrieves whether rollback is enabled in this round.
isSpectating() - Method in class net.amigocraft.mglib.api.MGPlayer
Gets whether this player is spectating their round, as opposed to participating in it.
isSpectatorChatSeparate() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether spectators are placed in a separate chat channel from active players.
isSpectatorFlightAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether spectators are permitted to fly.
isStageChange() - Method in class net.amigocraft.mglib.event.round.MinigameRoundTickEvent
Returns whether the tick resulted in a stage change for the round (e.g.
isTeamChatEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether teams in a round should have separate chat channels.
isTeamDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are permitted to damage teammates.
isTeleportationAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether teleportation (via ender pearl, command, or another plugin) is permitted for players in a round.
isTicking() - Method in class net.amigocraft.mglib.api.Round
Returns whether this round's timer is currently ticking.
isUsingVanillaSpectating() - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether players are made vanilla spectators when MGPlayer.setSpectating(boolean) is called.
isVanillaSpectatingDisabled() - Static method in class net.amigocraft.mglib.Main
Retrieves whether vanilla spectating has been globally disabled by MGLib's config.yml file.

J

JoinResult - Enum in net.amigocraft.mglib.misc
 

L

loadArenaYaml(String) - Static method in class net.amigocraft.mglib.MGUtil
Loads and returns the given plugin's arenas.yml file.
loadSigns() - Method in class net.amigocraft.mglib.LobbyManager
Loads lobby signs from disk.
LobbyClickEvent - Class in net.amigocraft.mglib.event.round
Called when a player clicks a lobby sign in order to join a minigame round.
LobbyClickEvent(String, Round, LobbySign, JoinResult) - Constructor for class net.amigocraft.mglib.event.round.LobbyClickEvent
Creates a new instance of this event.
LobbyManager - Class in net.amigocraft.mglib
 
LobbyManager(String) - Constructor for class net.amigocraft.mglib.LobbyManager
Creates a new lobby manager instance.
LobbySign - Class in net.amigocraft.mglib.api
 
LobbySign(int, int, int, String, String, String, int, LobbyType) - Constructor for class net.amigocraft.mglib.api.LobbySign
Creates a new LobbySign object.
LobbyType - Enum in net.amigocraft.mglib.api
 
Locale - Class in net.amigocraft.mglib.api
MGLib's locale API.
Locale(String) - Constructor for class net.amigocraft.mglib.api.Locale
Creates a new locale manager for the given plugin (yours).
locale - Static variable in class net.amigocraft.mglib.Main
The locale for MGLib itself.
Location2D - Class in net.amigocraft.mglib.api
Represents an arbitrary two-dimensional point.
Location2D(String, float, float) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location2D(String, double, double) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location2D(String, int, int) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location2D(float, float) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location2D(double, double) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location2D(int, int) - Constructor for class net.amigocraft.mglib.api.Location2D
Creates a new Location2D from the given points.
Location3D - Class in net.amigocraft.mglib.api
Represents a three-dimensional point in a world with orientation.
Location3D(String, float, float, float, float, float) - Constructor for class net.amigocraft.mglib.api.Location3D
Creates a new Location3D from the given points.
Location3D(String, float, float, float) - Constructor for class net.amigocraft.mglib.api.Location3D
Creates a new Location3D from the given points.
Location3D(String, double, double, double) - Constructor for class net.amigocraft.mglib.api.Location3D
Creates a new Location3D from the given points.
Location3D(String, int, int, int) - Constructor for class net.amigocraft.mglib.api.Location3D
Creates a new Location3D from the given points.
Location3D(float, float, float) - Constructor for class net.amigocraft.mglib.api.Location3D
Deprecated.
Location3D(double, double, double) - Constructor for class net.amigocraft.mglib.api.Location3D
Deprecated.
Location3D(int, int, int) - Constructor for class net.amigocraft.mglib.api.Location3D
Deprecated.
log(String, LogLevel) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at the specified logging level.
log - Static variable in class net.amigocraft.mglib.Main
MGLib's logger.
log(String, LogLevel) - Static method in class net.amigocraft.mglib.Main
Internal convenience method for logging.
log(String, String, LogLevel) - Static method in class net.amigocraft.mglib.MGUtil
Logs the given message if verbose logging is enabled.
logBlockChange(Block, String) - Method in class net.amigocraft.mglib.RollbackManager
Logs a block change.
LOGGING_LEVEL - Static variable in class net.amigocraft.mglib.Main
The minimum level at which messages should be logged.
logInventoryChange(Inventory, Block, String) - Method in class net.amigocraft.mglib.RollbackManager
Logs an inventory change.
LogLevel - Enum in net.amigocraft.mglib.api
 

M

Main - Class in net.amigocraft.mglib
MGLib's primary (central) class.
Main() - Constructor for class net.amigocraft.mglib.Main
 
messages - Variable in class net.amigocraft.mglib.api.Locale
The messages stored by this local manager.
Metadatable - Interface in net.amigocraft.mglib.misc
 
MGLibEvent - Class in net.amigocraft.mglib.event
The base event type for the MGLib.
MGLibEvent(String) - Constructor for class net.amigocraft.mglib.event.MGLibEvent
Creates a new instance of this event.
MGPlayer - Class in net.amigocraft.mglib.api
Represents a player participating in a minigame.
MGPlayer(String, String, String) - Constructor for class net.amigocraft.mglib.api.MGPlayer
Creates a new MGPlayer instance.
MGPlayerDeathEvent - Class in net.amigocraft.mglib.event.player
Called alongside PlayerDeathEvent if the hooking plugin specifies such.
MGPlayerDeathEvent(MGPlayer, EntityDamageEvent.DamageCause, Entity) - Constructor for class net.amigocraft.mglib.event.player.MGPlayerDeathEvent
Creates a new instance of this event.
MGPlayerEvent - Class in net.amigocraft.mglib.event.player
Called when an event involving a player occurs.
MGPlayerEvent(MGPlayer) - Constructor for class net.amigocraft.mglib.event.player.MGPlayerEvent
Creates a new instance of this event.
MGPlayerSpectateEvent - Class in net.amigocraft.mglib.event.player
Called when a player becomes a spectator.
MGPlayerSpectateEvent(Round, MGPlayer) - Constructor for class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
Creates a new instance of this event.
MGRoundEvent - Class in net.amigocraft.mglib.event.round
Called when an event involving an active minigame round occurs.
MGRoundEvent(Round) - Constructor for class net.amigocraft.mglib.event.round.MGRoundEvent
Creates a new instance of this event.
MGUtil - Class in net.amigocraft.mglib
Utility methods for use within MGLib.
MGUtil() - Constructor for class net.amigocraft.mglib.MGUtil
 
MGYamlConfiguration - Class in net.amigocraft.mglib.api
A custom class for managing YAML files which forces the first section title to be made lowercase.
MGYamlConfiguration() - Constructor for class net.amigocraft.mglib.api.MGYamlConfiguration
 
Minigame - Class in net.amigocraft.mglib.api
The primary API class.
MinigameRoundEndEvent - Class in net.amigocraft.mglib.event.round
Called when an MGLib round ends.
MinigameRoundEndEvent(Round, boolean) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
Creates a new instance of this event.
MinigameRoundPrepareEvent - Class in net.amigocraft.mglib.event.round
Called when an MGLib round's preparation period begins.
MinigameRoundPrepareEvent(Round) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundPrepareEvent
Creates a new instance of this event.
MinigameRoundRollbackEvent - Class in net.amigocraft.mglib.event.round
Called when an MGLib round is rolled back.
MinigameRoundRollbackEvent(Round) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundRollbackEvent
Creates a new instance of this event.
MinigameRoundStageChangeEvent - Class in net.amigocraft.mglib.event.round
Called when the stage of an MGLib round changes.
MinigameRoundStageChangeEvent(Round, Stage, Stage) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
Creates a new instance of this event.
MinigameRoundStartEvent - Class in net.amigocraft.mglib.event.round
Called when an MGLib round begins.
MinigameRoundStartEvent(Round, boolean) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
Creates a new instance of this event.
MinigameRoundStartEvent(Round) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
Creates an instance of this event.
MinigameRoundTickEvent - Class in net.amigocraft.mglib.event.round
Called once per second or 20 ticks, when a round "ticks".
MinigameRoundTickEvent(Round, int, boolean) - Constructor for class net.amigocraft.mglib.event.round.MinigameRoundTickEvent
You probably shouldn't call this from your plugin.

N

net.amigocraft.mglib - package net.amigocraft.mglib
 
net.amigocraft.mglib.api - package net.amigocraft.mglib.api
 
net.amigocraft.mglib.event - package net.amigocraft.mglib.event
 
net.amigocraft.mglib.event.player - package net.amigocraft.mglib.event.player
 
net.amigocraft.mglib.event.round - package net.amigocraft.mglib.event.round
 
net.amigocraft.mglib.exception - package net.amigocraft.mglib.exception
 
net.amigocraft.mglib.misc - package net.amigocraft.mglib.misc
 
net.amigocraft.mglib.util - package net.amigocraft.mglib.util
 
net.amigocraft.mglib.util.vector - package net.amigocraft.mglib.util.vector
 
newOnlinePlayersMethod - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
NmsUtil - Class in net.amigocraft.mglib.util
Utility methods for accessing NMS resources.
NmsUtil() - Constructor for class net.amigocraft.mglib.util.NmsUtil
 
NoSuchArenaException - Exception in net.amigocraft.mglib.exception
Thrown when an arena is referenced but does not exist.
NoSuchArenaException() - Constructor for exception net.amigocraft.mglib.exception.NoSuchArenaException
 
NoSuchPlayerException - Exception in net.amigocraft.mglib.exception
Thrown when a player is referenced but not present in a round.
NoSuchPlayerException() - Constructor for exception net.amigocraft.mglib.exception.NoSuchPlayerException
 

O

onCommand(CommandSender, Command, String, String[]) - Method in class net.amigocraft.mglib.Main
 
onDisable() - Method in class net.amigocraft.mglib.Main
Standard JavaPlugin.onDisable() override.
onEnable() - Method in class net.amigocraft.mglib.Main
Standard JavaPlugin.onEnable() override.

P

player - Variable in class net.amigocraft.mglib.event.player.MGPlayerEvent
 
player - Variable in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
 
player - Variable in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
 
playerConnection - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
playerConnection_a_packetPlayInClientCommand - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
playerConnection_sendPacket - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
PlayerHitArenaBorderEvent - Class in net.amigocraft.mglib.event.player
Called when a player collides with the border of an arena.
PlayerHitArenaBorderEvent(MGPlayer) - Constructor for class net.amigocraft.mglib.event.player.PlayerHitArenaBorderEvent
 
PlayerJoinMinigameRoundEvent - Class in net.amigocraft.mglib.event.player
Called when a player joins an MGLib round.
PlayerJoinMinigameRoundEvent(Round, MGPlayer) - Constructor for class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
Creates a new instance of this event.
PlayerLeaveMinigameRoundEvent - Class in net.amigocraft.mglib.event.player
Called when a player leaves an MGLib round.
PlayerLeaveMinigameRoundEvent(Round, MGPlayer) - Constructor for class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
Creates a new instance of this event.
PlayerOfflineException - Exception in net.amigocraft.mglib.exception
Thrown when a player is referenced but is offline.
PlayerOfflineException() - Constructor for exception net.amigocraft.mglib.exception.PlayerOfflineException
 
PlayerPresentException - Exception in net.amigocraft.mglib.exception
Thrown when a player is added to a round but is already in one.
PlayerPresentException() - Constructor for exception net.amigocraft.mglib.exception.PlayerPresentException
 
plugin - Variable in class net.amigocraft.mglib.api.Locale
The name of the plugin this locale manager belongs to.
plugin - Variable in class net.amigocraft.mglib.event.MGLibEvent
 

R

registerPlugin(JavaPlugin) - Static method in class net.amigocraft.mglib.api.Minigame
Registers a plugin with the MGLib API.
registerWorlds(String) - Static method in class net.amigocraft.mglib.Main
This method should not be called from your plugin.
remove() - Method in class net.amigocraft.mglib.api.LobbySign
Saves this lobby sign's data to disk and removes it from memory.
remove(LobbySign) - Method in class net.amigocraft.mglib.LobbyManager
Removes the given lobby sign.
removeFromRound(Location3D) - Method in class net.amigocraft.mglib.api.MGPlayer
Removes this MGPlayer from the round they are currently in.
removeFromRound(Location) - Method in class net.amigocraft.mglib.api.MGPlayer
removeFromRound() - Method in class net.amigocraft.mglib.api.MGPlayer
Removes this MGPlayer from the round they are currently in.
removeMetadata(String) - Method in class net.amigocraft.mglib.api.MGPlayer
 
removeMetadata(String) - Method in class net.amigocraft.mglib.api.Round
 
removeMetadata(String) - Method in interface net.amigocraft.mglib.misc.Metadatable
Removes the given key from this object's metadata.
removePlayer(String, Location3D) - Method in class net.amigocraft.mglib.api.Round
Removes a given player from this round and teleports them to the given location.
removePlayer(String, Location) - Method in class net.amigocraft.mglib.api.Round
removePlayer(String) - Method in class net.amigocraft.mglib.api.Round
Removes a given player from this round and teleports them to the round or plugin's default exit location (defaults to the main world's spawn point).
removeUUID(String) - Static method in class net.amigocraft.mglib.UUIDFetcher
 
reset() - Method in class net.amigocraft.mglib.api.LobbySign
Resets this lobby sign's text as if its arena was empty and in Stage.WAITING.
reset(Location3D) - Method in class net.amigocraft.mglib.api.MGPlayer
Resets the Bukkit player after they've left a round.
reset(Location) - Method in class net.amigocraft.mglib.api.MGPlayer
reset() - Method in class net.amigocraft.mglib.api.MGPlayer
Resets the Bukkit player after they've left a round.
reset() - Method in class net.amigocraft.mglib.LobbyManager
Resets all lobby signs to their default state (waiting stage for status signs, blank for player signs).
rollback(String) - Method in class net.amigocraft.mglib.RollbackManager
Rolls back the given arena.
RollbackManager - Class in net.amigocraft.mglib
 
RollbackManager(JavaPlugin) - Constructor for class net.amigocraft.mglib.RollbackManager
Creates a new rollback manager for the specified plugin.
Round - Class in net.amigocraft.mglib.api
Represents a round within a minigame.
Round(String, String) - Constructor for class net.amigocraft.mglib.api.Round
Creates a new Round with the given parameters.
round - Variable in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
 
round - Variable in class net.amigocraft.mglib.event.round.MGRoundEvent
 
RoundFullException - Exception in net.amigocraft.mglib.exception
Thrown when a player joins a round but it is full.
RoundFullException() - Constructor for exception net.amigocraft.mglib.exception.RoundFullException
 

S

save() - Method in class net.amigocraft.mglib.api.LobbySign
Saves this lobby sign's data to disk.
save(LobbySign) - Method in class net.amigocraft.mglib.LobbyManager
Saves a lobby sign's data to disk.
saveArenaYaml(String, YamlConfiguration) - Static method in class net.amigocraft.mglib.MGUtil
Saves the given plugin's arenas.yml file.
sendRespawnPacket(Player) - Static method in class net.amigocraft.mglib.util.NmsUtil
Sends a PlayInClientCommand packet to the given player.
set(String, Object) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
 
setAllowJoinRoundInProgress(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are allowed to join a round which has already started.
setAllowJoinRoundWhilePreparing(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are allowed to join a round which is in its preparation stage.
setArena(String) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the arena associated with this lobby sign.
setArena(String) - Method in class net.amigocraft.mglib.api.MGPlayer
Sets the arena of this MGPlayer.
setArena(String) - Method in class net.amigocraft.mglib.api.Round
Sets the associated arena of this Round.
setBlockBreakAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block breaking is permitted for players in a round.
setBlockBurnAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block burning is permitted in worlds containing one or more arenas.
setBlockBurningAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
This method is improperly named, but remains for the sake of reverse compatibility. You should instead use ConfigManager.setBlockBurnAllowed(boolean).
setBlockFadeAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block fading (e.g.
setBlockFlowAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block flowing is permitted in worlds containing one or more arenas.
setBlockGrowAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block growing (e.g.
setBlockIgniteAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block ignition is permitted in worlds containing one or more arenas.
setBlockPhyiscsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
This method is improperly named, but remains for the sake of reverse compatibility. You should instead use ConfigManager.setBlockPhysicsAllowed(boolean).
setBlockPhysicsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block physics are permitted in worlds containing one or more arenas.
setBlockPistonAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether pistons are permitted in worlds containing one or more arenas.
setBlockPlaceAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block placing is permitted for players in a round.
setBlockSpreadAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether block spreading (e.g.
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundPrepareEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
 
setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
 
setDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players in rounds may receive damage by default.
setDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.Round
Sets whether players in rounds may receive damage.
setData(String, Object) - Method in class net.amigocraft.mglib.api.ArenaFactory
Attaches an arbitrary key-value pair to the arena.
setDefaultExitLocation(Location3D) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets this default exit location for players upon a round ending (default: the spawn point of the main world).
setDefaultExitLocation(Location) - Method in class net.amigocraft.mglib.api.ConfigManager
setDefaultGameMode(GameMode) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default gamemode for players entering minigame rounds.
setDefaultLocale(String) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the locale to fall back to if the one defined in the MGLib config cannot be loaded.
setDefaultPlayingTime(int) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default time allotted to a round's playing period (default: 300).
setDefaultPreparationTime(int) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default time allotted to a round's preparation period (default: 90).
setEntityExplosionsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether entity explosions are permitted in worlds containing one or more arenas.
setEntityTargetingEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether entities are permitted to target players in arenas.
setExitLocation(Location3D) - Method in class net.amigocraft.mglib.api.Round
Sets this round's exit location.
setExitLocation(Location) - Method in class net.amigocraft.mglib.api.Round
Deprecated.
Depends on Bukkit. Use Round.setExitLocation(Location3D).
setFrozen(boolean) - Method in class net.amigocraft.mglib.api.MGPlayer
Cleanly freezes or unfreezes the player.
setHangingBreakAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether hanging entity (e.g.
setHungerEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Retrieves whether hunger should drain from players in rounds.
setIndex(int) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the internal index of this lobby sign.
setItemFrameDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players in a minigame may remove the item from an item frame by clicking on it.
setKitsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are permitted to use the /kit command while partaking in a minigame.
setLobbyArenaColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of the top line (the arena name) of a lobby sign.
setLobbyArenaColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyColor(String, Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets a specific color attribute for lobby signs associated with this manager's plugin.
setLobbyColor(String, ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyPlayerCountColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's player count when the round is not full.
setLobbyPlayerCountColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyPlayerCountFullColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's player count when the round is full.
setLobbyPlayerCountFullColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyPlayingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's PLAYING status.
setLobbyPlayingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyPreparingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's PREPARING status.
setLobbyPreparingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyResettingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's RESETTING status.
setLobbyResettingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyTimeColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's timer when remaining time is greater than 60 seconds.
setLobbyTimeColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyTimeInfiniteColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's timer when remaining time is infinite.
setLobbyTimeInfiniteColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyTimeWarningColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's timer when remaining time is less than 60 seconds.
setLobbyTimeWarningColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setLobbyWaitingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the color of a lobby sign's WAITING status.
setLobbyWaitingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
setMaxBound(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
Sets the maximum boundary of this arena.
setMaxBound(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
Sets the maximum boundary of this arena.
setMaxBound(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
setMaxBound(double, double, double) - Method in class net.amigocraft.mglib.api.Round
Sets the maximum boundary on all three axes of this round object.
setMaxPlayers(int) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default maximum number of players allowed in a round at one time (default: 32).
setMaxPlayers(int) - Method in class net.amigocraft.mglib.api.Round
Sets the maximum number of players allowed in a round at once.
setMetadata(String, Object) - Method in class net.amigocraft.mglib.api.MGPlayer
 
setMetadata(String, Object) - Method in class net.amigocraft.mglib.api.Round
 
setMetadata(String, Object) - Method in interface net.amigocraft.mglib.misc.Metadatable
Adds a key-value pair to this object's metadata.
setMinBound(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
Sets the minimum boundary of this arena.
setMinBound(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
Sets the minimum boundary of this arena.
setMinBound(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
setMinBound(double, double, double) - Method in class net.amigocraft.mglib.api.Round
Sets the minimum boundary on all three axes of this round object.
setMinPlayers(int) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the default minimum number of players required to automatically start a round.
setMinPlayers(int) - Method in class net.amigocraft.mglib.api.Round
Sets the minimum number of players required to automatically start the round.
setMobSpawningAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether mob spawning is permitted in worlds containing an arena.
setNumber(int) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the number of this lobby sign.
setOverrideDeathEvent(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether Bukkit's PlayerDeathEvent will be overridden for players participating in minigame rounds.
setPerRoundChatEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether chat should be handled on a per-round basis (e.g.
setPitch(float) - Method in class net.amigocraft.mglib.api.Location3D
Sets the pitch of this location.
setPitch(double) - Method in class net.amigocraft.mglib.api.Location3D
Sets the pitch of this location.
setPitch(int) - Method in class net.amigocraft.mglib.api.Location3D
Sets the pitch of this location.
setPlayerClass(Class<? extends MGPlayer>) - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
Use metadata instead.
setPlayingTime(int) - Method in class net.amigocraft.mglib.api.Round
Sets the round's playing time.
setPMsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players partaking in a minigame are permitted to send private messages or use the /pm command.
setPosition(Vector3f) - Method in class net.amigocraft.mglib.api.Location3D
Sets the position of this location.
setPrefix(String) - Method in class net.amigocraft.mglib.api.MGPlayer
Sets the prefix of this player (used on lobby signs).
setPreparationTime(int) - Method in class net.amigocraft.mglib.api.Round
Sets the round's preparation time.
setPrevGameMode(GameMode) - Method in class net.amigocraft.mglib.api.MGPlayer
Sets the gamemode MGLib will impose upon the player upon round exit.
setPrevGameMode(GameMode) - Method in class net.amigocraft.mglib.api.MGPlayer
setPvPAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether PvP is allowed by default.
setPvPAllowed(boolean) - Method in class net.amigocraft.mglib.api.Round
Sets whether PvP is allowed.
setRandomSpawning(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are sent to a random spawn when entered into an arena.
setRollbackEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether rollback is enabled by default.
setRollbackEnabled(boolean) - Method in class net.amigocraft.mglib.api.Round
Sets whether rollback is enabled by default.
setRotation(Vector2f) - Method in class net.amigocraft.mglib.api.Location3D
Sets the rotation of this location.
setRoundClass(Class<? extends Round>) - Method in class net.amigocraft.mglib.api.ConfigManager
Deprecated.
Use metadata instead.
setSignId(String) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets the associated plugin lobby sign identifier, used to recognize lobby signs.
setSpectateOnJoin(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players will be set to spectator mode upon joining around in progress.
setSpectating(boolean) - Method in class net.amigocraft.mglib.api.MGPlayer
Sets whether this player is spectating or not.
setSpectatorChatSeparate(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether spectators are placed in a separate chat channel from active players.
setSpectatorFlightAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether spectators are permitted to fly.
setSpectatorsInTabList(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether spectators should be displayed on the tab list.
setSpectatorsOnLobbySigns(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether spectators' names are displayed on lobby signs.
setStage(Stage, boolean) - Method in class net.amigocraft.mglib.api.Round
Sets the current stage of this Round.
setStage(Stage) - Method in class net.amigocraft.mglib.api.Round
Sets the current stage of this Round.
setTeam(String) - Method in class net.amigocraft.mglib.api.MGPlayer
Sets the name of the team this player is on.
setTeamChatEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether teams in a round should have separate chat channels.
setTeamDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are permitted to damage teammates.
setTeleportationAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether teleportation (via ender pearl, command, or another plugin) is permitted for players in a round.
setTime(int) - Method in class net.amigocraft.mglib.api.Round
Sets the remaining time of this Round.
setType(LobbyType) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the type of this lobby sign.
setUsingVanillaSpectating(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
Sets whether players are made vanilla spectators when MGPlayer.setSpectating(boolean) is called.
setWorld(String) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the name of the world containing this physical lobby sign.
setWorld(String) - Method in class net.amigocraft.mglib.api.Location2D
Sets the name of the world of this location.
setWorld(String) - Method in class net.amigocraft.mglib.api.Location3D
Sets the name of the world of this location.
setX(int) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the physical x-coordinate of this lobby sign.
setX(float) - Method in class net.amigocraft.mglib.api.Location2D
Sets the x-coordinate of this location.
setX(double) - Method in class net.amigocraft.mglib.api.Location2D
Sets the x-coordinate of this location.
setX(int) - Method in class net.amigocraft.mglib.api.Location2D
Sets the x-coordinate of this location.
setX(float) - Method in class net.amigocraft.mglib.api.Location3D
Sets the x-coordinate of this location.
setX(double) - Method in class net.amigocraft.mglib.api.Location3D
Sets the x-coordinate of this location.
setX(int) - Method in class net.amigocraft.mglib.api.Location3D
Sets the x-coordinate of this location.
setX(float) - Method in class net.amigocraft.mglib.util.vector.Vector2f
Sets the x-coordinate of this vector.
setX(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
Sets the x-coordinate of this vector.
setY(int) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the physical y-coordinate of this lobby sign.
setY(float) - Method in class net.amigocraft.mglib.api.Location2D
Sets the y-coordinate of this location.
setY(double) - Method in class net.amigocraft.mglib.api.Location2D
Sets the y-coordinate of this location.
setY(int) - Method in class net.amigocraft.mglib.api.Location2D
Sets the y-coordinate of this location.
setY(float) - Method in class net.amigocraft.mglib.api.Location3D
Sets the y-coordinate of this location.
setY(double) - Method in class net.amigocraft.mglib.api.Location3D
Sets the y-coordinate of this location.
setY(int) - Method in class net.amigocraft.mglib.api.Location3D
Sets the y-coordinate of this location.
setY(float) - Method in class net.amigocraft.mglib.util.vector.Vector2f
Sets the y-coordinate of this vector.
setY(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
Sets the y-coordinate of this vector.
setYaw(float) - Method in class net.amigocraft.mglib.api.Location3D
Sets the yaw of this location.
setYaw(double) - Method in class net.amigocraft.mglib.api.Location3D
Sets the yaw of this location.
setYaw(int) - Method in class net.amigocraft.mglib.api.Location3D
Sets the yaw of this location.
setZ(int) - Method in class net.amigocraft.mglib.api.LobbySign
Sets the physical z-coordinate of this lobby sign.
setZ(float) - Method in class net.amigocraft.mglib.api.Location3D
Sets the z-coordinate of this location.
setZ(double) - Method in class net.amigocraft.mglib.api.Location3D
Sets the z-coordinate of this location.
setZ(int) - Method in class net.amigocraft.mglib.api.Location3D
Sets the z-coordinate of this location.
setZ(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
Sets the z-coordinate of this vector.
severe(String) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at LogLevel.SEVERE.
spawnIn(int) - Method in class net.amigocraft.mglib.api.MGPlayer
Respawns the player at the given spawn.
spawnIn() - Method in class net.amigocraft.mglib.api.MGPlayer
Respawns the player at a random or sequential spawn, depending on your configuration.
SPECTATOR_SUPPORT - Static variable in class net.amigocraft.mglib.util.NmsUtil
 
Stage - Enum in net.amigocraft.mglib.api
Enum containing possible stages of a Round object.
start() - Method in class net.amigocraft.mglib.api.Round
Begins the round and starts its timer.
subtractTime(int) - Method in class net.amigocraft.mglib.api.Round
Subtracts t seconds from the elapsed time in the round.

T

tick() - Method in class net.amigocraft.mglib.api.Round
Decrements the time remaining in the round by 1.
toBukkitLocation(Location3D) - Static method in class net.amigocraft.mglib.MGUtil
Converts a Location3D to a Bukkit Location.
toBytes(UUID) - Static method in class net.amigocraft.mglib.UUIDFetcher
 

U

undefinedMessages - Variable in class net.amigocraft.mglib.api.Locale
An enumeration of message keys found in the default locale, but not the defined one.
uninitialize() - Static method in class net.amigocraft.mglib.api.Minigame
Unsets all static objects in this class.
uninitialize() - Static method in class net.amigocraft.mglib.event.MGLibEvent
Unsets all static objects in this class.
uninitialize() - Static method in class net.amigocraft.mglib.util.NmsUtil
Unsets all static objects in this class.
uninitialize() - Static method in class net.amigocraft.mglib.UUIDFetcher
 
unregisterPlugin(String) - Static method in class net.amigocraft.mglib.api.Minigame
Unregisters the Minigame associated with the plugin by the given name.
update() - Method in class net.amigocraft.mglib.api.LobbySign
Updates this lobby sign's text based on its arena's current status.
update(String) - Method in class net.amigocraft.mglib.LobbyManager
Updates all lobby signs linked to a specific arena.
updateSigns() - Method in class net.amigocraft.mglib.api.Round
Updates all lobby signs linked to this round's arena.
UUIDFetcher - Class in net.amigocraft.mglib
Utility class for use with Mojang's UUID API.
UUIDFetcher(List<String>, boolean) - Constructor for class net.amigocraft.mglib.UUIDFetcher
 
UUIDFetcher(List<String>) - Constructor for class net.amigocraft.mglib.UUIDFetcher
 

V

valueOf(String) - Static method in enum net.amigocraft.mglib.api.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.amigocraft.mglib.api.GameMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.amigocraft.mglib.api.LobbyType
Returns the enum constant of this type with the specified name.
valueOf(Location) - Static method in class net.amigocraft.mglib.api.Location3D
Deprecated.
Depends on Bukkit
valueOf(Location, boolean) - Static method in class net.amigocraft.mglib.api.Location3D
Deprecated.
Depends on Bukkit
valueOf(String) - Static method in enum net.amigocraft.mglib.api.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.amigocraft.mglib.api.Stage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.amigocraft.mglib.misc.JoinResult
Returns the enum constant of this type with the specified name.
valueOfXY(Location) - Static method in class net.amigocraft.mglib.api.Location2D
Creates a Location2D from the x- and y-coordinates of the given Bukkit location.
valueOfXZ(Location) - Static method in class net.amigocraft.mglib.api.Location2D
Creates a Location2D from the x- and z-coordinates of the given Bukkit location.
valueOfYZ(Location) - Static method in class net.amigocraft.mglib.api.Location2D
Creates a Location2D from the y- and z-coordinates of the given Bukkit location.
values() - Static method in enum net.amigocraft.mglib.api.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.amigocraft.mglib.api.GameMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.amigocraft.mglib.api.LobbyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.amigocraft.mglib.api.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.amigocraft.mglib.api.Stage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.amigocraft.mglib.misc.JoinResult
Returns an array containing the constants of this enum type, in the order they are declared.
Vector2f - Class in net.amigocraft.mglib.util.vector
Represents a two-dimensional point.
Vector2f(float, float) - Constructor for class net.amigocraft.mglib.util.vector.Vector2f
Creates a new Vector2f.
Vector3f - Class in net.amigocraft.mglib.util.vector
Represents a three-dimensional point.
Vector3f(float, float, float) - Constructor for class net.amigocraft.mglib.util.vector.Vector3f
Creates a new Vector3f.
verbose(String) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at LogLevel.VERBOSE.
verifyDisablingStatus() - Static method in class net.amigocraft.mglib.MGUtil
Throws an UnsupportedOperationException if MGLib is not disabling.

W

warning(String) - Method in class net.amigocraft.mglib.api.Minigame
Logs the given message at LogLevel.WARNING.
wasOutOfTime() - Method in class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
Gets whether the round ended because its timer reached 0.
wasPrepared() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
Gets whether the round start was on account of its preparation period ending.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links