Package | Description |
---|---|
eu.wauz.wauzcore.menu |
This package contains inventory classes, used as menu or for other custom interaction mechanics.
|
eu.wauz.wauzcore.system.economy |
This package contains classes, that are used for the economy system.
|
Modifier and Type | Field and Description |
---|---|
private WauzShopDiscount |
ShopMenu.shopDiscount
The discount of the shop.
|
Constructor and Description |
---|
ShopMenu(WauzShop shop,
WauzShopDiscount shopDiscount)
Creates a new shop menu instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
WauzShopActions.buy(org.bukkit.entity.Player player,
WauzShopItem itemToBuy,
WauzShopDiscount discount)
Tries to buy the given item for the player.
|
org.bukkit.inventory.ItemStack |
WauzShopItem.getInstance(org.bukkit.entity.Player player,
WauzShopDiscount discount,
boolean bought)
Generates a player specific instance of the shop item stack.
|