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

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

  1. Offline

    Phanku

    Build#126
    When /redeem is used on a valid code.

    2011-01-22 01:40:42 [INFO] Unknown console command. Type "help" for help.

    [Edit: I figured out this part. The Redeem.Players file you generated in the RedeemCodes has a title of Redeem.Players not Redeem.players. One 'P' is capitalized and the other isn't.

    plugins/RedeemCodes/Redeem.players (No such file or directory)
    plugins/RedeemCodes/Redeem.players (No such file or directory)
    Jan 22, 2011 1:40:47 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to RedeemCodes
    java.lang.NullPointerException
    at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
    at java.util.Arrays.asList(Arrays.java:3343)
    at com.bukkit.Jordanske.RedeemCodes.RCPlayerListener.onPlayerCommand(RCPlayerListener.java:82)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    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)
    2011-01-22 01:40:47 [INFO] <PLAYER> issued server command: redeem bob
    2011-01-22 01:40:47 [INFO] Unknown console command. Type "help" for help.
     
  2. Offline

    barristerwa

    It still didn't work; I made the files (not sure what kind). Should the files be plain text files or what? Thanks for any help.
     
  3. Offline

    jordanske

    added RedeemCodes folder.zip download it and unpack in the plugin folder!
    normaly its fixed then -_-

    Any feedback from the iconomy version??

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

    DoritosMan

    Could you make a like /redeem random and it takes a specified amount of coins from iconomy and it gives a random item that is not lava or such?
     
  5. Offline

    jordanske

    i will look for that but does the iconomy build work i cant test it myself
     
  6. Offline

    DoritosMan

    Once I get home I will test it
    I just left
    Should be 30 minutes maybe
     
  7. Offline

    jordanske

    ok thnks :D
     
  8. Offline

    M1sT3rM4n

    So can you create a unlimited code that can only be used once per player?
     
  9. Offline

    jordanske

    yes
    /code bla 0 2 10
     
  10. Offline

    M1sT3rM4n

    Awesome. Thank you so much!
     
  11. Offline

    Hessian

    This looks good, I'm looking for a way to give out a starter kit to new player, i.e Wooden Tools & 10 Torches. Good to see that each player can only claim once, but to be perfect for me I need multiple item support.
     
  12. Offline

    DoritosMan

    How do I use this with iConomy
    Like have it remove 1 coin per use
     
  13. Offline

    jordanske

    oh yeah forget to say that
    its
    Code:
     /icode [code] [times of use] [amount of coin]
    [/code]
     
  14. Offline

    DoritosMan

    And not try to be picky use
    You instead of U
    It makes the plugin look a lot more professional
    --- merged: Jan 22, 2011 6:37 PM ---
    iConomy code doesn't seem to be working
     
  15. Offline

    jordanske

    mhh
    i will look to that if i have time
     
  16. Offline

    M1sT3rM4n

    Or just enable it so people can change the text shown
     
  17. Offline

    jordanske

    gonna do that to buy today i took a day off
    tommorow im back coding:p
     
  18. Offline

    Hoddie54

    Build: 126
    Java error:
    Code:
    SEVERE: Could not pass event PLAYER_COMMAND to RedeemCodes
    java.lang.NullPointerException
            at java.util.Arrays$ArrayList.<init>(Arrays.java:3369)
            at java.util.Arrays.asList(Arrays.java:3355)
            at com.bukkit.Jordanske.RedeemCodes.RCPlayerListener.onPlayerCommand(RCPlayerListener.java:82)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            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)
    
    Edit:
    /code .... works fine
    /redeem ... doesn't work

    By doesn't work I mean:
    - When typing /redeem it tells me the correct format (correct part)
    - when typing /redeem <code> it gives me the error above.
     
  19. Offline

    jordanske

  20. Offline

    M1sT3rM4n

    Need... to... be able to modify sentence :D
     
  21. Offline

    jordanske

    what build u use?
    normal or iconomy
    the iconomy is bugged!
     
  22. Offline

    M1sT3rM4n

    I just tested the code out. Works beautifully, but the grammar :S can use some work.

    Suggestion: Enable multiple item giving in a single code, so I can hand out codes for item packs :)
     
  23. Offline

    jordanske

    grammer?
    my main language is dutch :p
     
  24. Offline

    M1sT3rM4n

    Well if you need help with grammar I can help you out. Also you ninja-ed me. Read my suggestion
     
  25. Offline

    jordanske

  26. Offline

    M1sT3rM4n

    Perfect :)
     
  27. Offline

    majorcyto

    /redeem does not work at all on craft 126 and the latest redeem codes version. /code works and /rcode works but not /redeem. It throws errors, like the above post said please fix this.
     
  28. Offline

    jordanske

    weird i use it right now on 126 0.o maybe its not compatible with other plugins?
    but i will look for it
     
  29. Offline

    M1sT3rM4n

    It works fine for me. Must be conflicts with other plugins.
     
  30. Offline

    jordanske

    majorcyto what plugins u use?
     

Share This Page