Jackpot [1.8 - 1.17] ⭐ Automatic Lottery System
1.1.1A lightweight and highly customizable, auto lottery plugin!
Description:
Jackpot is the Ultimate Automatic Lottery Plugin! Jackpot allows your players to purchase lottery tickets into a global lottery that runs on a constant timer. Jackpot is also highly configurable, meaning you can modify every value and message to your liking through the config. This plugin is great for factions, skyblock, towny, and other economy-based servers.

Screenshots





Commands:
/jackpot - Displays info about the current jackpot.
/jackpot buy <amount> - Purchase a lottery ticket.
/jackpot reload - Reload the config and restart jackpot timer.
Permissions:
jackpot.reload - Reloads the config.yml
Dependencies:
> Vault (This plugin will not work without Vault).
Included Features:
> Automatic lottery system.
> Configurable tax, timer length, and ticket price.
> Fully customizable config file.
Config.yml
# +------------------------------------------------------+ #
# | Jackpot (Configuration) | #
# +------------------------------------------------------+ #
# If you have problems, join the Jackpot help support channel:
# https://discord.gg/gFwVVTE
# -----------------------------------------------------------
# Use these placeholders to display information:
# -
# {amount} ---> Amount of tickets purchased.
# {price} ---> Price for tickets purchased.
# -
# {timer} ---> Total time remaining till jackpot draw.
# {total-value} ---> Total value of current jackpot.
# {tax} ---> Jackpot tax percentage.
# {total-tickets} ---> Total amount of jackpot tickets.
# {player-tickets} ---> Number of jackpot tickets purchased by the player.
# {player-percent} ---> The percentage change the player will win the draw.
# -
# {winner} ---> The player name of the current jackpot draw winner.
# {prize} ---> The current jackpot draw prize.
# -----------------------------------------------------------
# IMPORTANT NOTES:
# > Wrap your text in '' (quotes) if using color codes.
# > All time values are in seconds.
# > A tax-percent value of 0.10 is a 10% tax.
# -----------------------------------------------------------
jackpot:
ticket-price: 10000
draw-time: 10800
tax-percent: 0.1
warnings:
- 3600
- 1800
- 600
- 60
confirm-gui: true
messages:
buy-ticket: '&a&l(!) §aYou successfully purchased {amount} tickets for ${price}'
cannot-afford: '&c&l(!) §cYou cannot afford the total price of ${price} for {amount}
tickets!'
jackpot-info:
- ''
- '&e&lServer Jackpot'
- ' &b&lJackpot Value: &e${total-value} &7(-{tax}% tax)'
- ' &b&lTickets Sold: &e{total-tickets}'
- ' &b&lYour Tickets: &a{player-tickets} &7({player-percent}%)'
- ''
- '&b&l(!) &bNext Winner in &n{timer}&r'
- ''
jackpot-results:
- ''
- ' &b&l(!) --- JACKPOT RESULTS --- &b&l(!)'
- ' &7Congratulation to &a{winner}&7 for winning the lottery!'
- ' &7A prize of &a${prize}&7 has been added to their balance.'
- ''
jackpot-warning:
- ''
- '&b&l(!) &bServer Jackpot (${total-value}) drawing in &l{timer}&b!'
- '&7Use &e/jackpot buy &7to purchase a ticket!'
- ''
confirm-gui:
title: Confirm {amount} Tickets
confirm-button:
material: LIME_STAINED_GLASS_PANE
name: '&a&lConfirm Purchase'
lore:
- '&7Click to &aconfirm &7purchase of'
- '&a{amount} &7ticket(s) for &a${price}'
cancel-button:
material: RED_STAINED_GLASS_PANE
name: '&c&lCancel Purchase'
lore:
- '&7Click to &ccancel &7purchase of'
- '&c{amount} &7ticket(s) for &c${price}'
center-button:
material: BOOK
name: '&e&l(!) Confirm Your Purchase (!)'
lore:
- '&7Select whether you would like to'
- '&7confirm or cancel your ticket purchase.'
cancel-message: '&c&l(!) &cYou have canceled your ticket purchase!'[/COLOR]Bug Reports:
If you experience any errors, bugs, or issues, please message me or ask for support in the discord https://discord.gg/qzEQzYr. Please consider leaving a review down below if you enjoy the plugin! DO NOT leave bug reports in the reviews section.
Servers Running Jackpot:
- play.mythicpvp.net
- tangomc.net
If you would like me to add your server to this list, DM me on here or discord TechnoVision#0647
Coming Soon:
> /jackpot stats command
> /jackpot forcewinner command
> Allow jackpots to save data after server restarts
> Open to suggestions!
Proof
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta