Inactive [ECON] Paid2Mine - Get paid to mine items with iConomy [928]

Discussion in 'Inactive/Unsupported Plugins' started by gnftoxic, Apr 15, 2011.

  1. Offline

    gnftoxic

    Paid2Mine
    Get Paid to Mine!​
    Version 0.3.0

    Download | Source Code | Latest Dev Builds​
    Wiki | Contribute Ideas | Donate

    Live Chat @ irc.esper.net #pwnage
    In-depth description of what the plugin does.​
    Commands:
    /minepay [-version|-clearrec|countrec|force|-reload]​

    How do I install Paid2Mine?
    It's fairly simply, really. Download it and upload / place it to your plugins directory, and run your server. Configure as necessary in the values.yml file in plugins/Paid2Mine, and execute the command /minepay -reload as an Op.​
    For an example configuration, please visit our wiki.​

    Changelog:
    • 0.3
      • Update for #928
      • Adds Permissions (Paid2Mine.getpaid)
    • 0.2
      • Update for #860
      • Disables "Farming" or "Boosting" of money
      • Supposedly fixes issues with the timeout on updating iConomy (please let me know if it does!)
      • Added /minepay force (force payment)
      • Added /minepay -clearrec (clears records)
      • Added /minepay countrec (counts records)
      • Added /minepay list (lists all items in the config to a player - this will be updated)
      • Records are temporary logs (upto 2.5 minutes) for the boosting prevention.
    • 0.1.2
      • Implemented user alerts in-game
      • Updated for CB 740 and iConomy 5
    • 0.1.1
      • Fixes the (sometimes occurring) not being paid for different items.
    • 0.1
      • Initial release.
    To-Be Implemented:
    • Permissions
     
    dark_hunter and DeaGato like this.
  2. Offline

    ark3typ3

    My players are saying that the plugin stops working from time to time. Any idea why? Seems to happen after a configuration update or sometimes on a restart. I suspect it is fighting with something else that handles block breaks (McMMO is my primary suspect).

    EDIT: v1.2 btw, redownloaded and the problem persists.
     
  3. Offline

    gnftoxic

    ark3typ3: Another user has been contacting me via private conversation here on the forums about the issue, if you could, please send me a message with the following:
    1. Does this happen before and/or after a /reload of all plugins?
    2. Are there any errors from the plugin itself?
    3. Are there any specific things you have done on the server that _might_ have caused this? (obviously you stated mcmmo, why?)
     
  4. Offline

    Sandia

    It works a little time then it stops works and i get this error
    Code:
    2011-05-11 16:32:56 [WARNING] Task of 'Paid2Mine' generated an exception
    java.lang.NullPointerException
        at me.pwnage.bukkit.paid2mine.iUpdate.run(Paid2Mine.java:170)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  5. Offline

    DJ_Idol

    Any chance we could get permissions support?

    A simple paid2mine.use node would be perfect. I just don't want every player on the server getting paid, just a select group.

    I would greatly appreciate it :)
     
  6. Offline

    gnftoxic

    Same error that I'm handling in private, will see if the new update (that I have to work on this Saturday) will work.
    Most likely going to add it this weekend.
     
  7. Offline

    Sandia

    k
     
  8. Offline

    DJ_Idol

    Thanks man, I appreciate it alot!
     
  9. Offline

    Lykkepillen

    I'm getting the same kind of error, where the payday stops coming.

    I think it happens when i get this error

    Code:
    2011-05-15 01:51:51 [WARNING] Task of 'Paid2Mine' generated an exception
            at me.pwnage.bukkit.paid2mine.iUpdate.run(Paid2Mine.java:170)
    But i'm not sure (If you could add an option to the values file that defined the payday-timer it would be easier to track bugs, and it would be appriciated a lot on my server too).


    EDIT:

    One of my admins tell me, it might have something to do with adding someone to the Permissions list (Using Yeditor) and then reloading the Permissions file. This have not been testet, so im not sure.

    -This has now been testet, and i don't find any problems with the above. But could you check it anyway just in case? (no bigger examination, just a quicky) =)

    Thanks in advance - My server wouldn't be the same without this simple plugin!
     
  10. Offline

    thexmaster

    Hello!
    After Server restart it works 5 minutes, then:

    java.lang.NullPointerException
    at me.pwnage.bukkit.paid2mine.iUpdate.run(Paid2Mine.java:170)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Greetings
    Stefan
     
  11. Offline

    crazymadd44

    First you really need to add a way so if a block has been placed by a player you won't get the money and have extra config stuff e.g.
    Code:
    
    items:
        default:
            value: '0.00'
            value2: '0.00'
        stone:
            value: '1.00'
            value2: '0.00'
            itemid: '1'
    
    
    "value2" is the block that's been placed by a player so if you want people to still get money from the placed blocks you can make them get more, less or no money from the placed blocks. "value2" can be changed to something like placedvalue or what ever suits you.
     
  12. Offline

    Neons

    Same error here.

    06:50:25 [WARNING] Task of 'Paid2Mine' generated an exception
    java.lang.NullPointerException
    at me.pwnage.bukkit.paid2mine.iUpdate.run(Paid2Mine.java:170)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:138)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  13. Offline

    Tadas159

    Pleas fix this!!!!!!!!!!!!!!!!!!!!!
     
  14. Offline

    DJ_Idol

    Hm...hope the developer didn't disban this plugin..
     
  15. Offline

    MrDylan

    No errors, but users can put blocks down and mine them again, any updates on this?
     
  16. Offline

    hofec

    Can please someone fix this stupid issue please ? :'( i really need this great plugin updated :oops:

    Code:
    [WARNING] Task of 'Paid2Mine' generated an exception
    java.lang.NullPointerException
        at me.pwnage.bukkit.paid2mine.iUpdate.run(Paid2Mine.java:170)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    - Thanks -
     
  17. Offline

    Zixt

    Can you make it so people don't get money from WorldGuard protected regions? Theres a random diamond house and people can basically boost using it. The block reappears but they still get money.
     
  18. Offline

    Tadas159

    Update please!! It stops working after about an hour.
     
  19. Offline

    Clem

    I'm confused, I can't seem to find out what to name the .yml because it doesn't generate it itself. Any ideas?

    oops nevermind, I found it :p

    Does this work with 1.6.6 build 818? And will we be able to set in intervals when it pays the user (e.g. Right as they mine, or in ticks)? It would pretty cool :)

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

    Minecraft93

    soo when you gonna update this? if u dont want this ill be happy to take it over.
     
  21. Offline

    neoaikon

    I have a slight bug to report. I use Paid2Mine with the latest Iconomy and Bukkit 820. I also use PlugMan to manage plugins, if I use plugman to reload your plugin, the paid value for each block type is added into itself, so for example, if I pay my users 10.00 for stone, on one reload they'll get paid 20.00, then next time it'll be 30.00, and so on.
     
  22. Offline

    Rytharr

    You people realize the developer has not posted here since May 12th. Yet another good but sadly inactive plugin.
     
  23. Offline

    oz_revulsion

    I've started development on a plugin that will initially just be an updated version of what this plugin does in exactly the same way. Once I have something working that is the same as this I will release it and then begin working on some of the suggestions in this thread. I'll post my progress on this thread until I am ready to release.

    Of course if toxic does return and continue work on this then far be it from me to hijack his project but I personally want this for my server and he does appear to have abandoned this.

    Cheers
     
  24. Offline

    dark_hunter

    Had to downgrade iConomy to 4.6.5 and it doesn't seem to work. Possible you could make it work for me?
     
  25. Offline

    oz_revulsion

    Because I am starting from scratch and I will be wanting to get results asap I will be building it to work with iConomy 5 initially perhaps backwards compatibility might be considered once I have the first version of my version rolled out.
     
  26. Offline

    dark_hunter

    Back on iConomy latest. This plugin works great, but after like 30 or 40 mins later it stops working for some reason, I have to /reload or restart the server just to get it working again. Then 30 or 40 mins later it does the same, anyone else getting this with B818?
     
  27. Offline

    oz_revulsion

    Heaps of people appear to be, including myself. That is why I am rebuilding the plugin to try and stop this happening.

    [UPDATE] I've been working on this tonight. I've now made a simple block listener and hooked in iConomy. Next session I'll start working on paying into iConomy.

    [UPDATE2] Miraculously found some time for an in between sessions...session. I've now got my plugin talking with iConomy and the beginnings of getting the config file built.
     
  28. Offline

    DJ_Idol

    Excellent news :) Hope everything works out!
     
  29. Offline

    dark_hunter

    Yes, can't wait.
     
  30. Offline

    oz_revulsion

    I've now got the config file talking correctly as far as the blocks are concerned and at the moment you can get paid instantly the correct amount. I just have to setup the heartbeat payday thingy and I should be ready to fire this out for you fine people. Stay tuned....

    Oz
     
    dark_hunter likes this.
  31. Offline

    dark_hunter

    Great, can't wait, thanks for the update.
     

Share This Page