Lottery

Lottery

News

  • Appears to still work on 1.4.6 & 1.5.2 & 1.6.4 & 1.7.1 no reported bugs.

Shortcuts

FAQ

Q: How do I set the amount of money the jackpot should start with?

A: You need to set extraInPot to whatever amount you want it to start with, and then do clearExtraInPot: false

Q: The jackpot is winning too much, I don't want it to win.

A: Then you need to change the numberOfTickets to something else, or just set it to 0 (jackpot will never win then).

Features

  • Users can buy one or more tickets and have the chance to win money in the pot (total tickets bought * price * net payout variable / 100 )
  • Configurable price, material (including money/coins), hours between lottery drawings and other configurations.
  • Supports iConomy v4, iConomy v5, iConomy v6, BOSEconomy v6, BOSEconomy v7, Essentials Eco, MultiCurrency and Vault.
  • Permission nodes using superPerms
  • Custom welcome message

Permissions

These are the superPerm nodes you can use to tweak the default permissions.

  • lottery.buy : Gives you all the basic rights /lottery (buy, help, winners).
    • Given to all players by default, so you need to remove from the users/groups you don't want to have.
  • lottery.admin.draw : Gives the group/user access to the /lottery draw command.
    • Given to OP's by default.
  • lottery.admin.addtopot : Gives the group/user access to the /lottery addtopot command
    • Given to OP's by default.
  • lottery.admin.editconfig : Grant access to edit/reload the lottery config ingame
    • Given to OP's by default.

Commands

  • /lottery : Basic information
  • /lottery buy <number> : Buy one or <number> of tickets.
  • /lottery help : Help pages
  • /lottery winners : List over 10 last winners
  • /lottery draw : Force the drawing to happen. Op only if not permission plugin.
  • /lottery addtopot : Adds extra money/items to the pot. Op only if not permission plugin.
  • /lottery config <cost/hours/max/maxTicketsEachUser/reload> : Change/reload the config ingame.

Configuration

In the configuration that is made when the plugin is run the first time, you don't get comments about the different options. Here you do!

Click here to check out the explanation to the configuration :)

Tutorial

PS: The /lottery claim command is used when you are using material and you win, since blocks/items can only be given to online players

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

  • Avatar of EncryptedPixel EncryptedPixel Jul 18, 2015 at 20:05 UTC - 0 likes

    Doesn't quite work with 1.8.7 it prints this error:

    Task #796 for Lottery v0.9.4 generated an exception

  • Avatar of matt80000 matt80000 Jul 16, 2015 at 16:04 UTC - 0 likes

    Works Perfect On My 1.8.7 Spigot Server.

  • Avatar of jh34ghu43gu jh34ghu43gu Jun 05, 2015 at 20:30 UTC - 1 like

    What does the jackpot option do in the config? Someone should update the config page and video :/

  • Avatar of frizzbee30 frizzbee30 May 30, 2015 at 08:15 UTC - 0 likes

    would love to see some updates on this, it's a great plugin :)

    KB Craft multiworld server
    Website http://kbcraftgaming.enjin.com/home
    Members blog site and file share
    http://kbcraftgaming.com
    Server mc2.fadehost.com:25655 New players are always given a warm welcome!

  • Avatar of TheHunter1108 TheHunter1108 May 23, 2015 at 17:55 UTC - 0 likes

    How do you change the amount of time to minutes? PLZ HELP!!!

  • Avatar of mike9918 mike9918 Mar 21, 2015 at 17:13 UTC - 0 likes

    @mike9918: Go

    • UPDATE* If anyone else had this problem I just redownloaded it and updated to the latest build of Spigot/Craftbukkit and it worked!! :)
  • Avatar of mike9918 mike9918 Mar 21, 2015 at 17:05 UTC - 0 likes

    So I'm not sure what's going on. I can't get the lottery plugin to load I attached a screenshot of what is in the console... Console Screenshot

  • Avatar of baemboo baemboo Dec 31, 2014 at 14:09 UTC - 0 likes

    would be nice if it would be possible to execute "/lottery draw" automatically if all tickets are sold

  • Avatar of Whyhitme Whyhitme Nov 22, 2014 at 02:02 UTC - 0 likes

    most simply lottery plugin :) and probably the best tbh.. Using this on my server :)

  • Avatar of xxfire17xx xxfire17xx Sep 28, 2014 at 22:16 UTC - 0 likes

    How do i set it so players win more often nobodys ever won

Facts

Date created
Aug 25, 2011
Categories
Last update
Jun 10, 2013
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
Lottery
Downloads
113,696
Recent files
  • R: v0.9.4 for 1.7.2 Jun 10, 2013
  • R: v0.9.3 for CB 1.5.2-R0.1 Jan 30, 2013
  • R: v0.9.2 for CB 1.4.5-R1.0 Dec 20, 2012
  • R: v0.9.1 for CB 1.4.5-R0.2 Dec 02, 2012
  • R: v0.8.1 for 1.4.2 Mar 09, 2012

Authors