BenchCraft

Customize crafting using repair benches or research tables

Total Downloads: 904 - First Release: Feb 19, 2017 - Last Update: Mar 26, 2017

5/5, 9 likes
  1. ignignokt84 submitted a new resource:

    BenchCraft - Customize crafting using repair benches

    Read more about this resource...
     
  2. ignignokt84 updated BenchCraft with a new update entry:

    0.0.2

     
  3. I have this error when the server starts and plugin not work. Oxide 3070 for 1164.02 (1964)
    But after using "reload BenchCraft" plugin work without errors
     

    Attached Files:

    Last edited by a moderator: Feb 19, 2017
  4. ignignokt84 updated BenchCraft with a new update entry:

    0.0.3

     
  5. Hi....are there and permissions that need to be set for players to use this? I installed the .cs and configured the .json and reloaded it, and players still tell me no change to crafting time.
     
  6. Permissions are not required - can you upload your json here?
     
  7. ignignokt84 updated BenchCraft with a new update entry:

    0.0.4

     
    Last edited by a moderator: Feb 19, 2017
  8. ignignokt84 updated BenchCraft with a new update entry:

    0.0.5

     
  9. Hi @ignignokt84
    the plugin is a nice idea, add more realism or rpg-style to the game, likes me this kind of plugin.

    But I have a problem

    I want set this:
    PPL CRAFTING WITHOUT BENCH to +50% (150% realy) from Vanilla times.
    PPL CRAFTING ON THE BENCH to to +100% (200% realy) from Vanilla times.

    Im currently using the CraftingController... with this setting: +75% (175% realy) from vanila times.
    I want to use only your BenchCraft I think can be possible with a proper config.

    And I tested the plugin with this config:
    Code:
    {
      "config": {
        "boost": 2.0,
        "penalty": 0.0,
        "proximity": 1.0,
        "useRepairBench": true,
        "useResearchTable": false,
        "useItemList": false
      },
      "items": {}
    }
    and tolds me when Im away from the bench that the Items needs to be crafted in bench.
    How to let craft anything anywhere but just speeding up on the bench proximity
     
  10. Sorry, this looks like a bug in my code from a last-second logic tweak - literally need to change one character to fix (at line 163):
    Code:
    requireBench |= !hasPermission(player, PermCraftAnywhere);
             //  ^ change bar to ampersand so it looks like this:
    requireBench &= !hasPermission(player, PermCraftAnywhere);
    I'm working on a new version, and will include a "default craft rate" as an option to modify the normal crafting rate - it might be out by the time you even read this ;)
     
  11. ignignokt84 updated BenchCraft with a new update entry:

    0.0.6

     
  12. Nice update

    Can you add something:
    when crafting with bonus a message, like this on chat:
    "You have now a XX Speed Bonus at crafting here"
    Just that. Not any other message when crafting without bonus. I want not use the Penalty, just the base and the boost on the bench.

    And can you add a Info command like: /craft or /crafting
    that informs somethin like this:

     
  13. ignignokt84 updated BenchCraft with a new update entry:

    0.0.7


    [DOUBLEPOST=1487646310][/DOUBLEPOST]
    I've implemented a simple overlay to the crafting bar that indicates boosts and penalties - hopefully this is a better alternative to chat spam ;) I'm trying to come up with some commands, so I should have some command handling built into the next version or so.
     
  14. Thanks for the update.

    What change this in config?
    "boostText": ">>",
    I can not see the >> anywhere

    I Just see the BOOST +XX% on the right bottom corner
    [DOUBLEPOST=1487660658][/DOUBLEPOST]

    Another thing...

    I put Base 0.165
    that give me things that have 180 seconds of crafting in 30 seconds. Like the High External Wall (stone)
    With a Booster of 3.0 (300%)
    the time must be 10 seconds. (30 seconds/3=10)
    but taking the time with cronometer ever gives me around 7-8 seconds
    ...whats wrong ?


    that is whay I see only:
    [​IMG]

    NOTE: Use the image as Preview on the Plugin Overview if you want, the plugin is amazing!
     
    Last edited by a moderator: Feb 21, 2017
  15. The ">>" and "<<" are default text strings for the boost and penalty overlays. You have the option to disable the display of boost/penalty amounts and show a "fixed" overlay instead, and then you'd see >> or <<.

    The boost and penalty are "zero-based", so they are applied on top of the normal 100% crafting rate (after applying the baseRate) scaling. Using the original 180s crafting time, this means that your baseRate of 0.165 sets the crafting time to around 29.7s. Crafting then starts at normal speed (100%) for this shorter crafting time, and boost/penalty is applied on top of it, so the effective boost is 1.0+boost and effective penalty is 1.0-penalty. In this example, the boost of 3.0 means crafting time is:
    Code:
    [crafting time] = ([normal crafting time] * baseRate) / (1.0 + boost - penalty)
    [crafting time] = (180 * 0.165) / (1.0 + 3.0 - 0.0)
    [crafting time] = 29.7 / 4.0
    [crafting time] = 7.425
     
  16. ok... hmmmm

    I have true for show the >> and <<
    but are not showed, I just see that I showed you in the sshot.
     
    Last edited by a moderator: Feb 21, 2017
  17. Very cool plugin. It adds some realism to the game.
    But unfortunately it does not work with zLevels.
    Maybe it can be done somehow, which takes it as baseRate the value of zLevels player crafting Level craft rate.
     
  18. ignignokt84 updated BenchCraft with a new update entry:

    0.0.8

     
  19. AWESOME ! :)
    Thank you
     
  20. Oh Hi...thanks, we got it worked out.

    The only thing now seems to be that it still SHOWS the full crafting time, but the time passes fast, i.e., a second is no longer a second. That said, I set a rate of 4.0 and got a large wood box in about 22 seconds (versus one minute), so the timing doesn't appear to be precisely accurate.
    [DOUBLEPOST=1487785844][/DOUBLEPOST]All that said though...very cool plugin, and nice work getting this rolling!