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 May 30, 2015would love to see some updates on this, it's a great plugin :)
-
View User Profile
-
Send Message
Posted May 23, 2015How do you change the amount of time to minutes? PLZ HELP!!!
-
View User Profile
-
Send Message
Posted Mar 21, 2015@mike9918
-
View User Profile
-
Send Message
Posted Mar 21, 2015So I'm not sure what's going on. I can't get the lottery plugin to load I attached a screenshot of what is in the console...
-
View User Profile
-
Send Message
Posted Dec 31, 2014would be nice if it would be possible to execute "/lottery draw" automatically if all tickets are sold
-
View User Profile
-
Send Message
Posted Nov 21, 2014most simply lottery plugin :) and probably the best tbh.. Using this on my server :)
-
View User Profile
-
Send Message
Posted Sep 28, 2014How do i set it so players win more often nobodys ever won
-
View User Profile
-
Send Message
Posted Aug 25, 2014Ok thx
-
View User Profile
-
Send Message
Posted Aug 24, 2014@xxfire17xx
You just set 'useiConomy' to true. this works with any economy plugin
-
View User Profile
-
Send Message
Posted Aug 24, 2014How do i set it so the lottery is money i have essentails for econemy
-
View User Profile
-
Send Message
Posted Jul 26, 2014i have "McMoney" plugin and i have 25 dollars and i cant buy a ticket, why,and im the owner so i can have all the commands
-
View User Profile
-
Send Message
Posted Jul 23, 2014tax Target: '' example tax Target: 'Max633' ???
The tax will pay to Max633?
-
View User Profile
-
Send Message
Posted Jul 1, 2014I was able to be translated into Chinese ?
-
View User Profile
-
Send Message
Posted Jun 27, 2014Hey there, love the plug-in. I'd love to see the addition of signs tho. I have a casino and the lottery could have its own lottery, where people can see how much is in the pot, when the next draw is, and even buy tickets by hitting a sign.
Just a thought.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Thepom360
Setting the total pot price, will not be supported as this would remove the pot contributions from the players buying the actual ticket.
The addtopot sub command allows you to add extra money to the pot, from a server admin position.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Cymcraft
I would highly recommend against allowing that many tickets to be bought. Either configure a max ticket limit, or raise the price of the tickets so that more than a few thousands tickets is unobtainable.
@FuRiouSOne
This feature doesn't announce on its own, but appends a "40 sec till draw" style message on the end of ticket purchase messages.
I didn't want to add hard coded "2 minutes till draw" style messages, since the time keeping involved would likely be cpu expensive compared to the current solution.
Since most minecraft servers struggle to stay at exactly 20tps, using tickets as a measure of time is inaccurate.
-
View User Profile
-
Send Message
Posted Jun 4, 2014I attempted to buy about 1,000,000 lottery tickets, and your plugin froze up and crashed my server to no return. I had to completely stop the server, remove lottery, and restart it. Just an FYI. I have a lot of big spenders on my server.
-
View User Profile
-
Send Message
Posted Jun 3, 2014@Peepman99
Im sure this config option should allow that but it doesn't seem to work in game.
-
View User Profile
-
Send Message
Posted Jun 1, 2014I do so apologise if this feature already exists, or if it has already been requested, but would it be possible for an announcement to be made a little bit before the lottery is drawn, such as "The lottery will be drawn in 5 minutes; buy to the max!"
-
View User Profile
-
Send Message
Posted May 17, 2014@NoHoPeLess
Works Fine on my Server (1.7.9)