Package | Description |
---|---|
de.epiceric.shopchest.event | |
de.epiceric.shopchest.shop | |
de.epiceric.shopchest.sql | |
de.epiceric.shopchest.utils |
Modifier and Type | Method and Description |
---|---|
Shop |
ShopRemoveEvent.getShop() |
Shop |
ShopPreCreateEvent.getShop() |
Shop |
ShopInfoEvent.getShop() |
abstract Shop |
ShopEvent.getShop() |
Shop |
ShopCreateEvent.getShop() |
Shop |
ShopBuySellEvent.getShop() |
Constructor and Description |
---|
ShopBuySellEvent(org.bukkit.entity.Player player,
Shop shop,
ShopBuySellEvent.Type type,
int newAmount,
double newPrice) |
ShopCreateEvent(org.bukkit.entity.Player player,
Shop shop,
double creationPrice) |
ShopInfoEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopPreCreateEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopRemoveEvent(org.bukkit.entity.Player player,
Shop shop) |
Modifier and Type | Method and Description |
---|---|
static Shop |
Shop.createImaginaryShop(org.bukkit.OfflinePlayer vendor,
org.bukkit.inventory.ItemStack product,
org.bukkit.Location location,
double buyPrice,
double sellPrice,
Shop.ShopType shopType) |
Modifier and Type | Method and Description |
---|---|
void |
Database.addShop(Shop shop)
Adds a shop to the database
|
void |
Database.removeShop(Shop shop)
Remove a shop from the database
|
Modifier and Type | Method and Description |
---|---|
Shop |
ShopUtils.getShop(org.bukkit.Location location)
Get the shop at a given location
|
Shop[] |
ShopUtils.getShops()
Get all Shops
|
Modifier and Type | Method and Description |
---|---|
void |
ShopUtils.addShop(Shop shop,
boolean addToDatabase)
Add a shop
|
void |
ShopUtils.removeShop(Shop shop,
boolean removeFromDatabase)
Remove a shop
|
Copyright © 2016. All rights reserved.