Closed BrendonButler closed 1 year ago
Complete after #3
This command will also need to be able to update infinite funds, infinite balance, and the store name
Added update command to update shop data (infinite funds, infinite balance, and shop name), also added functionality to update item data within the shop (buy price, sell price, and max quantity).
This will require validation and permissions, but I'm marking the feature as complete for now since it's unreleased.
/shop update <item> <buy-price|sell-price|max-quantity> <value>
This will allow a shop owner to update any items within their shop, they can specify the buy-price, sell-price, or max-quantity, and set the new value.Setting a negative value for buy-price means that the shop is not selling the specified item to a customer. Setting a negative sell-price means that the shop is not buying the specified item from the customer. Setting a negative max-quantity indicates there is no maximum quantity that the shop will buy.