[FUN/MISC] syRaffle v1.1 - Materials based Lottery [953]

Discussion in 'Inactive/Unsupported Plugins' started by Sammy, Apr 19, 2011.

  1. Offline

    Sammy

    SyRaffle - [grass] [sand] [gravel]'One man's trash is another one's treasure' [grass] [sand] [gravel]
    Version: v1.1.1
    Download : (v1.0)( v1.1 ) V1.1.1


    Do you like this plugin ? buy me a beer !!​
    [torch] [​IMG] [torch]
    Wait a second man what's a F is raffle ?
    in wiki:
    A raffle is a competition in which people obtain numbered tickets, each ticket having the chance of winning a prize. At a set time, the winners are drawn from a container holding a copy of every number. The drawn tickets are checked against a collection of prizes with numbers attached to them, and the holder of the ticket wins the prize.
    Originating in southern Italy, the raffle is a popular game in numerous countries and is often held to raise funds for a specific charity or event.

    Information about the author (open)
    Well if you are a Plugin Developer you may know me from the plugin development forum, I've been doing private plugins for my server, but now I'm finally releasing one to the wild.. I hope you like it


    This is a rather simple plugin, a player can make a lottery with materials has prizes and ticket costs.

    So many times we have the inventory full of sand and dirt, to us it's garbage... but on the other side of the world there's a player frustrated with a shovel !


    Features:
    • Materials base lottery
    • Has Permissions
    Download The syRaffle

    Source Code

    Commands:
    Some commands are already defined but feel free to give me ideas or warnings
    Code:
      raffle:
        aliases: [ra,raffles]
        description: Main Raffle Command
        usage: |
            /<command> -p [id] [qnt] - Choose raffle prize.
            /<command> -c [id] [qnt] - Choose raffle cost.
            /<command> -t [qnt][time] - Raffle time and ticket quantity.
            /<command> -s - Starts the raffle after configuration.
            /<command> -h - Shows this menu.
      buyraffle:
        aliases: [braffle,rafflebuy]
        description: Raffle buy Command
        usage: |
            /<command> [qnt] - Buy raffle tickets.
            /<command> -i - Information about raffle.
            /<command> -h - Shows this menu.   
    Permissions:
    Code:
    raffle.make
    raffle.buy
    Still To do:
    • Fix buying system
    • Scheduling events
    • Inventory give and take
    • Implementing permissions
    • Cleaning up the code
    • Testing for bugs
    • Wait online to give prize ready for 1.2
    • Wait online to give costs to the rafflemaker ready for 1.2
    • Implementing iconomy ready for 1.2
    • Continue raffle after reboot
    • BUG: Raffle maker doesn't receive tickets payment
    • BUG: Inventory check error
    Changelog:
    Version 1.1.1 (I'm full of work so v1.2 will have to wait)
    • Solved:
      • BUG: Raffle maker doesn't receive tickets payment
      • BUG: Inventory check error
    • Tested on 740
    Version 1.1
    • Solved permissions error
    • Continue raffle after reboot
    • Fixed a lot of bugs and small errors
    • Added info msg and broadcasts
    Version 1.0

    • Released to the wild
    Version 0.5

    • Unreleased
     
    kahlilnc and ne0nx3r0 like this.
  2. Offline

    Plague

  3. Offline

    Sammy

    Well I've seen posts on releases with different colors and sizes that I thought here wasn't a problem...
    I'll change it sorry
     
  4. Offline

    TheRealKANi

    Hey sammy.. why not implement iconomy so that you can use "coins" to buy tickets..?
     
  5. Offline

    Sammy

    Just an heads-up, SyRaffle V1.2 will be released this week
    I'm feeling lack of interest so I'll wait until MC1.6 or 1.7 :p
     
  6. Offline

    DutchDemon

    Why are there so many economy mods that require iConomy? If i look in the iConomy thread there are many comments saying that it doesn't work properly with build 818. Can someone please explain that to me?
     
  7. Offline

    riuthamus

    I would suggest using Register as your base this way it works with all econ plugins.
     
  8. Offline

    Sammy

    I'm not motivated to update this plugin, and I hate economy systems sorry... I really think that bukkit needs an integrated economy API.

    Further more, there are already lottery plugins with economy implementation, the idea was a lottery system only for junk materials.
     
  9. Offline

    riuthamus

    Meh, just giving you an idea. Register is an API for economy that aims to provide just hat. As for bukkit having a centralized econ api... who knows man who knows!
     
  10. Offline

    Sammy

    I know register, it's not really the same think, register unifies the methods used in each economy plugin API, and provides is own "API of all the other API's" ^^
    I will give my example:
    I had 5 private plugins using iconomy, when v3 was released with the bank function, all my plugins broke so much that I stop updating when =/

    I call that bad planing, a plugin API shouldn't change that much after release, its annoying
     
  11. Offline

    riuthamus

    True, very true...
     
    Sammy likes this.
  12. Offline

    oomme

    "incorrect syntax." I get this message when i try /raffle commands. Redownload doesn't help.
     
  13. Offline

    Sammy

    Have you tried for example /ra -p 3 64 ?
     
  14. Offline

    Zareh

    Would you be able to give me an example of this format?
    /<command> -t [qnt][time] - Raffle time and ticket quantity.
    I am wondering about the time. Not sure if it is 24 hour or 12 am/pm
     

Share This Page