- Native Minecraft Version:
- Legacy (< 1.13)
- Tested Minecraft Versions:
- This Plugin needs Vault and an Economy plugin to work
- The Plugin is highly configurable
- Vault: https://dev.bukkit.org/projects/vault
- /Lottery buy (Number)
- /Lottery status
- /Lottery help
- /Lottery admin
- /Lottery draw
- /Lottery addpot <Number>
- /Lottery reload
- /Lottery gui
- /Lottery togglebuymsg
- /Lottery toggleremindmsg
- 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
Code (Text):#Time till the Lottery will draw
#If enabled, you can set exact times per day for the draw
#The Interval in which the plugin will check for the time and if it should call a draw for it
#The times in the EUROPEAN 24Hour format!!!
#If enabled, a message will be send to every player on the Server if someone buys a ticket
#The Price a Ticket costs
#The amount of money that gets into the pot if a player buys a ticket
#The amount of money that always will be in the pot
#The Refund all players who bought tickets will get, if the Lottery fails to draw (Not enough Player.. not online ....)
#Attention: The Refund will be multiplied by the amount of tickets the player bought
#How much of the winprice (in percentage) should get taxed
#Example: 10% Taxes and a WinPrice of 100 - The Winner will get 90 Money, and 10 Money are taxes
#The Economy account where the taxes should get paid to
#The minimal number of players that have to play the Lottery, otherwise it will fail and refund will be given
#Cooldown between every buy action in seconds
#If enabled, the lottery may not pick a winner (depending on the chance configired below), but will readd the pot to the next round.
#If enabled, and the MinPlayers amount is not reached, the BackToPot feature will also be toggled (Only if above option is true)
#In this case it's not just a percentage, but a "out-of" string. So 1/200 means 1 out of 200, so 0,5%.
#Percentage of the pot that should be readded.
#If enabled every configured time a message will be send to every player online
#The Interval in seconds for the reminder to fire
#If enabled, the winner has to be online, otherwise it will fail and a refund will be given to all players who bought a ticket
#If enabled, a player who is offline and won, will get a message on next login that and how much he won (Taxes supported)
#How long to delay the above mentioned message. Set to 0 to disable
#If enabled and a Player just writes /Lottery in chat, the player will execute the command configured below
CommandOnLotteryCMD: lottery status
#If enabled, the plugin will check for a new version on startup
#Wether or not to send data to bStats
#Here you can set the TicketLimits. Default is for everyone who does not have a specific limit. Default can not be deleted! You can add other limits like Premium: 5 and so on. Players with the Permission Lottery.TicketLimit.<Limit> will then have the limit set here.
#The worlds where the winner wont get the win (Refund System will be used if the winner is in a blocked world)
#If true, the commands configured below will be executed for the winner
#If false, the commands wont be executed if the winner is offline
- xp 10l %player%
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
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..'
- ' &b&lLottery'
- ' '
- '&aYour Tickets: &c%ptickets%'
- ' '
- '&aGlobal Tickets: &c%gtickets%'
- ' '
- '&aIn Pot: &c%pot%'
- ' '
- '&aDraw in: &c%draw%'
- ' '
- '&aLast Winner: &c%winner%'
- §8[§bLottery§8] §e§l§o/Lottery buy (Number)
- §8[§bLottery§8] §e§l§o/Lottery status
- §8[§bLottery§8] §e§l§o/Lottery gui
- §8[§bLottery§8] §e§l§o/Lottery toggleremindmsg
- §8[§bLottery§8] §e§l§o/Lottery togglebuymsg
- §8[§bLottery§8] §e§l§o/Lottery draw
- §8[§bLottery§8] §e§l§o/Lottery reload
- §8[§bLottery§8] §e§l§o/Lottery addpot <Number>
Video by ServerMiner (bit outdated):
Feel free to make one! If it's good, i will link it here
- RisenCloud.com (Prison - Factions)
- 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)
10000..................... well. Okay..
If you find bugs please report them in the Discussions forum! Please do not report bugs in the Review section!
The Perfect solution for gambling with Money
- GlobalTickets GUI System added | Improvements Dec 22, 2018
- Rewritten Reminder | Config changes | GUI-Fixes | Performance changes Dec 21, 2018
- BIG UPDATE | READ BEFORE USE | GUI Reworked Dec 18, 2018