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 16, 2014Not working on 1.7.9 :(
-
View User Profile
-
Send Message
Posted May 1, 2014@essentialsteam
No as in /lottery SetPot 500 so there is $500 in the pot.
-
View User Profile
-
Send Message
Posted May 1, 2014@Max633
Not really interested in that. Maybe you should look into using the json api plugin.
@Thepom360
There already is a addtopot command. Tickets don't have numbers. Also, just not interested in doing that at all.
-
View User Profile
-
Send Message
Posted Apr 30, 2014@essentialsteam
To view the latest winner on my website with a table via sql
D
-
View User Profile
-
Send Message
Posted Apr 29, 2014can you also make it so we can set the pot? what would be awesome if the player got paper in there hand saying their numbers and the cost.
-
View User Profile
-
Send Message
Posted Apr 28, 2014@Max633
..For what?
-
View User Profile
-
Send Message
Posted Apr 28, 2014SQL support please??
-
View User Profile
-
Send Message
Posted Apr 25, 2014@TheBoomer
I honestly, can't say that I considered that this would be a problem... Most lotteries don't last long enough for this to be an issue.
To clarify the UUID update would only cause issues if a player were to change their name between lotto draws, and the economy plugin didn't support account histories.
I generally use this plugin with EssentialsEco, which should already support account history support via vault.
The server that sponsors the development of this plugin, is still sponsoring upkeep of the plugin for any required updates, just not development on 3rd party features.
-
View User Profile
-
Send Message
Posted Apr 25, 2014Are there plans to integrate UUID based recording/rewarding into this plugin in the future, so that if a user changes their name after buying tickets, before a draw, and happens to win??
Obviously parts of an upgrade depend on vault upgrading (and various economy solutions as well) but can we please get a statement of committment or refusal to continue this plugin with uuid-support to know where to stand for moving forward?
-
View User Profile
-
Send Message
Posted Apr 13, 2014@Cooljack19
I have tested this. It is random. The first person to buy max does not always win.
-
View User Profile
-
Send Message
Posted Mar 14, 2014why does my lottery say there was no winner all rollover i bought 10 tickets i should win
-
View User Profile
-
Send Message
Posted Mar 11, 2014The first person to buy the max amount of tickets wins every time… lol
-
View User Profile
-
Send Message
Posted Feb 28, 2014It is possible to have never win? And report the jackpot to the next part?
-
View User Profile
-
Send Message
Posted Feb 28, 2014It is possible to add a mysql connection? To represent the winners on a WebSite?
Thanks
-
View User Profile
-
Send Message
Posted Feb 14, 2014plugin conflicts with Uskyblocks
please fix this if possible
-
View User Profile
-
Send Message
Posted Feb 8, 2014@essentialsteam
Ok thank you :(
-
View User Profile
-
Send Message
Posted Feb 7, 2014@maxlehot1234
No, it isn't.
-
View User Profile
-
Send Message
Posted Feb 7, 2014Is it possible to set different tickets limit per group ?
-
View User Profile
-
Send Message
Posted Jan 27, 2014@biggnft
The first line of the config says "Use iConomy: false". Change that to true, for any economy plugin it has listed.
-
View User Profile
-
Send Message
Posted Jan 22, 2014How to translate the plugin? I have try everything but in game does not change, you have a solution?
My english is not great, the pars of a French ^ ^ Thank you