Mine/Farm Economy.

Discussion in 'Archived: Plugin Requests' started by Zaros, Mar 26, 2011.

  1. Offline

    Zaros

    I was wondering if it would be possible to make a plugin where farm plants and ore have a cost to break.

    For example: A town claims a mine. They want a profit off the mine to help expand the town and pay taxes. They want users to pay money per ore/block mined in the mine, and supervising each player would be extremely difficult.

    This plugin (with permission ofcourse) to claim a mine and set a price for ore to be broken. This would return revenue to the mine owner (which would be useful with Towny). The area for the mine could be set, and the price per ore could also be set. A config option would also allow the ore to be replaced after the player has broken it, as to let the mine regenerate and never run out.

    This idea could also be used with a farm. Set an area where breaking crops has a price in cash. This would allow farmers to make a profit on their crops without running around and trying to sell it. The area for the farm could be set, and the price per crop could also be set.

    This plugin would require some compatability with Towny( as to only allow residents to mine or harvest) and an economy mod (preferably iConomy).

    So, sound plausible?
     
  2. Offline

    Zaros

    Bump
    Is the idea really that bad or would it be difficult to code?
     
  3. Offline

    zytherxy

    I love the idea,but not sure how difficult the coding would end up being. The plugin would also need an on and off switch.
     
  4. Offline

    halvors

    I'm going to code this plugin :)

    Should a price be set for each item?

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

    Zaros

    Price should be configurable for each item. Preferably an ingame command. Say '/(plugincommand) setprice name $' or something of that sort. So a user making a Farm could go '/(plugincommand) setprice wheat 10', and any wheat block within the radius he set would break for a cost of 10 coins.

    Also, the plugin needs a name, and a shortoned version for the /command. How about MoneyFarm and /mf command. That would make price setting '/mf setprice wheat 20'

    Probably give a command to allow area owners to disable block breaks in their area.

    Ill make a better diagram of functions and features below.

    • Allows players to set an area, and let others break and collect items in that area for a cost
      • The command would be used somewhat like how worldedit sets //pos1 and //pos2,
      • The command would be like '/mf pos1' and '/mf pos2'
      • Players in this set area would be allowed to break blocks for a cost, and would not be allowed to break blocks without a cost set.
        • This would prevent players from breaking blocks under crops or infinitely mining stone or other blocks in the area.
      • A example: a player can break 'block' for 10 coins and then collect the drop.
      • Player attempting to break unbuyable blocks would get 'This block is not for sale!"
    Few more notes:

    Ideas for a config file:
    • Allow Admins to configure what blocks can be in a sellable area, preventing players from using this as a dupe for items (absolutely needed!).
    • Allow Admins to set a minimum cost to keep players from selling items free. This would be another duping method (absolutely needed!)
    • Allow Admins to set a Max/min sell area size (Possibly needed?).
    • Allow Admins to set a auto replace feature for certain blocks (so mine owners wouldn't have to replant their whole mine [Would be nice?]).
     
  6. Offline

    halvors

    Yes, i'm thinking that too. Maybe make default prices and then let user of a farm/mine change if he want.

    Think it will be based on regions, so you have to Cuboid your farm.

    Will be nice if you could help me with this :)

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

    Zaros

    Added a bit of an idea/layout sheet.

    I'll help as much as I can. I'm not a coder, and I've tried learning java in the past. I'm also a full time college student. The one thing I can promise is a server to test them. We have a few players on our server, as it has not gone live yet. I can set you up a server to test it remotely, but I unfortunately cannot give you FTP access( ;<).
     
  8. Offline

    halvors

  9. Offline

    Zaros

    Epic. My only restrictions are my work and school, but I'll do my best to get around them and work with you. Do you have your own server, or do you need me to host one for you (and what plugins would you need)?
     
  10. Offline

    halvors

    Have to get it really work first, but when it's ready, i'll b eglad if you could help test it on your server :)
     
  11. Offline

    Zaros

    What plugins, if any, would you like running on this server? Also, don't forget to give me credit on the release thread... [creeper]

    Edit: I'll be off til about 10:30. Going to work.
     
  12. Offline

    halvors

    Will do ;)

    And, think we need a better name than iConomyMine, it sounds some ugly. Do you have any ideas?

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

    Zaros

    MoneyFarm (as in farming money), with /mf command prefix. Check my above posts, I put alot of ideas. Cya round 10:30
     
  14. Offline

    halvors

    MoneyFarm seems nice, but remember that it's going to not be in farms, mines too...
     
  15. Offline

    zytherxy

    iCMFC :D Intense acronym right there, I was thinking iConomy mining/farming control!
     
  16. Offline

    halvors

    iConomy Mining/Farming Control like it, really like the whole name better ;)

    Maybe not have farming in title, just iConomyMiningControl

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

    Zaros

    Or how about iConomy Block Control, or IBC for short.
     
  18. Offline

    halvors

    That was nice :) But what if we gonna make support for BOSConomy etc?
     
  19. Offline

    Zaros

    EBC
    Economy Block control
     
  20. Offline

    halvors

    Maybe just leave it iConomyBlockControl
     

Share This Page