[REQ] MySQL - Based Coupon Codes

Discussion in 'Archived: Plugin Requests' started by Pirate43, Feb 1, 2012.

  1. Offline

    Pirate43

    I know there are plugins out there than handle coupon code generation, but I haven't been able to find one that has the following features.

    - Code generation via mysql
    - Code generation such that every player in the server can use it once.

    I want to be able to develop a PHP script that will be able to create codes that users can use in-game as soon as the script tells them the script is created, but there isn't a way to do that with current plugins.

    Would someone be willing to take this on? I can't image it being too difficult especially if basing it on something preexisting like BlizzCodes or something of the sort.

    Thanks!
     
  2. Offline

    dredge20

    This sounds right up my ally but I need a bit more detail.
    What would this be used for?
    What rules should apply to the geneated cupon codes?
    (alpha-numeric, no repeated cupon codes, no repeating digits etc...)
     
  3. Offline

    Pirate43

    If the codes could be alphanumeric, it would be great. They would also need to have at least 4 groups of 5 characters so that they are both easy to type in, and hard to guess.

    This is to be used for events that happen in my server, but outside of the game (i.e. forums) and also for a more streamlined donation experience I am developing.

    I need to be able to create two types of codes. Codes that are redeemable once and by one player, and one code that is redeemable by all players once. I also need rewards types to be either items or permissions, with limited-time permission support, all set via mysql so I can tell the user how much longer their redeemed code is in effect, and the like.

    I do appreciate you taking the time to look into this for me. :)
     
  4. Offline

    dredge20

    Alright the first thing ill do is create the database structor then the php I guess api for you then the plugin, Iyou want a more urgent responce email me (sent you a pm)
     
  5. Offline

    Pirate43

    Thanks very much :D
     

Share This Page