Closed HDR closed 7 years ago
Added a Config option and a permission
The config option allows you to set a max amount a player can deposit (does not prevent multiple smaller deposits), anyone with the permission node "lottery.admin" will bypass the max amount set in the config.
Thanks for the PR!
I don't quite get why somebody would add money to the pot without increasing the chance to win. But I will merge anyway. Is it ready to be merged?
Yep it's ready to merge. the original intent was so admins could add to the pot, both ingame and from console, but i decided to add it so normal players can use it, if they desire to do so.
Ok cool.
Users with the "lottery.addpot" permission will be able to add to the pot from their own balance, using /lottery addpot
Console can add to pot using the same command.