-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
We have written our own little minion plugin the minions are responsable for a few task. One of the task is selling from a certain chest. This is the reason we need an API to get the current price of an ItemStack.
NascraftAPI api = NascraftAPI.initialize();
double currentPrice = api.getPrice(Material.OAK_DOOR);
or an method to sell an itemstack and get an Interger not an int as result that when the result is null then the material could not be sold to the marked.
NascraftAPI api = NascraftAPI.initialize();
Integer sellingValue = api.sellItem(itemStack);
We know that the plugin has selling wands but we would like to use our infrastructure that the minions of our players can sell the items with the dynamic prices.
Metadata
Metadata
Assignees
Labels
No labels