[REQ] [ECON] Get paid every time you break a block.

Discussion in 'Archived: Plugin Requests' started by hunty197, Apr 14, 2011.

  1. Offline

    hunty197

    It would hopefully work with iconomy. All it would do is pay you 10 coins every time you break a block any block. Plus you get to keep the block you mined.

    Thank You :)
     
  2. Offline

    CombatWiZ

    So If I was mining....

    $$$
     
  3. Offline

    hunty197

    Yea every block you break you would get paid money for and keep the block
     
  4. Offline

    gnftoxic

    Sounds easy / interesting enough. Any type of different amounts for different ores you'd like to see? Different blocks?
     
  5. Offline

    hunty197

    @gnftoxic
    No just the same amout for every block. To keep it simple.
     
  6. Offline

    RazorFlint

    Hmmm Cool like the sound of it someone should take a look at it :D
     
  7. Offline

    gnftoxic

    Alright, I'll have a test up soon. That's not hard at all. I do think it'd be an interesting game to make rare items a little more rewarding for their values, though. Maybe a configuration that supports the loading of the values of the items? Dunno, but I'll have it done soon.
     
  8. Offline

    hunty197

    Ok if you could choose to either just pay the same amout for every block or set higher items a little more that would be great too.
    Thank you
     
  9. Offline

    gnftoxic

    Could you test this for me? I've tested it on my server, it seems to be working just fine. Still plenty of debug messages implemented in case of any faults.
    http://pwnage.me/download/Paid2Mine.jar

    This creates a configuration in the directory plugins/Paid2Mine/ named 'values.yml' - this is a simple YAML file with the following stucture:

    Code:
    items:
        default:
            value: '0.10'
        stone:
            value: '0.10'
            itemid: '1'
    
    'default' is the manually pulled data for all default values, if it does not exist, the default payout value is 0.10.
    'stone' is just a name, it can be anything you want, as it does not matter to the plugin, but the itemid must be correct. The value is obviously controlled either by the default value, or by the specified value for the corresponding Item ID.

    If you have any issues, let me know, otherwise I will release this within the next 6 hours in the plugin submissions.
     
  10. Offline

    hunty197

    How much is .10 worth?

    Also is the default just the set amount it would pay for every block?
     
  11. Offline

    gnftoxic

    .10 is .10 in iConomy. Just realized you specified 10 coins in the first post, so simply set it to '10.0' and it'll be 10. :)

    Yes, the default is just a set amount for every unspecified block. It might even pay for someone to set off TNT or glass, I'll check that momentarily.
     
  12. Offline

    hunty197

    Haha nice and Thank you :)
     
  13. Offline

    gnftoxic

Share This Page