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 sir_brando sir_brando Apr 14, 2014 at 02:47 UTC - 0 likes

    @Cooljack19: Go

    I have tested this. It is random. The first person to buy max does not always win.

  • Avatar of ProMiner909 ProMiner909 Mar 15, 2014 at 01:28 UTC - 0 likes

    why does my lottery say there was no winner all rollover i bought 10 tickets i should win

  • Avatar of Cooljack19 Cooljack19 Mar 11, 2014 at 16:30 UTC - 0 likes

    The first person to buy the max amount of tickets wins every time… lol

  • Avatar of Max633 Max633 Feb 28, 2014 at 14:18 UTC - 0 likes

    It is possible to have never win? And report the jackpot to the next part?

    Server french
    http://art-of-survival.fr/images/topsite.png

  • Avatar of Max633 Max633 Feb 28, 2014 at 13:02 UTC - 0 likes

    It is possible to add a mysql connection? To represent the winners on a WebSite?

    Thanks

  • Avatar of gogogadgetrocking gogogadgetrocking Feb 14, 2014 at 22:16 UTC - 1 like

    plugin conflicts with Uskyblocks

    please fix this if possible

  • Avatar of maxlehot1234 maxlehot1234 Feb 09, 2014 at 04:35 UTC - 0 likes

    @essentialsteam: Go

    Ok thank you :(

  • Avatar of essentialsteam essentialsteam Feb 08, 2014 at 00:10 UTC - 0 likes

    @maxlehot1234: Go

    No, it isn't.

  • Avatar of maxlehot1234 maxlehot1234 Feb 07, 2014 at 22:44 UTC - 0 likes

    Is it possible to set different tickets limit per group ?

  • Avatar of BlueGriffon33 BlueGriffon33 Jan 27, 2014 at 20:36 UTC - 0 likes

    @biggnft: Go

    The first line of the config says "Use iConomy: false". Change that to true, for any economy plugin it has listed.

Facts

Date created
Aug 25, 2011
Categories
Last update
Jun 10, 2013
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
Lottery
Downloads
95,299
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