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 Mar 2, 2012Lottery is still drawing after each reboot on 1.2
-
View User Profile
-
Send Message
Posted Feb 29, 2012@rtcabooservb I added that to the known bug sections of that build, if you had not noticed :P
@iTzVien Set the numberOfTicketsAvailable to 0, If it is set to anything other than 0, jackpot owns all unbought tickets :P It is in the FAQ above...
-
View User Profile
-
Send Message
Posted Feb 28, 2012Using R5 craftbukkit builds, lottery resets every time I restart the server.
-
View User Profile
-
Send Message
Posted Feb 28, 2012im assuming you have an economy linked threw vault, you config file is set up to use materials instead of an economy. guildmasterlelo. set iconomy to true.
-
View User Profile
-
Send Message
Posted Feb 28, 2012K i use Lottery - 0.7.5
When i try to /lottery buy, it displays "Either you can't affort a ticket or you got 5 tickets already". I got a billion dollars... with no tickets.
This is my config file:
-
View User Profile
-
Send Message
Posted Feb 27, 2012i dont know why but please help me! when i draw the lottery the jackpot always wins even tho my players buy alot of tickets.
-
View User Profile
-
Send Message
Posted Feb 27, 2012config reload and changes not saving, i reloaded the older version for now, it had an account field for the economy to use. now when you restart the server all money in the pot vanishes. i hope you can fix this its simple for me to use.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@khobbits
Thanks for taking this project on :)
-
View User Profile
-
Send Message
Posted Feb 27, 2012I would wait before using any 0.7.4+ builds, till I've had time to go over the plugin. Erbros was working on some new features, which were not completed.
-
View User Profile
-
Send Message
Posted Feb 27, 2012"/lottery config reload" does have no effect
-
View User Profile
-
Send Message
Posted Feb 27, 2012This plugin will now (for the unforeseeable future) be updated by KHobbits and he stand free to take it in any direction he want :) A thousand "thank you!" goes to him :)
-
View User Profile
-
Send Message
Posted Feb 26, 2012Just update it ready for R5?
-
View User Profile
-
Send Message
Posted Feb 26, 2012@Erbros
This makes me very sad :(! I've been using this plugin since it first came out. Is there any reason why? Anyway you would change your mind?
-
View User Profile
-
Send Message
Posted Feb 26, 2012Might also be switching to this. I recommend everyone check this out :P http://dev.bukkit.org/server-mods/lotteryplus/
-
View User Profile
-
Send Message
Posted Feb 26, 2012I may have someone who will be updating this. Will keep you guys informed.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@MatrixJ21
I'm sorry, this plugin won't be updated anymore.
-
View User Profile
-
Send Message
Posted Feb 25, 2012@Erbros I really need an update for the next R5 build, please update your methods already...
-
View User Profile
-
Send Message
Posted Feb 24, 2012@erbros http://pastie.org/3446172 Please update for the new Bukkit R5 build.
-
View User Profile
-
Send Message
Posted Feb 23, 2012@Erbros
Deprecated methods... next rb (r5) will fail.
http://pastie.org/3442684
-
View User Profile
-
Send Message
Posted Feb 23, 2012only superperms?