Crafting Controller

Moved

Total Downloads: 52,437 - First Release: Oct 29, 2014 - Last Update: Apr 19, 2018

5/5, 72 likes
  1. Wulf

    Wulf Community Admin

    Change the version in the file to match it.
     
  2. Anyway to set this plugin to allow certain items to take longer/shorter to craft?
     
  3. Currently this is not possible, I might look into adding this at some point.
     
  4. Still having the timer reset to 1 after each restart.

    You had another crafting plugin that has since been removed that worked for me.
     
  5. Is there a console command to change the crafting rate? Every restart it still doesnt stay so im planning to run the command every 10min.
    [DOUBLEPOST=1432356847,1432340067][/DOUBLEPOST]My server is also resetting the crafting to 1 after every restart!
     
  6. Anyway to set this plugin to allow certain items to take longer/shorter to craft?
    ... Currently this is not possible, I might look into adding this at some point.


    That would be sweet. Ladders and fast C4 are too powerfull in combination.
     
  7. Okay thx
     
  8. Can you add a console command to change the crafting time? My server sets it to 1 each time after a restart so im going to make it execute the console command every 10min for example so i dont have to always be on.
     
  9. Hello. I am having a strange problem. All but 1 plugin is working on my server. The only one working being the teleportation. I am using multiplay as provider which seems to be running Oxide 2.

    Can somebody run me through some basic steps I might take to verify everything is in order?

    These are the plugins i am trying to use in the pic.

    The most important one for me is Crafting controller, as i'm trying to run a 1/2 craft server.
    Here is my code input:
    Code:
    {
      "Settings": {
      "ChatPrefix": "Crafting Controller",
      "ChatPrefixColor": "#008000ff"
      },
      "Options": {
      "InstantCraftForAdmins": false,
      "InstantCraftForModerators": false,
      "CraftingRate": 0.5,
      "CompleteCurrentCraftingOnShutdown": false,
      "BlockedItems": [],
      "LCtrlAmount": 10,
      "LShiftAmount": 5[/SIZE]
      },
      "Messages": {
      "CurrentCraftingRate": "The crafting rate is set to {0.5}.",
      "ModifyCraftingRate": "The crafting rate is now set to {0.5}.",
      "ModifyError": "The new crafting rate must be a number between 0 and 2 where 0 is instant craft, 1 is normal and 2 is double!",
      "CraftBlockedItem": "{0} is blocked and can not be crafted!",
      "NoItemSpecified": "You need to specify an item to block/unblock.",
      "InvalidItem": "{0} is not a valid item. Please use the name of the item as it appears in the item list. Ex: Camp Fire",
      "BlockedItem": "{0} has already been blocked!",
      "BlockSucces": "{0} has been blocked from crafting.",
      "UnblockItem": "{0} is not blocked!",
      "UnblockSucces": "{0} is no longer blocked from crafting.",
      "NoPermission": "You don't have permission to use this command.",
      "ShowBlockedItems": "The following items are blocked: ",
      "NoBlockedItems": "No items have been blocked."
      }
    }
    If anybody can see anything problematic i'll send them the nicest christmas card you've ever seen in your life.
     

    Attached Files:

    Last edited by a moderator: May 26, 2015
  10. Hi, just a quick one. Is there a line in the config i can edit to block certain items, for instance i want to block ladders, (op crap things they are :p) simple enough do that in game by typing /block wooden ladder, but if the server has a restart which normally happens when im not around then ladders become craft-able again. I tried editing the bottom line hoping it would work but no joy. :(

    "NoBlockedItems": "No items have been blocked."

    to

    "NoBlockedItems": "Wooden Ladder."
     
  11. Can somebody please help me and tell me why my crafting controller is not working at all.
    Here is the code. Trying to do half craft times.
    Code:
    {
      "Settings": {
      "ChatPrefix": "Crafting Controller",
      "ChatPrefixColor": "#008000ff"
      },
      "Options": {
      "InstantCraftForAdmins": false,
      "InstantCraftForModerators": false,
      "CraftingRate": 0.5,
      "CompleteCurrentCraftingOnShutdown": false,
      "BlockedItems": [],
      "LCtrlAmount": 10,
      "LShiftAmount": 5
      },
      "Messages": {
      "CurrentCraftingRate": "The crafting rate is set to {0.5}.",
      "ModifyCraftingRate": "The crafting rate is now set to {0.5}.",
      "ModifyError": "The new crafting rate must be a number between 0 and 2 where 0 is instant craft, 1 is normal and 2 is double!",
      "CraftBlockedItem": "{0} is blocked and can not be crafted!",
      "NoItemSpecified": "You need to specify an item to block/unblock.",
      "InvalidItem": "{0} is not a valid item. Please use the name of the item as it appears in the item list. Ex: Camp Fire",
      "BlockedItem": "{0} has already been blocked!",
      "BlockSucces": "{0} has been blocked from crafting.",
      "UnblockItem": "{0} is not blocked!",
      "UnblockSucces": "{0} is no longer blocked from crafting.",
      "NoPermission": "You don't have permission to use this command.",
      "ShowBlockedItems": "The following items are blocked: ",
      "NoBlockedItems": "No items have been blocked."
      }
    }
     
    Last edited by a moderator: May 26, 2015
  12. My /craft 0 restarts to 1 after every restart. Console command please?
     
  13. In your craftingcontroller.json set the line

    "CraftingRate": 0,
     
  14. When Timed Explosive is blocked, is it still possible to give this item with the "Give" Plugin to the server admin?
    [DOUBLEPOST=1432697334][/DOUBLEPOST]After every server restart the config file changed :-(
     
  15. In console type,

    inventory.give explosive.timed 100

    Still works when item is blocked.
     
  16. Looking into the config issue, and as for the blocked items, it only blocks the items from being crafted.
     
  17. Hi I am currently using this addon i have edited the cfg as below
    Code:
    {
      "Messages": {
        "BlockedItem": "{0} has already been blocked!",
        "BlockSucces": "{0} has been blocked from crafting.",
        "CraftBlockedItem": "{0} is blocked and can not be crafted!",
        "CurrentCraftingRate": "The crafting rate is set to {0}.",
        "InvalidItem": "{0} is not a valid item. Please use the name of the item as it appears in the item list. Ex: Camp Fire",
        "ModifyCraftingRate": "The crafting rate is now set to {0}.",
        "ModifyError": "The new crafting rate must be a number between 0 and 2 where 0 is instant craft, 1 is normal and 2 is double!",
        "NoBlockedItems": "No items have been blocked.",
        "NoItemSpecified": "You need to specify an item to block/unblock.",
        "NoPermission": "You don't have permission to use this command.",
        "ShowBlockedItems": "The following items are blocked: ",
        "UnblockItem": "{0} is not blocked!",
        "UnblockSucces": "{0} is no longer blocked from crafting."
      },
      "Options": {
        "BlockedItems": [],
        "CompleteCurrentCraftingOnShutdown": false,
        "CraftingRate": 0,
        "InstantCraftForAdmins": true,
        "InstantCraftForModerators": false,
        "LCtrlAmount": 10,
        "LShiftAmount": 5
      },
      "Settings": {
        "ChatPrefix": "Crafting Controller",
        "ChatPrefixColor": "#008000ff"
      },
        {
      "Blueprints: Block List": [],
      "Crafts: Block List": [
         "Wooden Ladder"   
      ],
      "Messages: Block Blueprint": "This blueprint has been disabled.",
      "Messages: Block Craft": "Crafting this item has been blocked.",
      "Messages: Block Research": "Researching this item has been blocked.",
      "Researching: Block List": []
        }}
    when the server starts the crafting is set at 1 and ladders can be craft can anyone please help where i have gone wrong?

    Many thanks

    Sage
     
    Last edited by a moderator: May 27, 2015
  18. I dont have the issue of my crafting getting reset, that seems to be fine but my blocked item do, like you "ladders" become craftable and i think mughisi is working on a fix for it.
     
  19. Wulf

    Wulf Community Admin

    Your config is invalid, your formatting is wrong. Make sure you are't adding extract braces or commas. You can use http://jsonlint.com/ to see.
     
  20. Hi i have installed this plugin when i type /craft 0 it tells me that carfting is set to 1 and i cant change it ,also it tell me i dont have permision to block stuff, i am logged into server as owner and i can use all other plugins and admin controls, thanks