SLottery

Abandoned
SLottery, a lottery like no other.
<p>Yes, it improves the plugin to have something this awesome as the title-picture</p>

Yes, it improves the plugin to have something this awesome as the title-picture

Description

So, I wanted a lottery that is slightly more realistic. One that allows your players to sell the tickets and gain some small profit. The plugin is currently in alpha, only been tested on our server. Basically, my aim is to: Let the players to sell tickets to other players, providing a valid extra donator perk. Allow a system where you can autobuy tickets if you have enough money. (Setup a autobuy command with desired amount). Allow two different kinds of lotteries co-exist at the same time, namely a short term lottery, draws every few hours and someone always wins, and a longterm lottery with draws every few days, with a chance that nobody wins and the jackpot piles up.

Features:

  • Allows designing players as vendors with set amount tickets they can sell at a time
  • Allows the players to participate in the short term-lottery
  • Config options for duration, lottery prices, vendor cut
  • Broadcasts about the lottery every 15 minutes. Changeable in config.

Planned features

  • Allow players to buy longterm lottery tickets
  • Allow players to setup autobuy
  • Create a shorter buy command
  • Config options for long-term win-change
  • Allow the vendors to buy more tickets for them to sell from the server
  • Allow the config to be easily edited ingame

Permissions

  • Sanzennin.lottery.* || Allows the full use of slottery
  • Sanzennin.member.lottery || Allows to buy tickets, defaulted to true
  • Sanzennin.admin.lottery || Allows to set config ingame, designate players as vendors, more to come

Commands

For admins

  • /alottery start || Admin command, restart the lottery after being paused
  • /alottery addvendor vendorname ticketsperround || Creates a new vendor with desired amount of tickets that he can sell each round.
  • /alottery stop || stops the lottery
  • /alottery setinterval timeInSeconds || Sets the interval between broadcasts from Lottery. This interval is also the one between the checks for ending a draw, to save resources.
  • /alottery reload || Reload the config map for SLottery
  • /alottery debugHook || Makes sure you got the correct version of iConomy, and that it is working
  • /alottery colours || Prints a bunch of @ with different colours. Forgot to remove this command, debugged for a colorscheme.

For members

  • /lottery local buy vendor amount || Buy tickets for the short-term draw from a specified vendor
  • /lottery vendors || Lists the vendors with their remaining tickets.
  • /lottery own || Lists the amount of tickets you have currently
  • /lottery info || Lists information about the current pot and tickets sold for the lottery
  • /lottery || Shows help

Installation

Place the SLottery.jar in your plugins folder. Enjoy

Requirememts

At the moment, only works with iConomy 5, sorry about that. I will use vault or register to better the compability soon

The SLottery Team

profile avatar
  • 6
    Projects
  • 103.2K
    Downloads

More from _ForgeUser7596480View all

  • SWatchdog project image

    SWatchdog

    • 92.9K
    • Bukkit Plugins

    SWatchdog is ultralightweight blocklogger, similar to bigbrother. Also allows to rollback griefs in specified area

    • 92.9K
    • July 4, 2013
    • Bukkit Plugins
    • +3
  • STNT project image

    STNT

    • 2.5K
    • Bukkit Plugins

    TNT is for mining. Not griefing. This plugin makes sure its used correctly.

    • 2.5K
    • July 15, 2012
    • Bukkit Plugins
    • +1
  • SNoClip project image

    SNoClip

    • 5.0K
    • Bukkit Plugins

    The best (and only) noclip tool there is for Bukkit.

    • 5.0K
    • March 4, 2012
    • Bukkit Plugins
    • +2
  • XplosiveNO project image

    XplosiveNO

    • 901
    • Bukkit Plugins

    Sick and tired of people joining the server and asking to be opped? So am I.

    • 901
    • February 11, 2012
    • Bukkit Plugins
    • +2
  • SWatchdog project image

    SWatchdog

    • 92.9K
    • Bukkit Plugins

    SWatchdog is ultralightweight blocklogger, similar to bigbrother. Also allows to rollback griefs in specified area

    • 92.9K
    • July 4, 2013
    • Bukkit Plugins
    • +3
  • STNT project image

    STNT

    • 2.5K
    • Bukkit Plugins

    TNT is for mining. Not griefing. This plugin makes sure its used correctly.

    • 2.5K
    • July 15, 2012
    • Bukkit Plugins
    • +1
  • SNoClip project image

    SNoClip

    • 5.0K
    • Bukkit Plugins

    The best (and only) noclip tool there is for Bukkit.

    • 5.0K
    • March 4, 2012
    • Bukkit Plugins
    • +2
  • XplosiveNO project image

    XplosiveNO

    • 901
    • Bukkit Plugins

    Sick and tired of people joining the server and asking to be opped? So am I.

    • 901
    • February 11, 2012
    • Bukkit Plugins
    • +2