[INACTIVE][ADMN] redeemCodes v0.3 - give items to your players [798]

Discussion in 'Inactive/Unsupported Plugins' started by lolcoder, May 8, 2011.

  1. Offline

    lolcoder

    redeemCodes - give items to your players:
    Version: v0.3 This plugins allows Ops to create codes that allow your players to take items.

    Usage:
    /code nameOfTheCode idOfItems numberOfItems numberOfTimeTheCodeCanBeUsed

    Examples:
    /code name 1 2 1
    Will create the reedem code name with 2 blocks of 1, usable 1 time.
    /redeem name
    Will give to the player who sended it 2 blocks of stone.
    /once
    Will toggle the "once" option: a player can/cannot redeem more than once a code.
    Attention: on server restart/reload the list will be cleared.
    Features:
    • Make redeem codes
    • Make redeem codes redeemable one time
    Download the Plugin

    Video:



    Changelog:
    Version 0.3
    • Saving system changed in flatfile (it recognize the old format and it saves in the new)
    • Fixed the infinite redeems bug
    Version 0.2
    • Added message on successful redeem
    • Added saving and loading redeem codes
    Version 0.1
    • Releasing plugin
     
  2. Offline

    Plague

  3. Offline

    lolcoder

    Edited this and the other thread.
     
  4. Offline

    EwMeep

    Very nice and useful plugin!
     
  5. Offline

    powback

    Very nice!
    But could you make it possible to change the location of where the .txt saves?
     
  6. Offline

    lolcoder

    For now there is no .txt, the codes are saved in memory.
     
  7. Offline

    EwMeep

    Doesn't exactly "work" o.o
    every /code says "useage : code name number id" whatever you do
    and /redeem isnt a recognized command
     
  8. Offline

    lolcoder

    Oops. Fixed.
     
  9. Offline

    jamescosten

    Funnily enough i asked for this today in the forums :) Love it will install when i get home .
     
  10. Offline

    lolcoder

    @jamecosten: that's why I developed it :D
     
  11. Offline

    Rowtag

    Is it possible to allow maybe 50 times to use but only 1 time per guy?
     
  12. Offline

    lolcoder

    No, sorry. I don't know if I will add this feature, the command is already complex ._.
     
  13. Offline

    Luwiego

    Doesnt work. Tried even an example, it says theres something wrong.
     
  14. Offline

    lolcoder

    Can you post your command? It works on my server.
    It says there is something wrong where you are not op or you are not giving all parameters.
     
  15. Offline

    woodzy

    ill test this today can give you a proper report man

    Report; everything is working just fine if you type in JUST /code
    you'll get the something is wrong message this is becouse SOMEONE didnt read the OP you have to do what the op says fo rit to work right, NICE PLUGIN good work man. i did also notice that it doesnt work in consol and i may sugeest that when a player type /redeem it gives them a list if codes.
     
  16. Offline

    tha d0ctor

    iconomy support?
     
  17. Offline

    woodzy

    you need to type out the hold /code codename itemID codeusage
    example /code grassblocks 10 5
     
  18. Offline

    lolcoder

    @ the D0ctor: not for now, sorry. It will add it later, maybe.
     
  19. Offline

    Applebule5

    Put : Instead of :
    /code nameOfTheCode idOfItems numberOfItems numberOfTimeTheCodeCanBeUsed
    Have
    /code <nameOfTheCode> <idOfItems> <numberOfItems> <numberOfTimeTheCodeCanBeUsed>
     
  20. Offline

    Shooty

    Can you add the redeems code works same after a /reload / reboot ? and a message if the redeem code works :) thanks
     
  21. Offline

    lolcoder

    @Applebule5: done and fixed a bug.
    @Shooty: I'm working on this.
     
  22. Offline

    jamescosten

    Ok i have just tested this, it works. Only thing i do have to moan about is when i redeemed the code no message came up, goods went into inventory just didnt know they did. Perhaps adding a message of redemption thank you.
     
  23. Offline

    lolcoder

    Version 0.2
    • Added message on successful redeem
    • Added saving and loading redeem codes
     
    jamescosten likes this.
  24. Offline

    EwMeep

    Please add in multiple uses
     
  25. Offline

    jamescosten

    He has, read the text at the top. Just change the usage to more than one.....

    That was quick, cheers mate good job.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  26. Offline

    EwMeep

    It says "There is something wrong"
     
  27. Offline

    jamescosten

    what command you put in, put it below
     
  28. Offline

    lolcoder

    Sorry, I'll be out for the next three days, so keep suggesting, I'll add everything later.
    Edit: trip canceled, i'll be here ._.
     
  29. Offline

    EwMeep

    wtf man, reality > internet.
    Go enjoy yourself
     
  30. Offline

    Malchus

    It says it works, says my blocks are redeemed, code is created successfully. But whenever I type /redeem (name of code) It says that I redeemed 6 blocks but the blocks never appear in my inventory or anywhere close to me.
     

Share This Page