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 Apr 29, 2012Can you add maybe a message that broadcasts to the server ever "X" amount of minutes. and maybe add more configuration to messages. thanks! :D
-
View User Profile
-
Send Message
Posted Apr 29, 2012Please update to 1.2.5 R1.2
-
View User Profile
-
Send Message
Posted Apr 15, 2012Hi, I just got this plugin and I changed the lottery to have the tickets cost 0 gold ingots and the jackpot 10 ingots and I set the draw every 2 hours. I tried everything but we can buy the tickets but the drawing never happens, its stuck on Draw will occur soon! and when i log out and in it says Draw in: 0 seconds!
Please help :/
-
View User Profile
-
Send Message
Posted Apr 14, 2012Oh okay, thanks anyways :)
I can wait :-P
-
View User Profile
-
Send Message
Posted Apr 14, 2012@Endless123
I have not yet had time to finish converting this plugin to my programming style, as it stands the messages are all hard coded, and it will take some time to replace it all.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@etherz10
Could you pastebin your config file, and also a server startup log?
-
View User Profile
-
Send Message
Posted Apr 14, 2012@khobbits
Running 2149 CB & 0.8.1 Lottery, It kept drawing the lottery every like 3 seconds when it was set to 12h and was giving out the pot but the pot wouldn't change
-
View User Profile
-
Send Message
Posted Apr 14, 2012Could you insert a language file? I would like to translate this plugin for my users.
Thanks :)
-
View User Profile
-
Send Message
Posted Apr 11, 2012@DesSurvival
That looks like the ordinary pex perm mess up (pex overriding bukkit, before it finished properly loading), but that should only trigger on startup. You mentioned that you were getting command errors, are there any errors thrown then?
-
View User Profile
-
Send Message
Posted Apr 11, 2012http://pastebin.com/J0RVvkfM
-
View User Profile
-
Send Message
Posted Apr 11, 2012@DesSurvival
Try checking your server log, should give you a nice long error message, pastebin it and paste the link here.
-
View User Profile
-
Send Message
Posted Apr 11, 2012I'm getting a "An internal error occurred while attempting to perform this command" when me or someone else types /lottey buy. The plugin and command seems to work perfectly, but the message is a bit annoying. Any way to fix this?
I'm using permissionsEX
-
View User Profile
-
Send Message
Posted Apr 10, 2012@monkeybee11
useiconomy option in the config file, all options are explained on the config page
-
View User Profile
-
Send Message
Posted Apr 10, 2012umm how do u change it to the server money ? me know khobbits said "That's the iconomy toggle." but that means nothing to me XD me stupid need a howto gulid (checked google didt help)
-
View User Profile
-
Send Message
Posted Apr 6, 2012@MW3Beast69
That's the iconomy toggle.
-
View User Profile
-
Send Message
Posted Apr 5, 2012Okay well i've been messing around with this Plug-in and i can't figure out something! Is there any way we can change the lottery win from Gold to Money$$, Like our In-Game Currency!?
-
View User Profile
-
Send Message
Posted Mar 30, 2012@mrchasez
Maybe read the faq above?
Not to mention theres a full page dedicated to explaining the options...
-
View User Profile
-
Send Message
Posted Mar 29, 2012I have a big issue.
The lottery just ended and it said "There are no winners, 150 just went to jackpot"
Then a bunch of people raged. Why did it do that? The config is explained so badly i couldn't figure anything out, Help please ^-^
Edit: That isn't mean't too sound mean ^
-
View User Profile
-
Send Message
Posted Mar 28, 2012@ViscousSummer88
There are a few command sign plugins available which allow the use of commands on signs, maybe one of those would suit what you need to do?
As it stands the plugin doesn't listen to almost any events, and has no conflicts, I don't really want to cause issues with other plugins which modify signs unless I have to :p
-
View User Profile
-
Send Message
Posted Mar 28, 2012@ihasamoose
The permission works fine for me here? Do you have something unique in your server set up? In most permissions plugins that respect superperms, users should be given lottery.buy by default.