Package | Description |
---|---|
de.epiceric.shopchest.event | |
de.epiceric.shopchest.sql | |
de.epiceric.shopchest.utils |
Modifier and Type | Method and Description |
---|---|
Shop |
ShopEvent.getShop() |
Modifier and Type | Method and Description |
---|---|
List<Shop> |
ShopRemoveAllEvent.getShops() |
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) |
ShopEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopInfoEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopOpenEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopPreCreateEvent(org.bukkit.entity.Player player,
Shop shop) |
ShopRemoveEvent(org.bukkit.entity.Player player,
Shop shop) |
Constructor and Description |
---|
ShopRemoveAllEvent(org.bukkit.command.CommandSender sender,
org.bukkit.OfflinePlayer vendor,
List<Shop> shops) |
Modifier and Type | Method and Description |
---|---|
void |
Database.addShop(Shop shop,
Callback callback)
Adds a shop to the database
|
void |
Database.removeShop(Shop shop,
Callback callback)
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.addShop(Shop shop,
boolean addToDatabase,
Callback callback)
Add a shop
|
void |
ShopUtils.removeShop(Shop shop,
boolean removeFromDatabase)
Remove a shop
|
void |
ShopUtils.removeShop(Shop shop,
boolean removeFromDatabase,
Callback callback)
Remove a shop
|
void |
ShopUtils.updateShop(Shop shop,
org.bukkit.entity.Player player)
Update hologram and item of the shop for a player based on their distance to each other
|
Copyright © 2017. All rights reserved.