Inactive [MECH] Blacksmith v1.0.3 - Repair your equipment [1000]

Discussion in 'Inactive/Unsupported Plugins' started by retsrif, Apr 6, 2011.

  1. Offline

    retsrif

    Blacksmith - Repair your equipment

    [COLOR=255,0,0]WILL UPDATE IN A WEEK![/COLOR]

    Devs: retsrif and _zenith_

    Version: 1.0.3

    Description: There are two sign types here. One is the value sign, which values the cost of repair, and the repair sign, which repairs the tool. Clicking the signs does the business. Also, a config file gets created which allows you to set the base cost of repair. Base cost is the cost which would be charged if the tool was used completely. This will default to the material version. If you want to use an economy, you can set those options in the config file.

    Value Sign Setup:
    * [Blacksmith]
    * Value

    Repair Sign Setup:
    * [Blacksmith]
    * Repair

    Features:
    * iConomy, BOSEconomy, and material version.
    * Allows you to check repair price before repairing.
    * Repairs tools according to a smart formula.

    Changelog:
    1.0.3
    * Armor support.
    * Flint & steel, fishing rod support.

    1.0.26
    * Fixed BOSEconomy thanks to pr3vention.
    * Added material version.

    1.0.1 and 1.0.25
    * Fixed config file.
    * Added BOSEconomy support.

    1.0
    * Plugin created.

    Bugs: I don't know, you tell me. ;)

    To-do:
    * Permissions support.

    Download: <Edit by Moderator: Redacted mediafire url>
    Source: Blacksmith Source

    Thanks to KevinForte for the idea and the formula!
    Thanks to HansiHE_, shadydeath, adreide, and binaryclock02 for testing this!
     
    Last edited by a moderator: Dec 14, 2016
    leitao85 and Maxwolf Goodliffe like this.
  2. Offline

    Juze

  3. Offline

    retsrif

  4. Offline

    Minecrafta2z

    Great work! Amazing plugin [diamond][diamond][diamond][diamond]
     
  5. Offline

    BigBlueGER

    Gonna try that out immediately, sounds awesome!
     
  6. Offline

    Racha

    Yay, thank you :)
     
  7. Offline

    riuthamus

  8. Offline

    GiantCreeper

    Sounds nice, Testing it later tonight. Thanks for it :)
     
  9. Offline

    retsrif

    And surer I'll check out if I can do something about BOSEconomy.

    Got BOSEconomy support. I just hope it works as I can't test it. Give me feedback guys.

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

    PatrickFreed

    Do the people who create the shops get coin or is a admin-like shop where the coin goes to server?
     
  11. Offline

    retsrif

    Coins go to the server. It just subtracts money.
     
  12. Offline

    PatrickFreed

    Sounds interesting...may implement today :D
     
  13. Offline

    riuthamus

    Adding to my server now! will let you know of any bugs!
     
  14. Offline

    JaredKey

    Hey, thanks for designing this plugin. Unfortunately, the config file resets after every server restart and it can't be restarted while in game.

    CB: 617
    Blacksmith Version: 1.0
    iConomy 4.6.5 (Kenzi)

    All I did was change the numbers in the config:
    However, a server restart reverts the number back to the original default numbers.

    No error messages;server log:



    Thanks!

    Additionally, I was wondering if there could be support for permissions? I would like to set up a blacksmith in the town near the shops so people are encouraged to use the shops. If anyone can make their own blacksmith in their home, they have no use for venturing into town.

    Thanks!

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

    retsrif

    Check if it says invalid config file found or something like that.
    Also, I'll think about permissions and how i could do that.
     
  16. Offline

    Kevin Forte

    That is so awesome! I cannot wait to test it out, and thanks so much (Again) for turning my idea into reality xP (Also, thanks for calling my formula smart, and it's sweet seeing people interested in this xD)
     
  17. Offline

    retsrif

    It is smart :D And there's currently an issue with config file though... So if you use this you have to stick to the base costs I have.
     
  18. Offline

    Kevin Forte

    Definitely fine with me. I agree with the person who suggested permissions though, that would be nice. Maybe just
    blacksmith.create.value
    and
    blacksmith.create.repair
    nodes, that way some players can have value signs in their homes for convenience, actual traveling would be required to perform the repair.
     
  19. Offline

    retsrif

    Yeah I'll check out how I would do my plugins side of permissions soon...

    I tried a fix that hopefully fixes the config file problem. Tell me if you have issues with it.

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

    JaredKey

    I see its uploaded in the first post because the size is different from the previous upload. But for future reference, could you change the version number? Thanks!
     
  21. Offline

    thyrfa

    Can you do it so you can repair iron tools with iron, gold with gold, diamond with diamond? I dont want to use iConomy, but I want to repair tools.
     
  22. Offline

    retsrif

    JaredKey: Ah sorry I forgot to do that! My bad! :p
    thyrfa: I am going to implement that, but after I make sure the config file is working and I get permissions done. Won't take long, jsut watch this thread :D
     
  23. Offline

    Tjezee

    Great plan, great execution, I can't wait for permissions / working config ;-)
     
  24. Offline

    Mogymog

    Can this is implemented to support Essentials economy? Or.. is that just something that for whatever varied reason cant be done?
     
  25. Offline

    retsrif

    Doesn't config work now? Try the new version.

    I'll check it out.
     
  26. Offline

    Mogymog

    Cool, thank you retsrif
     
  27. Offline

    retsrif

    Does config work? And no problem! :)
     
  28. Offline

    Mogymog

    ooh yeah duh.. forgot about the config part..

    Well the Value part works fine in Eessentials economy, just not the repair and guess I was too tired last night to think about mucking with the config.. ill mess with it and see if I can do something with it.. But other then that, yeah it seems to work fine. :p
     
  29. Offline

    retsrif

    Yeah the value is not economy specific. Also, I can't seem to find the essentials economy page. Could you please try editing some values in the config file and checking if they stay the same after restarting? Thanks.
     
  30. Offline

    Mogymog

    Ok so I went and changed the base value for gold up to 2500.. Had a worn down gold pickaxe.. Before it was 260 to repair, after it was 260 to repair.. And I'm pretty sure I did it right, so either its essentials economy just doesnt play right with it, or somethings being obscured.. or heck I may have inputed a letter or name or something wrong for all I know.
     

Share This Page