!!! This update brings a bunch of changes, please test the main /ah gui after updating and report any issues at
https://github.com/Artillex-Studios/Issues/issues.
- Added a conditions into the gui system, now every item can have a conditions part. If any of the conditions don't match, the item will not appear in the gui. For example:
Code (YAML):
sorting-newest:
slot
: 46
material
:
"GLOWSTONE_DUST"
conditions
:
-
"%selected_sorting_raw% == newest"
name
:
"�DDFFNewest"
- This new system allows for fully customizable, not hard coded category, currency and sorting buttons, the default menu configs have been updated, I suggest taking a look at them if you are looking to change your other buttons. Note that the previous configurations will continue working, no changes are required.
- Thanks to this now it is possible to create buttons that list the options and also buttons that only display the currency selected category/currency/sorting option.
- Added new placeholders, which can be used nicely with the new conditions system: %axauctions_selected_category%, %axauctions_selected_category_raw%, %axauctions_selected_currency%, %axauctions_selected_currency_raw%, %axauctions_selected_sorting%, %axauctions_selected_sorting_raw% - they will also work in PlaceholderAPI
- Added some new actions: [CATEGORY], [CURRENCY], [SORTING] - see how to use them at:
https://docs.artillex-studios.com/axauctions-inventory-actions.html
- Moved the "All" message used for the sorting button from the gui files into the lang.yml. You will have to configure that line again if you have touched it.
- Recoded the main auction gui's internals, now it only loads the current, next and previous page's items and creates them as the user switches pages. This makes the gui open way faster than previously and now the plugin can handle thousands of pages of items with no major delay or lag.
- Fixed that some internal placeholders didn't work if PlaceholderAPI wasn't installed.