Fadah 2.0 fixes a few flaws in the original Fadah while still having the same (and more) features.
Why 2.0?
> Because to update to this version you must completely reinstall the plugin (wipe database, and delete all configs)
## New Features:
- **Custom Menu Layouts**
- - Change where buttons are in the menus
- - Easily configurable files instead of 1 giant `menus.yml`
- **Listing Tax**
- - A permission node to configure what ranks get taxed and how much (Default is 0)
- **Listing Adverts**
- - Allow players to purchase an advert
- - `fadah.advert-price.<amount>` for permissions based advert cost (Default is configurable)
- **Folia Support**
- - Fadah now supports multi threaded environments
- - Tested on Folia & ShreddedPaper
## Improvements:
- **More efficient pagination**
- - The old system would reopen the entire menu just to go to the next page, this would cause higher memory usage, the new system reuses the same menu and only updates the items in it
- **Reworked the Developer API**
- - Added Events
- - - ListingCreateEvent (Cancellable, setCancelReason method)
- - - ListingEndEvent (getReason method)
- - - ListingPurchaseEvent (getListing & getBuyer methods)
- - Split the API out into its own module so I can distribute an API Jar that you can compile against and not have to worry about all the methods unrelated to the API!
- - You can find this Jar in the latest GitHub release!
- **Refactored the codebase**
- - The codebase was already pretty neat but I have improved some aspects of it!
## Bug Fixes:
- SQLite data-loss is no more
- Fixed high memory usage when lots of people had the AH menu open
- Fixed item attribute hiding on 1.21 (@WuzzyLV)