BBLottery is a lottery - nothing more, nothing less. It features multiple tickets for the lottery, some stats about the lottery, configuration of the intervall a ticketnumber is drawn, the initial pot, the ticketrange,price and tax and how many tickets may be bought.


intervall: The time between drawings in minutes
pot: The inital jackpot, every time someone wins, it gets reset to this amount
range: The ticket-range, the higher this number, the less likey it is that the lottery is won (each ticket has a chance of 1/range to win)
maxTickets: How many tickets a player may buy per round
ticketPrice: How much a ticket costs
tax: Tax on the tickets, so not the full price gets added to the jackpot

If you set the range to -1, the tickets will be given out in order, so first one to buy a ticket gets #1, second #2 and so on, and the winnig ticket will be taken from the bought tickets


  • /lottery - Shows the help
  • /lottery buy [ticketnumber] - buys a ticket with the given number, if no number is given, buys a random Ticket
  • /lottery give <player> [ticketnumber] - like /lottery buy, but buys ticket for another player (target has to be online)
  • /lottery info- current jackpot, tickets the player has bought and how much money a player would get if he won with a ticket
  • /lottery stats - shows some stats about the lottery

Some admin-comands:

  • /lottery reload - reloads the config
  • /lottery draw [-f]- forces the lottery to draw a ticketnumber and start the next round, if -f is set it also reloads the lottery.yml


  • - You can buy a ticket
  • - You can buy up to <maxTickets> tickets
  • - You can buy a ticket for someone else
  • bblottery.draw - You can force the next round
  • bblottery.reload - You can reload the config



  • Fix Resetting Tickets-bug
  • Draw at specific time
  • Suggestions!

Requires Vault and an economy-plugin

If you want to thank me, a little donation on Paypal is appreciated:


It does not work!!!11

If you encounter any problems with BBLottery give me as much info as you have, so that I can help you to the best I can. You got an error? go to the Server-Log and look for the error-message/stacktrace. Version of the plugin and Bukkit you are using would also be nice. Got no error-message? Then tell me what you were doing/typing. If I don't know what happend I can't fix it.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of MysticTraveller1 MysticTraveller1 Sep 19, 2016 at 20:15 UTC - 1 like

    Best lottery plugin there is.

  • Avatar of BrendonMajzik BrendonMajzik May 30, 2015 at 05:10 UTC - 0 likes

    I'm trying to install this plugin on my new 1.7.10 Spigot server, but whenever I add it using FTP access, no files are created and it's as if the plugin is completely ignored. In-game when players try to use /lottery buy, etc commands it simply gives them "/<command". Could you tell me why this is? Is the version outdated (1.2.2 for 1.7.2-RO.3), or is it something else? Is there another plugin required for this one to be used? The console says nothing when players use lottery commands, just the "/<command" message.

    Last edited May 30, 2015 by BrendonMajzik
  • Avatar of CompleXx95 CompleXx95 Apr 09, 2014 at 15:33 UTC - 0 likes

    Nice plugin but please fix the issue with player and logging out. -> player buy a number and is going offline after the cooldown: the offline player won but he dont get a reard because its a error in a console andplugin breaks to server restart or reload.

    very annoying.

  • Avatar of Atlas_Minecraft Atlas_Minecraft Jun 08, 2013 at 15:10 UTC - 0 likes

    From my experiences the lottery.yml doesn't reset if the winner of the lottery is offline at the time of the drawing.

  • Avatar of XhadiusLP XhadiusLP May 31, 2013 at 10:36 UTC - 0 likes

    I already use the newest Version. Problem is also if the lucky guy, who won that game isn't online. Also nobody can buy a ticket after this.

    And yes, this is all the console says. I also was kind of surprised.

  • Avatar of Xcelsior1991 Xcelsior1991 May 30, 2013 at 09:08 UTC - 0 likes

    @XhadiusLP: Go try version 1.2.1 of this plugin...and is that everything the sonsole says? Usually the stackrace is a bit longer...


  • Avatar of XhadiusLP XhadiusLP May 29, 2013 at 16:27 UTC - 0 likes

    Everytime I restart the server it come this message, when I enter a command from this Plugin:

    An internal error occurred while attempting to perform this command

    The console says me this:

    18:25:24 CONSOLE: [SEVERE] null
    18:25:24 CONSOLE: exception executing command 'lottery' in plugin BBLottery v1.2
    18:25:24 CONSOLE: java.lang.IndexOutOfBoundsException: Index: 88, Size: 88

    I'm using spigot-1.5.2-R0.2 #878

    Last edited May 29, 2013 by XhadiusLP
  • Avatar of Xcelsior1991 Xcelsior1991 May 26, 2013 at 01:49 UTC - 0 likes

    Well, I don't see any reason it should not work with 1.5.2 except the things mentioned by @Atlas_Minecraft: Go

  • Avatar of Marium0505 Marium0505 May 25, 2013 at 23:36 UTC - 0 likes
  • Avatar of The_Newbizzle The_Newbizzle May 21, 2013 at 22:28 UTC - 0 likes

    does this work with 1.5.2?

    Clash of Kingdoms: The war is approaching [Game of Thrones inspired][Unique Prison/War server][Custom Plugins]


Date created
Jan 28, 2013
Last update
Aug 09, 2016
Development stage
  • deDE
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Recent files