ModsJava
Lottery
Java mod listed for Minecraft 1.8–1.19. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotThis Plugin is no longer maintained and will not receive any feature updates for now. It will however still receive Version updates (for newer MC versions) and also bug fixes if necessary.
Information:
- This Plugin needs Vault and an Economy plugin to work
- The Plugin is highly configurable
- This Plugin supports PlaceholderAPI
- Vault: https://dev.bukkit.org/projects/vault
Commands:
- /Lottery buy (Number)
- /Lottery status
- /Lottery help
- /Lottery admin
- /Lottery draw
- /Lottery addpot <Number>
- /Lottery reload
- /Lottery gui
- /Lottery togglebuymsg
- /Lottery toggleremindmsg
Permissions:
- Lottery.Buy - Allows you to use /Lottery Buy
- Lottery.Status - Allows you to use /Lottery Status
- Lottery.Admin - Allows you to use /Lottery Admin
- Lottery.Draw - Allows you to use /Lottery Draw
- Lottery.Addpot - Allows you to use /Lottery Addpot
- Lottery.Reload - Allows you to use /Lottery Reload
- Lottery.TicketLimit.<Limit> - Players with this Permission will get the TicketLimit as set in the config
- Lottery.TicketLimit.Bypass - Players with this Permission can buy unlimited Tickets
- Lottery.Gui - Allows you to use /Lottery GUI
- Lottery.cooldown.bypass - Allows you to bypass the buy cooldown
- Lottery.togglebuymsg - Allows you to use /Lottery togglebuymsg
- Lottery.toggleremindmsg - Allows you to use /Lottery toggleremindmsg
PlaceholderAPI:
- %lottery_drawtime% - Returns the lottery draw time (Format from messages)
- %lottery_gtickets% - Returns the global bought Tickets amount
- %lottery_ptickets% - Return the players bought Tickets amount
- %lottery_pot% - Return the money amount in Pot + Extra in pot
- %lottery_winner% - Returns the last winner (Returns the string set in messages if no last winner available)
Config;
Code (Text):
DrawTime: 60
UseTimeDraw: false
TimeDrawCheckIntervalSeconds: 60
TimeDraws:
- 00:00:00
- 06:00:00
- '12:00:00'
- '18:00:00'
GlobalBoughtMessage: true
TicketCost: 100.0
MoneyToPot: 100.0
ExtraInPot: 10.0
Refund: 100.0
TaxesPercent: 10
ServerAccount: none
MinPlayers: 2
BuyCooldownTimeSeconds: 60
EnableChanceNoWin: false
ChanceNoWinIfLessTicketsSold: false
ChanceNoWinPercent: 1/200
NoWinBackToPotPercent: 50
NoWinClearsLastWinner: false
NotEnoughSoldClearsLastWinner: false
Reminder: true
RemindIntervalSeconds: 600
ReminderCommands:
- commands
OnlyOnlineWin: false
LoginWinMessage: false
LoginWinMessageDelayTicks: 10
PerformCommandOnLotteryCMD: false
CommandOnLotteryCMD: lottery status
UpdateCheck: true
Metrics: true
TicketLimits:
Default: 3
BlockedWorlds:
- testworld
WinCommands:
Enabled: true
ExecuteIfOffline: false
Commands:
- xp 10l %player%
NoWinCommands:
Enabled: false
Commands:
- commands
UseTimeDraw: false
TimeDrawCheckIntervalSeconds: 60
TimeDraws:
- 00:00:00
- 06:00:00
- '12:00:00'
- '18:00:00'
GlobalBoughtMessage: true
TicketCost: 100.0
MoneyToPot: 100.0
ExtraInPot: 10.0
Refund: 100.0
TaxesPercent: 10
ServerAccount: none
MinPlayers: 2
BuyCooldownTimeSeconds: 60
EnableChanceNoWin: false
ChanceNoWinIfLessTicketsSold: false
ChanceNoWinPercent: 1/200
NoWinBackToPotPercent: 50
NoWinClearsLastWinner: false
NotEnoughSoldClearsLastWinner: false
Reminder: true
RemindIntervalSeconds: 600
ReminderCommands:
- commands
OnlyOnlineWin: false
LoginWinMessage: false
LoginWinMessageDelayTicks: 10
PerformCommandOnLotteryCMD: false
CommandOnLotteryCMD: lottery status
UpdateCheck: true
Metrics: true
TicketLimits:
Default: 3
BlockedWorlds:
- testworld
WinCommands:
Enabled: true
ExecuteIfOffline: false
Commands:
- xp 10l %player%
NoWinCommands:
Enabled: false
Commands:
- commands
Messages.yml:
Code (Text):
Prefix: '&8[&bLottery&8] '
NoPermission: '&c&lYou dont have permission to do that!'
Buy: '&a&lSuccessfully bought &6%tickets% &aLottery Tickets!'
GlobalBuy: '&6&l%player% &abought &6%tickets% &aLottery Tickets!'
NoMoney: '&c&lYou dont have enough money to buy &6&l%tickets% &c&lTickets. You need
&6&l%money% &c&lMoney to buy &6&l%tickets% &c&lTickets.'
TicketLimit: '&c&lYou cant buy more Tickets!'
Cooldown: '&c&lYou are on cooldown! You can buy Tickets again in &6%time% &c&lSeconds'
Win: '&a&lCongratulations to &6&l%player% &a&lfor winning &6&l%money% &a&lMoney in
Lottery!'
NoWinnerText: '&cNobody'
NoPlayers: '&c&lThere were no Tickets sold.'
FewPlayers: '&c&lThere were not enough players for Lottery to draw!'
NotOnline: '&c&lThe Winner %player% is not online and could not win.'
LoginWinMessage: '&a&lCongratulations! You won &c&l%moneygot% (Without Taxes %moneynotax%)
&a&lin the Lottery you last participated!'
BlockedWorld: '&c&lThe Winner %player% is in a Blocked World and could not win.'
BackToPot: '&6&lNobody won! &c&l%newpot% &6&lwas added back to the pot!'
Reminder: '&a&lLottery will draw in &6&l%draw% &a&lMinutes! In Pot: &6&l%pot%'
ToggleOFFBuyMessage: '&cYou wont receive any Buy messages from other Players anymore!'
ToggleONBuyMessage: '&aYou will now again receive Buy messages from other Players!'
ToggleOFFReminderMessage: '&cYou wont receive any Reminder messages anymore!'
ToggleONReminderMessage: '&aYou will now again receive Reminder messages!'
TimeTillDrawFormat: '&c%h%&8H &c%m%&8M &c%s%&8S'
WaitingForDraw: '&cWaiting for current Draw..'
Status:
- ' &b&lLottery'
- ' '
- '&aYour Tickets: &c%ptickets%'
- ' '
- '&aGlobal Tickets: &c%gtickets%'
- ' '
- '&aIn Pot: &c%pot%'
- ' '
- '&aDraw in: &c%draw%'
- ' '
- '&aLast Winner: &c%winner%'
HelpPage:
Users:
- §7===================================
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery buy (Number)
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery status
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery gui
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery toggleremindmsg
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery togglebuymsg
- §8[§bLottery§8]
- §7===================================
Admins:
- §7===================================
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery draw
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery reload
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery addpot <Number>
- §8[§bLottery§8]
- §7===================================
NoPermission: '&c&lYou dont have permission to do that!'
Buy: '&a&lSuccessfully bought &6%tickets% &aLottery Tickets!'
GlobalBuy: '&6&l%player% &abought &6%tickets% &aLottery Tickets!'
NoMoney: '&c&lYou dont have enough money to buy &6&l%tickets% &c&lTickets. You need
&6&l%money% &c&lMoney to buy &6&l%tickets% &c&lTickets.'
TicketLimit: '&c&lYou cant buy more Tickets!'
Cooldown: '&c&lYou are on cooldown! You can buy Tickets again in &6%time% &c&lSeconds'
Win: '&a&lCongratulations to &6&l%player% &a&lfor winning &6&l%money% &a&lMoney in
Lottery!'
NoWinnerText: '&cNobody'
NoPlayers: '&c&lThere were no Tickets sold.'
FewPlayers: '&c&lThere were not enough players for Lottery to draw!'
NotOnline: '&c&lThe Winner %player% is not online and could not win.'
LoginWinMessage: '&a&lCongratulations! You won &c&l%moneygot% (Without Taxes %moneynotax%)
&a&lin the Lottery you last participated!'
BlockedWorld: '&c&lThe Winner %player% is in a Blocked World and could not win.'
BackToPot: '&6&lNobody won! &c&l%newpot% &6&lwas added back to the pot!'
Reminder: '&a&lLottery will draw in &6&l%draw% &a&lMinutes! In Pot: &6&l%pot%'
ToggleOFFBuyMessage: '&cYou wont receive any Buy messages from other Players anymore!'
ToggleONBuyMessage: '&aYou will now again receive Buy messages from other Players!'
ToggleOFFReminderMessage: '&cYou wont receive any Reminder messages anymore!'
ToggleONReminderMessage: '&aYou will now again receive Reminder messages!'
TimeTillDrawFormat: '&c%h%&8H &c%m%&8M &c%s%&8S'
WaitingForDraw: '&cWaiting for current Draw..'
Status:
- ' &b&lLottery'
- ' '
- '&aYour Tickets: &c%ptickets%'
- ' '
- '&aGlobal Tickets: &c%gtickets%'
- ' '
- '&aIn Pot: &c%pot%'
- ' '
- '&aDraw in: &c%draw%'
- ' '
- '&aLast Winner: &c%winner%'
HelpPage:
Users:
- §7===================================
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery buy (Number)
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery status
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery gui
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery toggleremindmsg
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery togglebuymsg
- §8[§bLottery§8]
- §7===================================
Admins:
- §7===================================
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery draw
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery reload
- §8[§bLottery§8]
- §8[§bLottery§8] §e§l§o/Lottery addpot <Number>
- §8[§bLottery§8]
- §7===================================
Videos:
Video by ServerMiner (bit outdated):
Website: https://serverminer.com
Feel free to make one! If it's good, i will link it here

Test Servers:
- RisenCloud.com (Prison - Factions)
Terms:
- You are not allowed to decompile or modify the plugin in any way!
- You are not allowed to post or publish the plugin
- You are not allowed to distribute the plugin!
- You are not allowed to sell the plugin anywhere!
- If you do not understand something or have questions, please send me a PM (Private Message)
20000 getting big here..
Donators:
momoservertw: 5$
If you find bugs please report them in the Discussions forum! Please do not report bugs in the Review section!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Lottery is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 74,719 times (via Spigot). Download it and open it directly in the game.