Index

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

A

addAmount(OfflinePlayer, BigDecimal) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Adds the given amount to the player's current amount.
addAmount(OfflinePlayer, BigDecimal, Consumer<BigDecimal>) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Adds the given amount to the player's current amount.
addOwnership(CosmeticItemOwnership) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Add a new ownership to the player.
ANIMATION_BED_DESTROY - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the player with this cosmetic destroys a bed.
ANIMATION_DEATH - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the player with this cosmetic dies.
ANIMATION_KILL - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the player with this cosmetic kills another player.
ANIMATION_ROUND_START - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the game starts for the player with this cosmetic.
ANIMATION_SHOOT_PROJECTILE - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the player with this cosmetic shoots a projectile.
ANIMATION_VICTORY - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Played when the player with this cosmetic wins the game.

B

byName(String) - Static method in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Gets the type by its Enum.name() while being case-insensitive.
byName(String) - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Gets the behavior by its Enum.name() while being case-insensitive.
byName(String) - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Gets the category by its Enum.name() while being case-insensitive.

C

CosmeticItem - Interface in de.marcely.bedwars.api.cosmetics.shop
Represents a unique cosmetic type listed in the shop.
CosmeticItemBehaviour - Enum in de.marcely.bedwars.api.cosmetics.shop
Represents the activation behavior of a cosmetic item.
CosmeticItemCategory - Enum in de.marcely.bedwars.api.cosmetics.shop
Represents a category of cosmetic items.
CosmeticItemOwnership - Interface in de.marcely.bedwars.api.cosmetics.shop
Represents an ownership/purchase of a cosmetic item.
CosmeticItemOwnership.Cause - Enum in de.marcely.bedwars.api.cosmetics.shop
Represents the cause of a shop item ownership.
CosmeticPlayer - Interface in de.marcely.bedwars.api.cosmetics
Represents the stored info of a player regarding cosmetics.
CosmeticsAPI - Interface in de.marcely.bedwars.api.cosmetics
The main API class of the MBedwars' Cosmetics&Coins add-on.
CosmeticsUnsafe - Class in de.marcely.bedwars.api.cosmetics.unsafe
Deprecated.
CosmeticsUnsafe() - Constructor for class de.marcely.bedwars.api.cosmetics.unsafe.CosmeticsUnsafe
Deprecated.
 
Currency - Interface in de.marcely.bedwars.api.cosmetics.currency
Represents a currency configured by the server's admin.
CurrencyProvider - Interface in de.marcely.bedwars.api.cosmetics.currency
Keeps care of the currency's business-logic.
CurrencyProviderType - Enum in de.marcely.bedwars.api.cosmetics.currency
Represents the generic type of a currency provider.

D

de.marcely.bedwars.api.cosmetics - package de.marcely.bedwars.api.cosmetics
 
de.marcely.bedwars.api.cosmetics.currency - package de.marcely.bedwars.api.cosmetics.currency
 
de.marcely.bedwars.api.cosmetics.event - package de.marcely.bedwars.api.cosmetics.event
 
de.marcely.bedwars.api.cosmetics.shop - package de.marcely.bedwars.api.cosmetics.shop
 
de.marcely.bedwars.api.cosmetics.unsafe - package de.marcely.bedwars.api.cosmetics.unsafe
 

E

equals(Object) - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Checks whether the properties of this ownership are equal to the given one.

F

formatDisplayAmount(BigDecimal) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Formats the given amount into a displayable string.
formatPlainAmount(BigDecimal) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Formats the given amount into a plain string.
FREE - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
The item has no price and was granted for free.

G

get() - Static method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Get the instance of the API.
getActive() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Get the active cosmetic item of the player.
getActive(CosmeticItemCategory) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Get the active cosmetic item of the player for a given category.
getAmount(OfflinePlayer, Consumer<BigDecimal>) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Gets the amount of the given player.
getAPI() - Method in class de.marcely.bedwars.api.cosmetics.unsafe.CosmeticsUnsafe
Deprecated.
Not part of the public API.
getArena() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
Gets the arena the player is playing in.
getBehaviour() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the behaviour when this item is being activated.
getCategory() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the category of this item.
getCause() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Gets the cause of the ownership.
getConfigDescription() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the description of the item exactly the same as it has been configured.
getConfigName() - Method in interface de.marcely.bedwars.api.cosmetics.currency.Currency
Returns the name of the currency exactly the same as it has been configured.
getConfigName() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the name of the item exactly the same as it has been configured.
getConfigName() - Method in interface de.marcely.bedwars.api.cosmetics.shop.Rarity
Returns the name of the rarity exactly the same as it has been configured.
getCosmetic() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerBuyCosmeticEvent
Gets the cosmetic item the player is trying to buy.
getCosmetic() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerChangeCosmeticEvent
Gets the cosmetic item the player is trying to change to.
getCosmetic() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
Gets the cosmetic item the player is trying to trigger.
getCosmeticById(String) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Gets a cosmetic by its CosmeticItem.getId().
getCosmetics() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Returns all available cosmetics.
getCurrencies() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Returns all available currencies.
getCurrency() - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Returns the currency this provider is for.
getCurrency() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the currency that is used to buy this item.
getCurrencyById(String) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Gets a currency by its Currency.getId().
getDate() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Gets the date of when the ownership was granted.
getDefaultItem() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Get the item that is used if none is selected for this category.
getDescription() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns CosmeticItem.getConfigDescription(), but formats it into the default configured language.
getDescription(CommandSender) - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns CosmeticItem.getConfigDescription(), but formats it and translates it to the given sender.
getHandlerList() - Static method in class de.marcely.bedwars.api.cosmetics.event.PlayerBuyCosmeticEvent
 
getHandlerList() - Static method in class de.marcely.bedwars.api.cosmetics.event.PlayerChangeCosmeticEvent
 
getHandlerList() - Static method in class de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
 
getHandlerList() - Static method in class de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
 
getHandlers() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerBuyCosmeticEvent
 
getHandlers() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerChangeCosmeticEvent
 
getHandlers() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
 
getHandlers() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
 
getIcon() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the icon item that will be displayed in the shop.
getId() - Method in interface de.marcely.bedwars.api.cosmetics.currency.Currency
Returns the unique id of this currency.
getId() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the unique id of this cosmetic item.
getId() - Method in interface de.marcely.bedwars.api.cosmetics.shop.Rarity
Returns the unique id of this cosmetic item.
getId() - Method in interface de.marcely.bedwars.api.cosmetics.shop.Shop
Returns the unique id of this shop page.
getItem() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Gets the item that is owned by the player.
getName() - Method in interface de.marcely.bedwars.api.cosmetics.currency.Currency
Returns Currency.getConfigName(), but formats it into the default configured language.
getName() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns CosmeticItem.getConfigName(), but formats it into the default configured language.
getName() - Method in interface de.marcely.bedwars.api.cosmetics.shop.Rarity
Returns Rarity.getConfigName(), but formats it into the default configured language.
getName(CommandSender) - Method in interface de.marcely.bedwars.api.cosmetics.currency.Currency
Returns Currency.getConfigName(), but formats it and translates it to the given sender.
getName(CommandSender) - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns CosmeticItem.getConfigName(), but formats it and translates it to the given sender.
getName(CommandSender) - Method in interface de.marcely.bedwars.api.cosmetics.shop.Rarity
Returns Rarity.getConfigName(), but formats it and translates it to the given sender.
getOwnership(CosmeticItem) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Get the ownership of a given item.
getOwnerships() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Get all the items the player owns.
getPlayerData(Player, Consumer<CosmeticPlayer>) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Loads and returns the player's data.
getPlayersWithShopOpen() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Get all players that have a shop open.
getPluginName() - Method in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Get the name of the plugin that provides this currency.
getPrice() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the price the player has to pay to obtain this item.
getProvider() - Method in interface de.marcely.bedwars.api.cosmetics.currency.Currency
Get the provider of this currency.
getRarities() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Returns all available rarities.
getRarity() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the rarity (quality, worthness) of this item.
getRarityById(String) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Gets a rarity by its Rarity.getId().
getShop() - Method in class de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
Gets the shop the player is trying to open.
getShop() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns the shop this item is listed in.
getShopById(String) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Get a shop (page) by its Shop.getId().
getShopOpen(Player) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Get the shop (page) that the player has open.
getShops() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Returns all configured shop (pages).
getSkinTargets() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Gets the hologram controller types that are targeted by this category.
getType() - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Returns the type of this provider.

H

hashCode() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Returns the hash code of this ownership instance.
hasOpen(Player) - Method in interface de.marcely.bedwars.api.cosmetics.shop.Shop
Get whether the given player has this shop open.
hasOwnership(CosmeticItem) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Checks whether the player owns (is allowed to use) a given item.
hasPrice() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns whether this item has a price.
hasShopOpen(Player) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticsAPI
Get if the player has a shop open.

I

IMAGE_ITEM_FRAME - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Players with this item may click on an item frame to display an image in it.
IMAGE_PARTICLE_SPAWNERS - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Displays an image if a player with this item picks up a dropped item.
INSTANCE - Static variable in class de.marcely.bedwars.api.cosmetics.unsafe.CosmeticsUnsafe
Deprecated.
Not part of the public API.
INTERNAL - Enum constant in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Built-in currency that does not rely on any other plugin.
isAnimation() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Checks if this category is an animation.
isDefault() - Method in interface de.marcely.bedwars.api.cosmetics.shop.Rarity
Get whether this rarity is choosen by default for items.
isImage() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Checks if this category represents an image being displayed.
isLockedByPermission() - Method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItem
Returns whether this item is locked by a permission.
isSkin() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Checks if this category changes the skin of a dealer.

K

KILL_MESSAGES - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Changes the kill/death messages for players with this item.

N

newOwnership(CosmeticItem, CosmeticItemOwnership.Cause, OffsetDateTime) - Method in class de.marcely.bedwars.api.cosmetics.unsafe.CosmeticsUnsafe
Deprecated.
Not part of the public API.

O

of(CosmeticItem, CosmeticItemOwnership.Cause) - Static method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Constructs a new ownership instance.
of(CosmeticItem, CosmeticItemOwnership.Cause, OffsetDateTime) - Static method in interface de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership
Constructs a new ownership instance.
open(Player) - Method in interface de.marcely.bedwars.api.cosmetics.shop.Shop
Open this shop for the given player.

P

PERMISSION - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
The item was granted for free by a permission.
PLAY_RANDOM - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Executes a random available one.
PLAYER_POINTS - Enum constant in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Currency of the PlayerPoints plugin.
PlayerBuyCosmeticEvent - Class in de.marcely.bedwars.api.cosmetics.event
Gets called when a player attempts to buy a cosmetic item.
PlayerBuyCosmeticEvent(Player, CosmeticItem) - Constructor for class de.marcely.bedwars.api.cosmetics.event.PlayerBuyCosmeticEvent
 
PlayerChangeCosmeticEvent - Class in de.marcely.bedwars.api.cosmetics.event
Gets called when a player changes a cosmetic.
PlayerChangeCosmeticEvent(Player, CosmeticItem) - Constructor for class de.marcely.bedwars.api.cosmetics.event.PlayerChangeCosmeticEvent
 
PlayerOpenCosmeticShopEvent - Class in de.marcely.bedwars.api.cosmetics.event
Gets called when a player attempts to open a cosmetic shop.
PlayerOpenCosmeticShopEvent(Player, Shop) - Constructor for class de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
 
PlayerTriggerAnimationEvent - Class in de.marcely.bedwars.api.cosmetics.event
Gets called when a player triggers a cosmetic during a match.
PlayerTriggerAnimationEvent(Player, Arena, CosmeticItem) - Constructor for class de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
 
PURCHASE - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
The item was purchased by the player for its regular price.
PVPLEVELS - Enum constant in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Currency of the PVPLevels plugin.

R

Rarity - Interface in de.marcely.bedwars.api.cosmetics.shop
Represents a rarity of a cosmetic item.
removeOwnership(CosmeticItemOwnership) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Remove the ownership of a given item.

S

save() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Saves the current cosmetic data of the player.
SET_ACTIVE - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Sets the item to the new active one and executes the item as expected.
setActive(CosmeticItem) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Set the active cosmetic item of the player.
setAmount(OfflinePlayer, BigDecimal) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Sets the amount of the given player.
setAmount(OfflinePlayer, BigDecimal, Runnable) - Method in interface de.marcely.bedwars.api.cosmetics.currency.CurrencyProvider
Sets the amount of the given player.
setDefaultItem(CosmeticItem) - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Sets the item that is used if none is selected for this category.
Shop - Interface in de.marcely.bedwars.api.cosmetics.shop
Represents a single shop page.
SHOP_ITEM_PRODUCT_MODIFIER - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Modifies the products that are sold in the shop for players with this item.
SKIN_ALL_DEALER_TYPES - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Changes the skin of both the dealer and upgrade dealer.
SKIN_DEALER - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Changes the skin of a dealer.
SKIN_UPGRADE_DEALER - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Changes the skin of an upgrade dealer.
storeItem() - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
Checks whether purchases with this cause will be stored permanently.

U

UNSET_ACTIVE - Enum constant in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Unsets the current active one.
unsetActive(CosmeticItemCategory) - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Removes the active cosmetic item of the player.
updatePermissiveItems() - Method in interface de.marcely.bedwars.api.cosmetics.CosmeticPlayer
Update the items that are locked or free through permissions.

V

valueOf(String) - Static method in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemBehaviour
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES - Static variable in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemCategory
A list of all possible shop item categories that exist.
VAULT - Enum constant in enum de.marcely.bedwars.api.cosmetics.currency.CurrencyProviderType
Currency that is provided by the Vault plugin.

W

weightsGreaterThan(CosmeticItemOwnership.Cause) - Method in enum de.marcely.bedwars.api.cosmetics.shop.CosmeticItemOwnership.Cause
Get whether the weights of this cause are greater than the given one.
A B C D E F G H I K N O P R S U V W 
All Classes and Interfaces|All Packages