Lottery
Lottery
News
- Appears to still work on 1.4.6 & 1.5.2 & 1.6.4 & 1.7.1 & 1.8.3 & 1.9 no reported bugs.
Shortcuts
FAQ
Q: How do I set the amount of money the jackpot should start with?
A: You need to set extraInPot to whatever amount you want it to start with, and then do clearExtraInPot: false
Q: The jackpot is winning too much, I don't want it to win.
A: Then you need to change the numberOfTickets to something else, or just set it to 0 (jackpot will never win then).
Features
- Users can buy one or more tickets and have the chance to win money in the pot (total tickets bought * price * net payout variable / 100 )
- Configurable price, material (including money/coins), hours between lottery drawings and other configurations.
- Supports iConomy v4, iConomy v5, iConomy v6, BOSEconomy v6, BOSEconomy v7, Essentials Eco, MultiCurrency and Vault.
- Permission nodes using superPerms
- Custom welcome message
Permissions
These are the superPerm nodes you can use to tweak the default permissions.
- lottery.buy : Gives you all the basic rights /lottery (buy, help, winners).
- Given to all players by default, so you need to remove from the users/groups you don't want to have.
- lottery.admin.draw : Gives the group/user access to the /lottery draw command.
- Given to OP's by default.
- lottery.admin.addtopot : Gives the group/user access to the /lottery addtopot command
- Given to OP's by default.
- lottery.admin.editconfig : Grant access to edit/reload the lottery config ingame
- Given to OP's by default.
Commands
- /lottery : Basic information
- /lottery buy <number> : Buy one or <number> of tickets.
- /lottery help : Help pages
- /lottery winners : List over 10 last winners
- /lottery draw : Force the drawing to happen. Op only if not permission plugin.
- /lottery addtopot : Adds extra money/items to the pot. Op only if not permission plugin.
- /lottery config <cost/hours/max/maxTicketsEachUser/reload> : Change/reload the config ingame.
Configuration
In the configuration that is made when the plugin is run the first time, you don't get comments about the different options. Here you do!
Click here to check out the explanation to the configuration :)
Tutorial
PS: The /lottery claim command is used when you are using material and you win, since blocks/items can only be given to online players
-
View User Profile
-
Send Message
Posted Oct 15, 2011I love this plugin, unfortunately i have a rather small server so instead of someone winning all the time could you add a percentage chance of winning the pot? and if no-one wins the pot gets larger because you have to buy more tickets for the next draw.
-
View User Profile
-
Send Message
Posted Oct 1, 2011@erickingsr
I do unfortunately not have any donation page at the moment, but thank you very much for the kind words Eric :) It makes coding plugins a pleasure :)
-
View User Profile
-
Send Message
Posted Oct 1, 2011Erbros my friend,
Donate link please :)
Thanks, Eric
-
View User Profile
-
Send Message
Posted Sep 26, 2011@DarkMinecrafter
It's working now :)
-
View User Profile
-
Send Message
Posted Sep 21, 2011This plugin work not with IConomy 6
-
View User Profile
-
Send Message
Posted Sep 17, 2011[refile as a ticket]
-
View User Profile
-
Send Message
Posted Sep 16, 2011@khobbits
Yeah, I've noticed something like that myself, but I have no clue as to why. It's not happening often, so I don't have much to go after. A server restart or a forced draw will fix it.
I'll make a ticket about it, so I remember it when I get back to my desktop computer in a few days.
Thanks for the post! :)
-
View User Profile
-
Send Message
Posted Sep 16, 2011<@LostAlaskan89> Do you know if it has any bugs involving the drawing of the winner? It's been stuck saying that it will draw soon for about 4-ish hours now.
- Sorry no further information, person went offline on irc.
-
View User Profile
-
Send Message
Posted Sep 15, 2011@Joshua012887
Please post a ticket regarding the errors you have found with Lottery and minecraft 1.8. I tried to find a bug myself, but couldn't find any. Here is the link to create a ticket
-
View User Profile
-
Send Message
Posted Sep 15, 2011This does not work on 1.8 will you update it?
-
View User Profile
-
Send Message
Posted Sep 10, 2011@Funstein:
It's already on Github, you can find the link when you click the menu item called "Repository" :)
And you are more than welcome to push a commit if you think this feature is something more people would want :)
-
View User Profile
-
Send Message
Posted Sep 9, 2011Mind putting this on github? I want to fork it to add a feature...