Hi,
{
"BlockedResearching": {
"MP5A4": true,
"M4": true,
"Bolt Action Riffle": true,
"Explosive Charge": true,
"Metal Door": true,
"Kevlar Helmet": true,
"Kevlar Vest": true,
"Kevlar Pants": true,
"Kevlar Boots": true,
"Explosive": true
},
"BlockedCrafting": {
"Revolver": true,
"MP5A4": true,
"M4": true,
"Bolt Action Riffle": true,
"Explosive Charge": true,
"Metal Door": true,
"Kevlar Helmet": true,
"Kevlar Vest": true,
"Kevlar Pants": true,
"Kevlar Boots": true,
"Explosive": true
},
"BlockedBlueprints": {
"9mm Pistol Blueprint": true,
"Explosive Charge Blueprint": true,
"F1 Grenade Blueprint": true,
"Kevlar Boots BP": true,
"Kevlar Helmet BP": true,
"Kevlar Pants BP": true,
"Kevlar Vest BP": true,
"M4 Blueprint": true,
"MP5A4 Blueprint": true,
"P250 Blueprint": true,
"Flashlight Mod BP": true,
"Holo sight BP": true,
"Laser Sight BP": true,
"Silencer BP": true,
"Shotgun Blueprint": true
}
}
is this Correct?
For some of reason I can still craft Revolver & Metal Doors.
Please help? Thank you for looking !
Crafting Controller [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Something seems to be wrong as no matter what i do it still allows crafting of blocked items even when they said they have been blocked in the log.
My question is, spawning in the items and giving them to a none Admin player bypass these rules? Was thinking him trying to Study the Blueprint would still block him, but allows him to study it.
The Log Says!
3 items have been blocked from crafting
3 items have been blocked from researching
3 blueprints have been disabledLast edited by a moderator: Jan 19, 2014 -
the Blocked msg is very nice ^^ +Goodjob
-
Still have no luck at all. Here is my oxidelog.txt on a clean install.
Code:Loading at C:\TCAFiles\Users\ArmoredDropz\1011\save\oxide... Loading standard library... Loading plugins... deathmessages plugin loaded ----------------------- 3 items have been blocked from crafting 3 items have been blocked from researching 3 blueprints have been disabled Prices loaded: [{"Name":"Metal Fragments","Price":"10"},{"Name":"Sulfur","Price":"10"},{"Name":"Metal Ore","Price":"20"},{"Name":"Sulfur Ore","Price":"20"},{"Name":"Gunpowder","Price":"20"},{"Name":"Low Grade Fuel","Price":"20"},{"Name":"Wood Planks","Price":"100"},{"Name":"Low Quality Metal","Price":"150"},{"Name":"Wood","Price":"10"}] Loading Oxmin... 21 users are tracked by Oxmin! 0 kits have been loaded. ERROR: Couldn't find datablock by name 'nil'! 31 custom loot tables were loaded! ERROR: Lua error (consolelog:): [string "C:\TCAFiles\Users\ArmoredDropz\1011\save\oxid..."]:18: attempt to call field 'QuoteSafe' (a nil value) ERROR: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 User "Armored" connected with SteamID 'STEAM_0:0:30271652' ERROR: Lua error (consolelog:): [string "C:\TCAFiles\Users\ArmoredDropz\1011\save\oxid..."]:25: attempt to call field 'QuoteSafe' (a nil value) ERROR: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Code:{ "BlockedCrafting": { "Explosive Charge": true }, "BlockedBlueprints": { "Explosive Charge Blueprint": true }, "BlockedResearching": { "Explosive Charge": true }, "blockresearchmessage": "Researching this item has been blocked.", "blockblueprintmessage": "This blueprint has been disabled.", "blockcraftingmessage": "Crafting this item has been blocked." }
-
Who is your server provider Armored? I'm with HFB and the crafting controller on their mod installer is not compatible with Oxide 1.82 I had to download the 1.8 crafting controller off of this site, delete the one in my server plugin directory then upload the downloaded one and use it in conjunction with the cfg_craftingcontroller.txt in order for it to work. If you have the latest lua then I'm not sure cuz it all looks good in that text file.
-
I'm with FPSPlayers
-
Last edited by a moderator: Jan 20, 2014
-
I've attached my own configuration to this post, just edit it accordingly and run it through http://jsonlint.com/ before uploading it to your server. This one works fine for me on Oxide 1.8.2 with Crafting Controller dev 1.1a.
Attached Files:
-
-
Is it possible to make a fix too use this in oxide version 1.9? Thank You!
-
It is working with Oxide 1.9.
-
Hmm not for me... Can you give me an example of your settings? Thx
-
-
isn´t working for me too and i copy your txt
What is the command to reload some plugin or txt file? -
-
I'm not sure, what's going wrong. But I tested also too put your txt file in.
Nothing work for me :*( -
-
Edit: Hmm, I uploaded all new and now it seems too work.
Ok, whatever the problem was, it goes. ThanksLast edited by a moderator: Jan 21, 2014 -
Are these updated for 1.9 yet? Got alot of plugins working now but not these 2, or is it just me failing? Ta xxx
-
Hmm i reinstalled it completely, and still not working.
I did the following:
- Download latest lua from this website
- Shut off server
- Deleted the entire plugin and txt file from my server
- Uploaded the new lua
- Started the server
- cfg_craftingcontroller.txt was created
- Shut off the server
- Uploaded the one Frop posted
- Started the server
- Ran oxide.reload craftingcontroller
- Still able to craft and reasearch items that is blocked in the cfg_craftingcontroller.txt
-
Code:24 items have been blocked from crafting 24 items have been blocked from researching 20 blueprints have been disabled