Allow users to particpate in a server-wide lottery!
Features:
- Server wide lottery with Uconomy money!
- A nice, optional UI, found here!
- Upload a Discord webhook when players win!
- Support for both Json or MySQL!
- Optimized, meaning zero lag!
- Completely configurable!
Commands:
- /buyticket [<amount>] - Buy lottery tickets
- /drawlotto - Admin command to draw the lottery
- /lottery - Open the UI/View lottery information
Permissions:
OpenMod:
- Johnanater.IceLotto:commands.buyticket
- Johnanater.IceLotto:commands.drawlotto
- Johnanater.IceLotto:commands.lottery
RocketMod:
- icelotto.buyticket
- icelotto.drawlotto
- icelotto.lottery
Configuration:
The plugin and it's messages are completely configurable! Click to see the config (OpenMod) (RocketMod), RocketMod MySQL Config, and the translations (OpenMod) (RocketMod)!
This plugin can utilize a Discord webhook to showcase the lottery winner, a tutorial on how to setup a webhook can be found here! After you created it, simply set Enabled
to true
and set WebhookUrl
to your Webhook's URL!
Migrating from RocketMod
If you are upgrading from the RocketMod version to the OpenMod version, you can migrate your database to the new system. If you are using json for storage, you can simply copy paste the file to the new plugin directory and replace all Steam64
to Id
. If you are using MySQL, you can run the command /icevote rmmigrate <tableName> <ipAddress> <databaseName> <username> <password> <port>
.
Want a custom UI Made?
Want a custom UI to make your server extra special? Send me a message on Discord and we can talk about it!
Support:
If you need some help, feel free to contact me on Discord! Johnanater#6836
Or send me an email at [email protected]!
User Reviews
Genuinely incredible, I mean, its such a simple idea but you executed it so amazingly. The UI is smooth, easy. The setup is quite literally nonexistent, so amazingly simple, the support for a whitelist was a LITERALLY 20 MINUTE WAIT. Dude, best dev out here rn.
This Plugin is great and works perfectly and easy to setup.
I'd say the support was amazing and Installing the plugin was extremely simple. But I have been having problems with the UI it tends to bug.
Thanks for the review! If you are having issues with the UI, please report it!
Is very good