BrendonButler / Shops

Shops plugin for Bukkit/Spigot 1.20
https://www.sparkzz.net/projects?id=shops
GNU General Public License v2.0
1 stars 0 forks source link

New command to update items in shops #4

Closed BrendonButler closed 1 year ago

BrendonButler commented 1 year ago

/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.

BrendonButler commented 1 year ago

Complete after #3

BrendonButler commented 1 year ago

This command will also need to be able to update infinite funds, infinite balance, and the store name

BrendonButler commented 1 year ago

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.