FamoustLottery v6.1.4 - The friendly User Update
This Version fixes some bugs and simplifiers the way giving users their own lottery.
!!! Please make a backup from your old data, as this version changes a lot. !!!
Changes:
- Added a regain command to regain all Lotterys from a MySQL-DB (PERM=FamoustLottery.regain)
- Fixed MySQL saving issue
- Fixed time on signs(completly messed up at 1h-24h lotterys)
- Fixed save problem, where jackpotChance didn't got saved into yml-file
- Lotterys are now saving upon draw
- The command /lottery create <name> now saves the new lottery directly to yml-file (No changes for MySQL users)
- Added command /lottery save to save all lotterys without waiting for a lottery draw (PERM=FamoustLottery.save)
- Changed the command /lottery reload to just reload yml-files instead of shuting down the plugin
- Changed Jackpot_Chance to its meaning. (Now it's the chance that a player wins instead of the Lottery)
- Fixed grammar inside default messages.yml (Thanks to Raven0)
- Added specific permissions for editing a lottery(Each field no has its own permission) . Explaining it later on.
- Renamed Vault in Field useEcon to Money.
- Fixed Item currency bug on useEcon switch
- Added default configuration for lotterys.
- Fixed taxes to work properly
- Fixed bug, where you couldn't use colour-codes for changing the Edit-Inventory name
- Now using VaultAPI to get Item names. (Only if Vault is installed)
- Using Vault is now only available if installed. (Befor you could get a NullPointerException)
- Taxes are now working properly for items as well
- Fixed prefix for custom lotterys
Special Thanks to Raven0 for his great support, pushing this update forward with ideas and testing
Specific permissions for edititing lotterys:
- FamoustLottery.edits.* - Grants access to all changing fields
- FamoustLottery.edits.broadcastbuy - Grants access to change broadcastBuy
- FamoustLottery.edits.broadcastdraw - Grants access to change broadcastDraw
- FamoustLottery.edits.delay - Grants access to change delay
- FamoustLottery.edits.econ - Grants access to change useEcon
- FamoustLottery.edits.item - Grants access to change Item
- FamoustLottery.edits.jackpotchance - Grants access to change the Jackpotchance
- FamoustLottery.edits.maxticketsbp - Grants access to change the maxTicketsByPlayer
- FamoustLottery.edits.maxtickets - Grants access to change the max Tickets in Lottery
- FamoustLottery.edits.minplayers - Grants access to change the minPlayers
- FamoustLottery.edits.mintickets - Grants access to change the minTickets
- FamoustLottery.edits.price - Grants access to change the Price
- FamoustLottery.edits.runtime - Grants access to change the Runtime
- FamoustLottery.edits.taxholder - Grants access to change the taxholder
- FamoustLottery.edits.taxmultiplier - Grants access to change the taxmultiplier
- FamoustLottery.edits.maxwins - Grants access to change the maxwins
- FamoustLottery.edits.globalmessages - Gratns access to change to globalMessages
- FamoustLottery.edits.extrainpot - Grants access to change extrainpot
- FamoustLottery.edits.clearextrainpot - Grants access to change clearextrainpot