Inactive [ADMN] CouponCodes v2.0.5 - Add redeemable codes for items, money, and groups [1.0.1R1]

Discussion in 'Inactive/Unsupported Plugins' started by LaLa, Jul 6, 2011.

  1. Offline

    LaLa

    Support will only be on BukkitDev.​
    OldPost

    Coupon Codes by LaLa
    Version 1.5.3
    Requires: Bukkit's default permissions plugin (1.5.1+) or Permissions 3.x (1.5-)
    Downloads: 955 (updated daily)

    Coupon codes lets you create redeemable codes that can give players items, such as diamond or a pickaxe. You can also renew codes, so you don't have to enter them multiple times! iConomy has also been added, so your coupons can now give people money through iConomy!

    Features:
    • Add redeemable codes that can give items
    • Customize what the codes give the redeemer
    • Permissions!
    • iConomy support!
    • Lots of customizing!
    Download Version 1.5.3 | Dev. Builds | Older Versions
    Source on GitHub

    Config Example

    Code:
    #Learn more about how this config can be edited and changed to your preference on the forum page.
    author: LaLa
    config:
        iconomy:
            enabled: true
            couponcost:
                enabled: false
                price: 10
            has: true
        coupons:
            onetimeuseperplayer: true
        debug: false
    
    The only this you cannot edit is the value 'has'. This tells me, or the plugin, if you have iConomy or not. Changing it manually might cause...interesting things to happen.

    Obviously, if the default value is 'true' you can change it between that and 'false' but not 'yes' and 'no' or '1' or some other number without getting lots of errors.


    Commands
    • /coupon or /c can be used
    • /c redeem [coupon-code]
    • /c add [coupon-code] [id] [amount] [number of times can be used] - Leave blank for 1
    • /c add ic [coupon-code] [money] [#canbeuse] - New, used for creating an iConomy code
    • /c remove [coupon-code]
    • /c removeall
    • /c renew [coupon-code] [new # of times can be used] - Leave blank for default of 1
    • /c reload - Reload config
    Permissions
    • coupon.help - See the command list
    • coupon.redeem - Redeem an item (/c redeem)
    • coupon.add - Add a coupon code (/c add)
    • coupon.remove - Remove a code (/c remove)
    • coupon.remove.all - Remove all codes (/c removeall)
    • coupon.renew - Renew a coupon code (/c renew)
    • coupon.reload - Ability to reload config (/c reload)
    • coupon.* - Get all the coupon permissions
    Permissions in YML form

    Code:
    permissions:
        coupon.*:
            description: Gives access to all coupon commands
            children:
                coupon.add: true
                coupon.redeem: true
                coupon.remove: true
                coupon.remove.all: true
                coupon.renew: true
                coupon.reload: true
                coupon.help: true
        coupon.remove.*:
            description: Gives you permission to remove and remove all coupons
            children:
                coupon.remove: true
                coupon.remove.all: true
        coupon.add:
            description: Allows you to add a coupon
            default: false
        coupon.redeem:
            description: Allows you to redeem a coupon
            default: false
        coupon.help:
            description: Allows you to redeem a coupon
            default: true
        coupon.remove:
            description: Allows you to remove a coupon
            default: false
        coupon.remove.all:
            description: Allows you to remove all coupons
            default: false
        coupon.reload:
            description: Allows you to reload CouponCode's configuration files
            default: false
        coupon.renew:
            description: Allows you to renew a coupon
            default: false
    


    Planned Features
    • MySQL Support - ?
    • Multiple items from one coupon - planned for 1.5.4
    • Random coupon generator - planned for 1.5.4
    • Even more customizing - planned for 1.4 - DONE
    • Set how many times a coupon can be used - planned for 1.4
    • Make creating coupons cost iConomy money (optional) - planned for 1.3
    Bugs
    • Removing all coupons just displays the syntax
    • No confirmation when removing a single coupon
    Reveiws


    [​IMG]

    Changelog
    Version 1.5.3 - August 20 2011
    Version 1.5.2 - July 25 2011
    • Fixed remove all not working (configured to coupon.removeall by accident)
    • Added confirmation for removing a coupon
    Version 1.5.1 - July 17 2011
    • CouponCodes now supports the official permissions plugin (and only that! sorry permissions 3.x users! :confused: )
    Version 1.5 - July 17 2011
    • Similar to my other plugin WordRank, you can now give coupon specific permissions
    • Plugin epically re-done
    • Reloading the config works properly
    • Potential bugs in previous builds are no more
    • Customizing dropped, felt if it wasn't 100% complete might as well not have it
    • Source is open, and there are now comments explaining the different aspects of the code
    Version 1.4 - Friday July 8 2011
    • Customize almost every message
    • Set how many times a coupon can be used
    • Set if a player can only use a coupon once
    • Fixed where sometimes a coupon would not generate
    Older Versions
    Version 1.3 - Thursday July 7 2011
    • You can now charge people to make coupons
    • Color codes are now universal between coupons and various means of making them
    • More customizing (even more next update)
    • Added /c reload
    • Lots of little bug fixes
    Version 1.2 - Thursday July 7 2011
    • Added iConomy support
    • Fixed a handful of bugs with creatings/redeeming codes
    • Config added. Enable iConomy in there
    Version 1.1 - Wednesday July 6 2011
    • Fixed where if your inventory is full you will not get your item
    • Fixed where if you renewed a coupon that didn't exist it would not generate properly
    Version 1.0 - Wednesday July 6 2011
    • Initial release


    If you like my plugin, please like this post and/or like it on this plugin website
     
    lastern, odielag, gameswereus and 3 others like this.
  2. Offline

    Gabriel Gortan

    hi , i dont know about the current development of this plugins but i used and i really enjoy, and i appreciate Multiple items from one coupon - planned for 1.5.4 and really appreciate the feature ,
     
  3. Offline

    Raycrash

    So how is it going ?
    Quite some time no update ;(
     
  4. Offline

    rcth

    Hi,

    I'm using this version at my 1.8.1 bukkit server and it's working, so it doesn't require an update?
     
  5. Offline

    Raycrash

    It doesn't work with iconomy (6) ;)
     
  6. Offline

    rcth

    Ah ok.
     
  7. Offline

    CKSpoiler

    It would be cool if you could make it so when they entered the code it would promote them automatically.
     
  8. Offline

    AussieBacom

    If you can update this plugin that would be appreciated.
     
  9. Offline

    BlizzTeam

    I will have a go at updating it. If I am successful, it will be called BlizzCode.
     
  10. Offline

    LaLa

  11. Offline

    Sparmerlin

    Awesome!!!
     
  12. Offline

    BlizzTeam

    ah I see, but I may make my own version anyway as a little project for myself to work on and include different features to your version. I would not include SQL.
     
  13. Offline

    LaLa

    Well, i advise you to write it from scratch because the old code is terrible, which is what I ended up doing after I finished wordrank.
     
  14. Offline

    BlizzTeam

  15. Offline

    LaLa

    Practical copies of plugins happen a lot, just search up all the motd plugins. I see your version as just a continuation of 1.5.3 and not so much as 2.0 which I am fine with. And by the way, be prepared to get a lot of questions about MySQL ;). It seems some server owners can't live without it. If there was something you still want to change, I suggest going through this thread to see some of the requests users wanted but I never got around to.
     
  16. Offline

    LaLa

  17. Offline

    alexlv4

    Hi I love your plugin.
    Just one question.
    How to create a code with items with this id?
    373:16450
    Thanks in advance
     
  18. Offline

    LaLa

    You can't currently do that, damage values aren't implemented yet
     
  19. Offline

    alexlv4

    Ok.
    I wait for the future releases

    Thanks for your plugin and your work!!!
     
  20. Offline

    cooly1414

    update pls
     
  21. Offline

    LaLa

    It still works perfectly fine...
     
  22. Offline

    cooly1414

    for 1.2.4?

    i need for craft bukkit 1.2.4.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  23. Offline

    Giuseppe

    is it possible to implement a small website whereyou can see everything adminitrieren
    and has an overview
     

Share This Page