Crafting Controller

Moved

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

5/5, 72 likes
  1. I did and saved it.But I cant find where I edited the Json file.Because every time I click on it something new pops up.I set
    "MinBulkCraft": 999,
    "Enabled": true,
    but it still does not work.
     
  2. Its located in the Data file, it isnt in config so dont use that one. Its the Json in your data file, save and reload
    OR...listed right above is a Json I made and you can just upload that file to your Data folder
     
  3. Delete this post please.
     
    Last edited by a moderator: Jun 3, 2016
  4. This is my Json file now what ?
     

    Attached Files:

  5. Bulk Craft isnt even a setting anymore in the config! I cant get bulkcraft to work!
     
  6. Jees , do you guys even read? The answer is in this thread, please do us all a favor and just freakin read it already
     
  7. [chat] /rate <rate> = invalid command
    [console] crafting.rate <rate> = invalid command

    Does this have already worked?
     
  8. I'm stumped man. I viewed the Json and everything seems in order.
    I mean, the only thing I can think of is to check your Crafting Controller (Oxide>Config>CraftingController.Json
    and make sure you have this setting. Otherwise, I do not think I can help any further.
    {
    "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}%.",
    "ModifyCraftingRateError": "The new crafting rate must be a number. 0 is instant craft, 100 is normal and 200 is double!",
    "ModifyCraftingRateItem": "The crafting rate for {0} is now set to {1}%.",
    "NoBlockedItems": "No items have been blocked.",
    "NoItemRate": "You need to specify an item and a new crafting rate for this command.",
    "NoItemSpecified": "You need to specify an item for this command.",
    "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,
    "IndividualCraftingRates": {},
    "InstantBulkCraft": true,
    "InstantCraftForAdmins": true,
    "InstantCraftForModerators": false
    },
     
  9. ok , I learned that it's not in the game console must be put these commands ...
     
    Last edited by a moderator: Jun 6, 2016
  10. does anyone know how to make magic craft work with this? i have a feeling this is why its not working but i edited old.json and .json in data for it but only the ak works for magic craft.
    this is what i get as an error msg


    [Oxide] 17:41 [Error] Failed to call hook 'OnItemCraft' on plugin 'MagicCraft v0.2.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 17:41 [Debug] at Oxide.Plugins.MagicCraft.OnItemCraft (.ItemCraftTask task, .BasePlayer crafter) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  11. I see where you can edit an item's crafting cost and resources, but, how do you get it to chance in the game?

    For instance, I changed High Stone Walls to make them cost four times more, and used ConstructionConfig to make them four times stronger - but in the game, they all still cost 1,500 stone each to craft? Even though, when you craft it, it takes 6,000 stone for each one? How do you change the number in the menu to reflect the change?
     
    Last edited by a moderator: Jul 3, 2016
  12. I'm going to sound proper retarded here but how do i give permission for this plugin to normal players?

    Seems to be working for me but it doesn't work for my players?
     
  13. You need to install Magic Craft using a 3rd Party file controller for your server.Once you have Magic Craft installed to your server go to your MagicCraft.JSON and put the .JSON down below in.Dont forget to delete the orignal.xD ~Speedxd Message me if you have any questions.Dont forget the hit that follow button as well!
    [DOUBLEPOST=1466157972][/DOUBLEPOST]


    Ok so you only get Bulk Craft ? You need to grant your default group the permission to use it.I have never heard of this happening.Message me if you have any questions.xD ~Speedxd Dont forget the hit that follow button as well!!!!
    [DOUBLEPOST=1466158186][/DOUBLEPOST]
    At this point nothing that I know of have been made/released to us.xD ~Speedxd Message me if you have any questions.Dont forget the hit that follow button as well
    [DOUBLEPOST=1466158440][/DOUBLEPOST]

    Ok as I said for xman0789 you have to go to your data file using a third party file controller.Once you have Magic Craft installed to your server go to your MagicCraft.JSON and put the .JSON down below in.Dont forget to delete the orignal.You look like you're in the plugins folder.Go to the data folder and find Magic Craft and delete it and put the one down below..xD ~Speedxd Message me if you have any questions.Dont forget the hit that follow button as well!!!!
     

    Attached Files:

    Last edited by a moderator: Jun 17, 2016
  14. Well I did everything you said and it is still doing it. And if i get rid of the current one i have it still just crafts stuff.
     
  15. Ok as I said for xman0789 you have to go to your data file using a third party file controller.Once you have Magic Craft installed to your server go to your MagicCraft.JSON and put the .JSON down below in.Dont forget to delete the orignal.You look like you're in the plugins folder.Go to the data folder and find Magic Craft and delete it and put the one down below..xD ~Speedxd Message me if you have any questions.Dont forget the hit that follow button as well!!!![/QUOTE]

    You rock! Thank you for responding to this - I did find that .json file a few days ago, and I did edit High Stone Walls to cost more to craft, then edited the ConstructionConfig.json to make their toughness go up accordingly. The only issue I had after that, unfortunately, is that in-game graphics still say the walls cost 1,500 stone, not 6,000. Still digging to make the game tell the player just exactly how much stone they will spend, if crafting the item.
     
  16. I figured it out! Lol i just had to give the permission to default. Thanks for the help!
     
  17. I see where you can edit an item's crafting cost and resources, but, how do you get it to change in the game?

    For instance, I changed High Stone Walls to make them cost four times more, and used ConstructionConfig to make them four times stronger - but in the game, they all still cost 1,500 stone each to craft? Even though, when you craft it, it takes 6,000 stone for each one? How do you change the number in the menu to reflect the change?
     
  18. This isn't possible at this time, this would require client and server changes. Not sure if this will be implemented in the game soon.
     
  19. Thanks Mughisi, I was wondering if that was client side or not. I'll just change the description of the item to all caps indicating it's more expensive, but stronger, this helps cut back on overall entity count, massive unreachable structures, and still makes the wall more effective.