API
This area will explain how to hook into this plugin.
Last updated
This area will explain how to hook into this plugin.
Last updated
OneStopShopAPI api = OneStopShop.getPlugin().getApi();
Examples:
# add a item to a shop
api.addShopItem(item, "armor-shop", 100.0, 500.0);
# get a item buy value
Double buy = api.getItemBuyValue(item);
# get a item sell value
Double sell = api.getItemSellValue(item);public void addShopItem(ItemStack item, String shop, double sell, double buy) {
}
public double getItemSellValue(ItemStack item) {
}
public double getItemBuyValue(ItemStack item) {
}