- Added select all & add random functionality to placing bets on Discord as well
- Reject discord interactions when game is locked
- Complete revamped how you interact with LotterySix on discord!
- Now there is only one command /lottery
- Folia Support (usable when Vault also supports Folia)
- Fixed NPE when opening the menu when there are no past games
- LotterySix now uses a separate Betting Account Balance to hold and maintain money used to bet as well as winnings
- This allows player funds to be accessed offline
- Player winnings now go directly into their betting account
- Players no longer need to click a chat message in chat to collect winnings
- Added discord slash command /betaccount
- Added discord slash command /placebet
- More info on that https://github.com/LOOHP/LotterySix/wiki/Placing-Bets-Through-Discord
- Fixed an incorrect combination size calculation
- Support for Minecraft 1.19.4
- Added Random Entries for Multiple and Banker Types
- Added option to switch item material and custom model data for the "number wool" items so that servers could create their own custom textures for them if they so choose
- Added option MaximumChancePerSelection
- Fixed game sync and saving on bungeecord
- Fixed a possible edge case game saving bug
- Added customizable date placeholders
- For example, you can now do {Date_dd/MM/yyyy}
- Option to hide papi results while game is locked
- You can now set an account to receive the portion of lottery ticket sales taken as tax
- For example, they can be received by the server owner or an admin to then be redistributed to other players to fund server-wide projects! This allows taxed ticket sales to be turned to good use, returning them to the server community.
- Improved Player Winnings Display
- It is now more compact and (in my opinion) easier to read
- There's now a wiki page dedicated to understanding the ticket interface
- Customization of ticket descriptions and tier names
- Added GUI to list all past games
- Only cache up to around 20 past games
- Prevent overflow in Metric Charts
- Updated default config
- Added config option to disallow loans
- Fixed method synchronization dead lock
- No longer add bets on the server main thread
- Added the ability to buy up to 100 random entries at once due to popular demand
- No, I will not add 1000 random entries next
- You can no longer see the chosen numbers before you purchase random entries, to make them actually random
- Fixed console Bossbar errors on some legacy versions of Minecraft
- Tweaked only ticket sales carry over calculation in HKJC mode
- Added Betting Account GUI
- Players can set their preferences in this GUI whereas previously it is only available via command
- Players can now suspend their own account for X amount of time
- The calculation for prize odds is incorrect if number choices is not 49
- How did no one find this out for so long? X.X
- Improved BetNumbers memory usage with no bankers
- Sort winnings in lottery winner logging
- Improved current game saving with more safety features, including
- Making backups before a new save
- Logging all placed bets to console
- Use a dedicated thread to perform saving tasks
- Use read-write lock instead of a single lock for the bets in the current game
- Added invalidate bets command
- Tweaked wording in the default config
- Added the ability to pick random numbers in all entry types
- Reopen the menu if bet placing is cancelled via clicking the cancel icon
- Display grayed out item when number choosing is not yet completed
- Fixed banker selection displaying the wrong bankers
- Added button to select all numbers in relevant entry modes
- Reopen menu after viewing past games
- Fixed menu flashing when finishing bankers selection
- Exiting in banker entry's number selection screen will now return to the last page like the other modes
- Better distribute prizes between 2nd & 3rd division