[INACTIVE]RedeemCodes V2.8.3 Iconomy Support![766][support CButD]

Discussion in 'Inactive/Unsupported Plugins' started by jordanske, Jan 19, 2011.

  1. Offline

    jordanske

    ICONOMY SUPPORT RELEASED!
    text in green is only for iconomy support
    for people that have the problem redeem.codes dont exist there is no such file etc. download the redeemcodes folder.zip en unpack it in the plugins folder.
    and follow my twitter to check for new versions and pluggins!

    Introduction:
    With RedeemCodes ops can make codes, that normal people can use with /redeem.
    if the code is correct the player gets items or teleport to somewhere, the items are chosen by the ops when the create the code.
    this is a good way for quizes etc..

    Installing:
    put the RedeemCodes.jar and RedeemCodes folder in the plugin folder.
    needed:
    Iconomy 4.3 - only for iconomy support
    permissions

    How to use:
    How To Use (open)

    Permissions plugin needed or /code and /codep would be available for everyone
    permissions:
    -RedeemCodes.Code
    -RedeemCodes.Codep
    -RedeemCodes.RCode
    -RedeemCodes.list

    there are 2 command for making the code! /code and /codep
    with /code u make normal code with /codep u assign a code to a player, so only that player can use that code!
    /code [ code] [type] [times of use] [type stuff]
    /codep [ code] [player] [type] [times of use] [type stuff]
    type's:
    Items and tp(teleport)
    with items u give items
    with tp u let people teleport to somewhere
    with ic u gave iconomy money
    how to use:
    type: is what kind of type.

    items: [Itemid1][Amount1][Itemid2][Amount2] Max 5!
    tp: [x][y][z] or [pos] or [playername]
    if u use pos then it use the xyz from where u standing!
    if u use player, then type in the playername and the code teleports you to the player if player is online!
    ic: [amount]
    Times of use:how much the code can be used before its gone!
    0 for unlimited!
    type stuff!

    items: [Itemid1][Amount1][Itemid2][Amount2] Max 5!
    tp: [x][y][z] or [pos] or [playername]
    if u use pos then it use the xyz from where u standing!
    if u use player, then type in the playername and the code teleports you to the player if player is online!
    ic: [amount]

    /rcode [ code] //for remove a code
    /redeem [ code] //to redeem a code
    /lcode for a list of codes
    /redeeminfo

    Review:
    need new updated video!

    Download:
    http://dl.dropbox.com/u/22157250/RedeemCodes.zip

    Changelog:
    ChangeLog (open)

    V2.8.2 - fixed alot. [thanks to NeonMaster for a little help]
    V2.8.1 - fixed commands.
    V2.8 - updated to CB-493 and iconomy 4.3
    V2.7 - fixed some stuff and add /redeeminfo
    V2.6 - fixed /lcode
    V2.5 - change /listcode to /lcode
    V2.4 - added /listcode command
    V2.3 - fixed some bugs
    Vi2.2 - added iconomy support
    V2.2 - Fixed some bugs!
    V2.1 - Fixed some bugs!
    V2.0 - rewrited the code and added much features.
    V1.2 - Code is now 1 time only for each player!
    V1.1 - Tekst is in Color!
    V1.0 - RedeemCodes Release!

    Found bugs or u have suggestions!
    reply:D
    and i need some feedback:p
    Follow Me On Twitter:
    http://twitter.com/jordanske
    and here is my public todo list
    its 85% about my plugins and server, 15% my personal life and answered qeustions!
     

    Attached Files:

    NEO and M1sT3rM4n like this.
  2. Offline

    M1sT3rM4n

    High five! I was waiting for this one to come out :)
     
  3. Offline

    jordanske

    sry that is takes that long im just a beginner java programmer and was figuring out how bukkit works :D.
    Next my SignEdit.
     
  4. Offline

    M1sT3rM4n

    It's not like Bukkit's completed anyways, so you have a bit of time :)
     
  5. Offline

    godslam

    Oh, very nice plugin. I am wondering if you could make it so codes could be upgrades.

    /code <code> <type> <uses> <item #/group/command> [item amount]


    Type could be:
    item
    promotion
    command

    Commands won't currently work, but I'd like to be able to use this to upgrade my users when they give donations. That way I can send them they code through their PayPal email and not have to worry about checking and double-checking. I'm also wondering if these codes could be connected to a person through flatfiles and then re-used at a later date for the person that it is connected to.

    Example:

    Jon donates and becomes a VIP.
    I redo the server and he loses his status, but still has his code.
    He uses the code again and becomes VIP again.
    Only Jon can use the code again and no one else. (unless it originally had multiple uses and was tied to other users)

    Sorry if this is a bit much. Just thoughts on how to make the plugin more friendly to server owners. Thanks. =)
     
  6. Offline

    barghest

    It sounds like the codes work one time per person? Is it possible to make the codes work one time only ever? It'd be awesome to be an admin, spelunk way down into a cave, toss a sign up with a "Hey! You found a secret code!" kinda thing, and the adventurous player gets 3 diamonds or something, but then everyone else is too late. :D
     
  7. Offline

    jordanske

    nice idea,
    but i make it that u can assign codes to a player so only him can use it!
    like:
    ex1: /code <code> Item <uses> <item> <amount> [player]
    ex2: /code <code> Group <group> [player]
    with ex1 its just redeemcodes how its now without the [player]
    with ex2 u can people change their group
    [player] is optional, its to assign a code to a use so only he can use it!
    --- merged: Jan 19, 2011 8:41 PM ---
    its easy use: /code [The RedeemCode] [amount of use (0 for unlimited)] [item-id] [amount]
    for amount of use u can put in 1 and the code can only once be used!player1 use it , then player 2 try its doesnt work anymore
    if u type 2 or more the code can be used # times
    and if u do 0 its unlimited
    Watch out! every player can now use code multiple times
    il add 1 time each player ASAP
     
  8. Offline

    Samkio

    My video review [​IMG]
    Nice to see you ported it to BUKKIT :D
     
  9. Offline

    jordanske

    Tekst is in color now, and is there a way to change the tittle?...
     
  10. Offline

    Remus

    Works amazingly! I remember seeing it for hey0, so i came looking for it for bukkit, and here it is!
     
  11. Offline

    Lookatmego

    i get an error trying to create codes:
    SEVERE: Could not pass event PLAYER_COMMAND to RedeemCodes
    java.lang.NoSuchMethodError: org.bukkit.entity.Player.isOp()Z
    at com.bukkit.Jordanske.RedeemCodes.RCPlayerListener.onPlayerCommand(RCPlayerListener.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:546)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:522)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:64)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  12. Offline

    jordanske

    U have the newest build becuase this isnt tested on 90+ i need to go to sleep now il update it tommorow
     
  13. Offline

    Lookatmego

    edit: it just worked!!!fully works thank you!just im stuck on using general or fucken groupuser now
     
  14. Offline

    seanth

    I would find it useful if the amount decreased each time the code was used

    So, for example, PlayerA enters the redeem code and gets 20 diamond blocks. PlayerB is the nest to enter the redeem code and gets only 10, etc until some poor sucker tries the code and gets nothing (the code is no longer valid)

    Another idea would be to allow each player to use a code only once.

    PlayerA enters the redeem code and gets 10 TNT blocks
    PlayerB enters the redeem code and gets 10 TNT blocks
    PlayerA tries to get more TNT by entering the code again, but they get nothing.

    /code [The RedeemCode] [amount of use (0 for unlimited)] [item-id] [amount]
     
  15. Offline

    jordanske

    RedeemCodesv1.2 Released!
    each player can use each code 1 time!

    anyone suggestions??!

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

    MrJangles

    Excellent plugin. Suggestion! :)

    Can this hook into iConomy? I'd love to be able to redeem a code for money.
     
  17. Offline

    jordanske

    i will looking for that :D but i do not guarantee that i will get it im just a beginner. but ill try:D
     
  18. Offline

    MrJangles

    Awesome! Good luck! I'll keep an eye :)
     
  19. Offline

    S2park

    Hey i jus tired your v1.2 redeemcodes and i downloaded the .jar file and placed it into my plugins folder . when i when in to try /code asd 5 5 5 it doesn't work and appears to have an error saying Redeem.Codes not found . Any idea what's happening ? I'm using a mac .
     
  20. Offline

    jordanske

    it normal auto makes the redeem.codes file but if it didnt do it go to plugins folder and make new folder named "RedeemCodes" after that make 2 empty files "Redeem.Codes" and "Redeem.players"
    maybe becuase ur on mac ?
     
  21. Offline

    zalos

    Can they redeem multiple items or just one item?

    example:

    /code code 1 4 64, 5 64, 6 64, 7 64

    ?
     
  22. Offline

    jordanske

    one item,
    but il add option for more soon.
     
  23. Offline

    majorcyto

    I was just about to ask that lol, glad your going to add it. :D
     
  24. Offline

    S2park

    does the 2 files need to be txt file or just a plain new folder ?
     
  25. Offline

    Phanku

    Your plugin is brilliant!
    I have a suggestion tho which I think other server admins will agree with. Could you put in a option that would make it so that a code can only be used by a player once.

    For example:
    Have a motd that says, "New to <server name>? Then get your one time starter boost by typing /code <code here>."
    Then only allow them to use it once.

    I can imagine the command to be something like.
    /code [The RedeemCode] [amount of use (0 for unlimited)]|(true|false one time per user) [item-id] [amount]

    So if an admin wanted to do an motd code the admin would type.
    /code getitnow 0:true 264 5

    This would still allow there to be a limit.
    /code getitnow 10:true 264 5

    Just a suggestion, kind of a request.
    =)
     
  26. Offline

    majorcyto

    There is an option for limited codes.. just put

    /code <code> 1 [itemid] [ammount]

    And that code will only be able to be used once then disappear. Unless your asking him to add a option where we can set it to generate a random generated code for new memebers? Then that is a different request.
     
  27. Offline

    jordanske

    iconomy support added, im not sure if it works!
     
  28. Offline

    Phanku

    I am talking about economics theory, supply/demand, and restrictive access to unearned supplies.
    If I make code such as:
    /code 1234 400 264 10

    Can or can not Joe_Doe type "/redeem 1234 " 400 times and claim all 4000 diamonds?
    The problem is people will always take all if they can.

    What I want is to be able to type
    /code 1234 400:true 264 10

    And know that each member on my server was only able to type /redeem 1234 and get the 10 diamonds only once. That way 400 different people get 10 diamonds.
     
  29. Offline

    jordanske

    Now atm with latest version : joe_doe can only use the code once!
    example:
    /code 123 10 1 1
    p1 type /redeem 123 - get 1 times 1
    p1 type again /redeem 123 - he gets nothing
    p2 type /redeem 123 - he gets 1 times 1
    p1 type /redeem 123 - he gets nothing
    p2 type /redeem 123 - he gets nothing
    p3 type /redeem 123 - he gets 1 times 1

    and then there are 7 uses left
     
  30. Offline

    skawke

    I'm getting this error when I type /redeem

    plugins/RedeemCodes/Redeem.players (No such file or directory)
    plugins/RedeemCodes/Redeem.players (No such file or directory)
     

Share This Page