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 Jan 14, 2014Is it possible to add maximum lottery tickets per group?
-
View User Profile
-
Send Message
Posted Jan 14, 2014Hello!!Could I translate your Lottery to Chinese? 請問我能將您的插件翻譯成中文嗎?
-
View User Profile
-
Send Message
Posted Jan 5, 2014I have recently installed this plugin on my server but it is requiring players to use gold bars as the currency. I am running BOSEconomy as my economy plugin along with vault. I do not see anything about this in the plugins config
-
View User Profile
-
Send Message
Posted Jan 5, 2014@deaddude22
This is the one with all the monies. (I get $3 worth of DBO points per day)
-
View User Profile
-
Send Message
Posted Jan 5, 2014@essentialsteam
Never saw that account comment :O
-
View User Profile
-
Send Message
Posted Jan 4, 2014@Erbros
Don't worry, I've replied to the ticket, its user configuration issue, although I've written a quick patch to prevent it from stack tracing in the future.
~ KHobbits (Too lazy to switch accounts)
-
View User Profile
-
Send Message
Posted Jan 4, 2014@deaddude22
The error is happening on a line in the code calling a Vault API, and thus should not break. I'll try to figure out why it's breaking, but as long as Vault don't support HyperConomy I'm not overly concerned with it not working.
-
View User Profile
-
Send Message
Posted Jan 4, 2014@Erbros
Deprecated code I'm guessing?
-
View User Profile
-
Send Message
Posted Jan 3, 2014@deaddude22
This is likely due to HyperConomy, a plugin not listed as supported by Vault. I will try to figure out why this is happening, but it should be safe for anyone using a supported economy.
-
View User Profile
-
Send Message
Posted Jan 2, 2014@EmberC
Is this still occurring on the latest dev of spigot?
-
View User Profile
-
Send Message
Posted Dec 30, 2013I'm having an issue on 1.7 spigot where the lottery will draw a winner any time someone types /lottery. It works normally until the first draw.
I've submitted a ticket several days ago:
http://dev.bukkit.org/bukkit-plugins/lottery/tickets/51-lottery-continually-drawing-winners-ruined-economy/
-
View User Profile
-
Send Message
Posted Dec 20, 2013@jessejl
It is possible. You can find the source here.
@jasonlee0801
Are you sure you stopped the server completely before changing the settings? The settings are saved when the server is stopping, and might thus override the changes you made. If you still have problems, please create a ticket.
@lolelf123
See the FAQ.
@HaltsLongBow
/lottery addtopot -99999999999
@Camaroz1
Other plugins support sign lottery, this is a simple one and does not. You might be able to achieve the effect you want with a sign command plugin though, if you really want to use signs with this plugin.
-
View User Profile
-
Send Message
Posted Dec 20, 2013IS it possible to alter this plugin so if one person buys a piece of food it enters their name into the lottery by the district they are from and by gender.
-
View User Profile
-
Send Message
Posted Dec 18, 2013How do you use MONEY to buy a ticket? I changed the material to money but it still says gold ingots....
-
View User Profile
-
Send Message
Posted Dec 16, 2013Is it possible to add Permissions for giving different groups the right to buy different ammount of lottery tickets?
-
View User Profile
-
Send Message
Posted Dec 3, 2013How do I make users pay in-game money to buy lottery tickets? (Not sure if this matters, but I use CurrencyCore)
-
View User Profile
-
Send Message
Posted Nov 24, 2013I did the add to pot thing for 99999999999 but how do I get it back to the original 1000?
-
View User Profile
-
Send Message
Posted Nov 3, 2013Will I be able to change to Language (Traditional Chinese) after the system release, I will declare by here (I use google translate Sorry)
-
View User Profile
-
Send Message
Posted Oct 24, 2013can you make a Sign Lottery?
-
View User Profile
-
Send Message
Posted Oct 16, 2013... nvm