noahbclarkson/Auto-Tune

Order of Items in Shop

Opened this issue · 1 comments

The order of the Items inside of the shops does not reflect on the order of the way the items where declared on the config files.
I find this counter intuitive since I, as a server admin, might want to order the items based on relevance or by item type (like keeping the wooden blocks close together) for example.

From what I can gather, the plugin currently reorders the items apparently based on the item's name.
Maybe having a setting that allows you to decide whether or not to order the items by various options such as name, price, id, price change, etc. could be used in this regard.

Auto-Tune needs a config option for default sorting and a button in the shop to cycle through sorting methods. All of the ones listed should be included and the default should be the order in shops.yml