My cfg_craftingcontroller.txt file with the following content, I would like someone to tell me if there is any error please because I've tried and I can always crafter Camp Fire for example I do not understand why there are not blocked.
message close it's ok now for meCode:{ "blockresearchmessage":"Les recherches sont bloques.", "BlockedResearching": { "Explosive Charge": true, "M4": true, "MP5A4": true, "F1 Grenade": true, "Shotgun": true, "Bolt Action Rifle": true, "Pipe Shotgun": true },"blockcraftingmessage":"Vous devez acheter l'objet sur le commerce afin de l'avoir.", "BlockedCrafting": { "Camp Fire": true, "Explosive Charge": true, "M4": true, "MP5A4": true, "F1 Grenade": true, "Shotgun": true, "BoltActionRifle": true, "Pipe Shotgun": true },"blockblueprintmessage":"Les blueprint sont desactives.", "BlockedBlueprints": { "Explosive Charge Blueprint": true, "M4 Blueprint": true, "MP5A4 Blueprint": true, "F1 Grenade Blueprint": true, "Shotgun Blueprint": true, "BoltActionRifle Blueprint": true } }[DOUBLEPOST=1406323075][/DOUBLEPOST][quote="Tidav, post: 44789, member: 35561"]My cfg_craftingcontroller.txt file with the following content, I would like someone to tell me if there is any error please because I've tried and I can always crafter Camp Fire for example I do not understand why there are not blocked.{ "blockresearchmessage":"Les recherches sont bloques.", "BlockedResearching": { "Explosive Charge": true, "M4": true, "MP5A4": true, "F1 Grenade": true, "Shotgun": true, "Bolt Action Rifle": true, "Pipe Shotgun": true },"blockcraftingmessage":"Vous devez acheter l'objet sur le commerce afin de l'avoir.", "BlockedCrafting": { "Camp Fire": true, "Explosive Charge": true, "M4": true, "MP5A4": true, "F1 Grenade": true, "Shotgun": true, "BoltActionRifle": true, "Pipe Shotgun": true },"blockblueprintmessage":"Les blueprint sont desactives.", "BlockedBlueprints": { "Explosive Charge Blueprint": true, "M4 Blueprint": true, "MP5A4 Blueprint": true, "F1 Grenade Blueprint": true, "Shotgun Blueprint": true, "BoltActionRifle Blueprint": true } }just a reboot server and enjoy
![]()
Crafting Controller [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Warning: Don't use it!
It doesn't work! I trie ist out. First tim e it work on one of 4 items, the send try all things I can research, craft, and learn!
Holy s....
With that lagging mod you lose all your players! -
Wulf Community Admin
-
No, I use the json validator. Than I test it 3 times with my friend. First he cann't learn with a Kit the Explosive Charge (c4), but a few minutes later he are able to use a ResKit and lean it!!!! I make not change and the server is running the whole time....!
That is the cfg:
Code:{ "BlockedCrafting": { "Explosive Charge": true, "Research Kit 1": true, "Bolt Action Rifle": true, "M4": true, "MP5A4": true, "P250": true, "Kevlar Pants": true, "Kevlar Vest": true, "Kevlar Helmet": true, "Kevlar Boots": true }, "blockcraftingmessage": "Schade, es ist leider viel zu kompliziert für Dich.", "BlockedBlueprints": { "ExplosiveCharge": true, "BoltActionRifle": true, "M4": true, "MP5A4": true, "P250": true, "KevlarPants": true, "KevlarVest": true, "KevlarHelmet": true, "KevlarBoots": true }, "blockblueprintmessage": "Mist, Du kannst diese Blueprint einfach nicht entziffern...", "BlockedResearching": { "ExplosiveCharge": true, "ResearchKit1": true, "BoltActionRifle": true, "M4": true, "MP5A4": true, "P250": true, "KevlarPants": true, "KevlarVest": true, "KevlarHelmet": true, "KevlarBoots": true }, "blockresearchmessage": "Trotz aller Mühe, Du kannst die Sache einfach nicht herstellen." }
PS: Holy Shit: The json validator has deleting the space between the words...... Sorry, I try it out first...bevor I attack your work.....Last edited by a moderator: Aug 28, 2014 -
Wulf Community Admin
Are you sure they aren't crafting the Explosive Charges using Explosives?
Also, please use the code tags when posting configuration files. I've added it to your post above. -
Ok, I change the names, but now my friend is offline, I have to wait for a new test...but I promise to report about the results!
-
Same problem. Doesn't works for me. Used Json validator.
-
Wulf Community Admin
-
I know, just to say the problem doesn't comes from an invalid Json file. Btw, what do u mean by "ressources section"? And what tool for exemple?
TY -
Wulf Community Admin
-
Thank u but im running on OSX :/
-
i only wanted 2 block Paper to be able 2 craft. My config:
Code:{ "BlockedCrafting": { "Paper": true }, "BlockedBlueprints": { }, "BlockedResearching": { }, "blockblueprintsmessage": "This blueprint has been disabled.", "blockresearchmessage": "Researching this item has been blocked", "blockcraftingmessage": "Papier ist nicht herstellbar!" }
Kind regards
HanesLast edited by a moderator: Feb 15, 2015 -
[Oxide] craftingcontroller: [string "craftingcontroller.lua"]:101 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)[DOUBLEPOST=1409913225][/DOUBLEPOST]
Attached Files:
Last edited by a moderator: Sep 5, 2014 -
-
I downloaded the plugin and it comes up with an error I copied and pasted to the JSON Validator and it was confirmed
Error I get
Parse error on line 1:
PLUGIN.Title="Crafti
^
Expecting '{', '[' -
Wulf Community Admin
-
Sorry I fixed the config and it works great....
-
it goes? allow weapons and metal parts of buildings and just reduce them droprate?
About c4, will drop just from airdrop? noncraftable.
What I must edit in plugin, please? -
Wulf Community Admin
-
"This plugin is for restricting crafting, not changing loot."
Aaaw, sorry man.
New question for you Sir.
How i will block craft to c4 for all? -
Wulf Community Admin