- Native Minecraft Version:
- Legacy (< 1.13)
- Tested Minecraft Versions:
- 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
- /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
Please note that you can NOT (yet) use any placeholders in messages from my plugin! I will, probably, add that some times.
- %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)
Code (Text):DrawTime: 60
CommandOnLotteryCMD: lottery status
- xp 10l %player%
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
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