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) |
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,
double buyPrice,
double sellPrice,
Shop.ShopType shopType) |
Modifier and Type | Method and Description |
---|---|
void |
Database.addShop(Shop shop,
int reconnectAttempts)
Adds a shop to the database
|
void |
Database.removeShop(Shop shop,
int reconnectAttempts)
Remove a shop from the database
|
Modifier and Type | Method and Description |
---|---|
static Shop |
ShopUtils.getShop(org.bukkit.Location location)
Get the shop at a given location
|
static Shop[] |
ShopUtils.getShops()
Get all Shops
|
Modifier and Type | Method and Description |
---|---|
static void |
ShopUtils.addShop(Shop shop,
boolean addToDatabase)
Add a shop
|
static void |
ShopUtils.removeShop(Shop shop,
boolean removeFromDatabase)
Remove a shop
|
Copyright © 2016. All rights reserved.