Lottery 1.4.5

The Perfect solution for gambling with Money

  1. NickCloud
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    [​IMG]

    This 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:


    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)
    Please note that you can NOT (yet) use any placeholders in messages from my plugin! I will, probably, add that some times.

    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
    Reminder: true
    RemindIntervalSeconds: 600
    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%
     

    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===================================
     


    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!
    LeoJostPro, Jie_Jia, bithuc and 14 others like this.

Recent Updates

  1. Update for 1.18
  2. 1.17 Support
  3. PlaceholderAPI fix

Recent Reviews

  1. Prisoner396
    Prisoner396
    5/5,
    Version: 1.4.5
    Love it, I've used this plugin for years now. Unfortunately with upgrading to 1.18 it doesn't display how many minutes till drawing anymore, it only displays "lottery will draw in %time% Minutes!" Hoping there's a quick fix and the author will get to it, otherwise its an amazing plugin and 100% recommend to everyone looking to spice up their economy!
  2. victorlindox
    victorlindox
    5/5,
    Version: 1.4.5
    Niceeeeeeeeee plugin
    Thanks
    ...........................................................
  3. mrkkkk
    mrkkkk
    5/5,
    Version: 1.4.4
    very good plugin.I want to reprint this plugin to china's largest Minecraft forum mcbbs,www.mcbbs.net ,i hope you agree, file they will download this plugin to spigotmc ,i will provide the chinese tutoruak to them i will send you the reprint lingk when finished
  4. CCCCarsten
    CCCCarsten
    5/5,
    Version: 1.4.4
    A very fine plugin and easy to configurate. Many thanks to the developer..... :)
  5. Bluhcops
    Bluhcops
    5/5,
    Version: 1.4.4
    The gui is so clean and the config files are so simplified :) Definitely recommended.
  6. Maccy55
    Maccy55
    5/5,
    Version: 1.4.3
    After noticing it genuinely was just a sinple mistake on my end (Sorry about that!) decided I should re-review the plugin

    Everything works as it should from what I've seen, would recommend this if you're looking for a lottery plugin. My only suggestion is to possibly make it so the default perms for it are naturally enabled, save you from having to add permissions.
    1. NickCloud
      Author's Response
      Hello,

      thank you for re-reviewing, very nice of you.

      Your suggestion was actually already considered, but people are split with this decision.
  7. LewisRad
    LewisRad
    5/5,
    Version: 1.4.3
    Amazing plugin! How do I get in touch with someone who can help me setup a max amount of tickets a certain rank can buy? I have worked out how many tickets, but dont know how to set it up! Asides from that, fantastic plugin, great job!
    1. NickCloud
      Author's Response
      Thank you for the review.
      You have to give this permission: Lottery.TicketLimit.RANK
      Replace RANK with the string you set in the config.yml
  8. huuhait
    huuhait
    5/5,
    Version: 1.4.3
    Looks good, works fine. Just the winner announcer is not showing for users, whats the permission for that?
  9. MrBrumble
    MrBrumble
    3/5,
    Version: 1.4.3
    I'm trying to delete this from my server and even after deleting the .jar and the folder it keeps re-installing itself...
    1. NickCloud
      Author's Response
      There is NO way that my Plugin is causing this behaviour. I have NO AutoUpdater nor anything else that would cause such things. Please either re-review or remove the review as this is just ridiculous.
      Thanks
  10. lp0005c
    lp0005c
    5/5,
    Version: 1.4.3
    can l send this plugin to the China Minecraft Forum?
    www.mcbbs.net
    l will write the spigot link on mcbbs