[MOD] Lottery

Discussion in 'The Hangar Bay' started by joemorin73, Apr 27, 2017.

  1. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    610
    Likes Received:
    469
    Add a lottery game to your server! Let your players enjoy a little bit of gambling.

    https://1drv.ms/u/s!AqvXBFJCQ8T0jY5R3dyHzbaQOvqd_A

    Notes:
    • Experimental only.
    • Ticket prices and draw limits can be configured in the yaml config file.
    • LT:? will provide commands and assistance.
    • !MODS will display the mod.
     
    #1
    Exacute likes this.
  2. VUVossi

    VUVossi Lieutenant

    Joined:
    Jan 9, 2017
    Messages:
    73
    Likes Received:
    9
    Hi,
    do you have some more detail information on how it works ?
    thx
    Vossi
     
    #2
  3. VUVossi

    VUVossi Lieutenant

    Joined:
    Jan 9, 2017
    Messages:
    73
    Likes Received:
    9
    Hi,
    i buy 10 tickeds for 100 each and win 1000 ?
    can you please share some more informations on how it works
    thx
    Vossi
     
    #3
  4. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    610
    Likes Received:
    469
    The idea is that you don't buy all the tickets. If 10 players buy 1 ticket for 100, one player will win and get 1000. The values can be changed in the configuration file.
     
    #4
  5. piddlefoot

    piddlefoot Rear Admiral

    Joined:
    Mar 4, 2015
    Messages:
    3,552
    Likes Received:
    2,462
    Love your work bro, whats your next Mod ?

    Your mini-games are a great idea for the game and the devs have noticed them also, maybe some of em will end up in the game sooner or later, be nice I recon , anyway keep up the good work dude.
     
    #5
  6. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    610
    Likes Received:
    469
    I have another one in the works, but it's taking a little while. Hopefully will have more time to finish them soon.
     
    #6
    Taelyn likes this.
  7. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    610
    Likes Received:
    469
    After reading this, I actually pondered this for a while. As much as I'd enjoy seeing some a part of Empyrion, I think this might not be a good move.

    The server mods I and others have written are adding to the pool of Empyrion's custom options. Adding them to the game could add value to Empyrion in the short term, but could take away from the modding community in the long term.

    For example, the lottery mod functions on a set number of tickets sold at a fixed price. This was based on my version of how a lottery mod can work. My vision is not the only way a lottery mod could work. Prices could be varied. The draw could be triggered on a fixed time or prize size. These are all possibilities that could be realized and written by other modders.

    If Empyrion absorbs some of the mods into itself, this would close off some of this creative diversity. As such, this might decrease the creation of creative mods.

    I personally would rather see Empyrion add more APIs. Support the modding community by adding more abilities. Example, allow the APIs to modify LCDs on structures. Lottery Mod and Bounty Mod would become interesting if you can see the listing on a trade station screen.

    Let Eleon work on the game. Let the modders work on the extras. ;)
     
    #7
    Exacute likes this.

Share This Page