Lottery
Lottery
Lottery is a simple text-based plugin for Minecraft Servers.
What exactly does it do?
A user is able to enter the lottery at any given time and will be given a number, the entry price is displayed in /lottery price the pot (/lottery pot) will be raised with the amount the user paid to enter it. Either when an OP executes the /Lottery draw command or the maximum amount of buyable tickets is reached (configurable), the system will automatically pick 3 random numbers, if the pot for example was 150$, the first person would win 75$, the second 50$ and the third 25$.
Why is this useful?
A lot of people would like to make money in an economy, and this isn't always an easy task. If they're feeling lucky, they are able to enter the lottery and who knows, maybe they'll hit the jackpot.
Won't this ruin my economy?
Not at all! The plugin is driven with the money that users paid for the tickets, so there will be no money taken or added to the economy at all.
What happens when I restart my server?
No problem! The plugin uses hashmaps and saves those in the server folder, making sure none of its data gets lost.
What if someone wins, but is logged out?
That also is stored in the hashmaps, as soon as they log in, they'll claim their reward, without the need of any kind of online database.
Are there any bugs or issues I should know about?
There are none at the moment.
Will the plugin keep getting updated?
Yes, and all future updates excluding fixes or performance improvements, will all be configurable so it'll all be optional.
Help! I found a bug, what do I do?
You can contact me on Bukkit or via e-mail at [email protected] I check my mails daily
This e-mail is also valid for suggestions and questions
I have marked this project as abandoned, as I will no longer be supporting it due to time constraints. In the future I will probably pick this project back up, but I cannot pin a date on that at all. Thank you all for staying with this project for over a good year. :)
=== Update?===
Will an update be coming soon?
I've created a ticket because i have an internal error in console. Pastbin Link is attached :)
Edit: I know the issue. I have set the price to 2.5 in config. Set the price to 3 is working fine. Can you please fix that? And it would be great if you don't add a database.
Since this was the very first plugin I wrote, I'm now working on a 2.0 verion. This will include, but is not limited to:
- SQLite integration - Multiple pots which you can name - Maximum amount of tickets per pot - Ban people from pots - Paying with items, currency or levels. - All sorts of drawing (Timed, ticket amount,...) - More settings for admins
and much more..
Is the a version that works with tekkit clasic?
Downloader beware: I would avoid this plug in, every time your server reloads it deletes all the tickets, it gives admins no way to cap the total amount of tickets a player can buy, and no way to add money to the pot and no timed auto draw. It seems like it could be a good plug in if someone put some work into it.
Will you add a reload command in the next update? That is a deal breaker in plugins for me.
before restart we had $1700 in pot after restart pot was $0 pot draw is set to 2000 and no one has gained money after restart. explain pls?
For people that have the 'null' issue, and don't want to update the plugin (Because that's all the update contains in 1.0). Put this line in the config file:
prefix: Lottery
you're able to change Lottery to whatever you like, but please make sure that line is below all other settings and has NO space infront of it.
There is 'null' all over the in-game command things. For example:
=== null ===
<command>
<command>
<command>
Then when it says something it chat, it says the following:
[null] Purevega is drawing from the pot...
Maybe you could add more to the Config file, allow us to change the [null] or the
=== null===, thanks! Seems like a very simple plugin and it's easy to use.
There is 'null' all over the in-game command things. For example:
null
<command> <command> <command>
Then when it says something it chat, it says the following:
[null] Purevega is drawing from the pot...
Maybe you could add more to the Config file, allow us to change the [null] or the
null===, thanks! Seems like a very simple plugin and it's easy to use.
is it in real money (i hope not) if it's not how to the players know how much money they have and how to you change the prize and how much it is. please answer
Could You Maybe Make some Permission node so I Can Set It So Group can and cant use the lottery plugin please
There should be the possibility that no one could win (configurable)
@huntershenep
Hi! My apologies for the late reply, but my plugin checks if the transaction succeeded, so the problem should not be on my end. I use vault to check for the transaction details.
Hello, I'm not sure you're aware, but if anyone types /lottery enter ANYNUMBER, it does say "Loan was not permitted", but the money is added to the jackpot anyway.
Sweet plugin
@nicktehbrick
No, it doesn't. If you'd like, I could implement some permissions in the next release.
Does this plugin support permissions of any kind?
@Nickeley
This uses Vault, which supports most major economies. If you need any others added, feel free to ask.
@Techperson
I downloaded the file from this, and tested it. It worked perfectly, make sure you have the Vault plugin in your plugins folder too.