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
@OMGitzFROST
I haven't touched this project in several years, so I think we can call this dead if khobbits is also done.
Thank you all for using this plugin, but as of now you're better off using some other plugin for your gambling needs.;)
If anyone wants to take over, feel free. The newest source is this one I think: https://github.com/khobbits/Lottery
@OMGitzFROST
I'm not updating this plugin any further. I stopped Bukkit development, when Bukkit was DMCA'd. Feel free to use one of the forks.
If someone want's to take take over the project, contact Erbros.
My users keep getting an error when using command /lot buy [amount of tickets] here is the link to my ticket
https://dev.bukkit.org/bukkit-plugins/lottery/tickets/62-internal-error/
I dont know if me as the server owner, am doing something wrong or if there is an defect with this plugin! PLEASE HELP!
good plugin
Hey can you make an update in which it shows the percentage the winner had of winning the pot for example
Congratulations to xXslayerXx for winning $2600 with 4 tickets! (13% chance)
Does it work on 1.8.8 servers?
@homedog21
Never finished?
I will be updating this to 1.9 tonight i will put a link in this comment section when i finish
https://www.spigotmc.org/resources/lottery-unofficial-update.16801/
I've created an unofficial fork of this on spigot. It's updated and more performant.
Anyone who could perhaps update this? Seems to be broken on the latest version of spigot (1.8.8-r0.1-snapshot). A update would be awesome :3
@scarabcoder
https://github.com/Lactem/Lottery
Hey, Can you make this open source please? It'd really be awesome.
I search for a plugin their you put money in you can win the double or lose it all! And a plugin their you put money in like a jackpot and the you have more % to win! Please create that plugins!
Normal players can't buy multiple lotto tickets at once. Is there a permission node for this?
Make the plugin multiworld supported! In config, it should have enabled worlds where those worlds will receive the lottery mesage and the other worlds will not!
I have a problem with this plugin. I love it is amazing but there is a major glitch. I use diamonds as the item used to purchase lottery tickets. However, if someone purchases a ticket with a named diamond, then those diamonds will not be taken from their inventory.
Lottery 0.9.4 works on Spigot 1.8.8
Thanks, LHammonds
Doesn't quite work with 1.8.7 it prints this error:
Task #796 for Lottery v0.9.4 generated an exception
Works Perfect On My 1.8.7 Spigot Server.
What does the jackpot option do in the config? Someone should update the config page and video :/