1. The reason why HFB people are having problems is because the "Configuration Editor" that is in the CP edits the wrong config file for this plugin. You have to do it manually in the /oxide/data folder.
     
  2. I'm using an HFB server and I have edited the correct file myself and nothing is changing, not after 3 server restarts and one two reinstallations.
     
    Last edited by a moderator: Jan 29, 2014
  3. fixed
     
    Last edited by a moderator: Jan 30, 2014
  4. This is where i put it>>>> File Manager > \oxide\data\cfg_craftingcontroller.txt

    This is what i put in it... Still not working..

    {
    "BlockedBlueprints": {
    "Explosive Charge Blueprint": true,
    "M4 Blueprint": true,
    "MP5A4 Blueprint": true,
    "F1 Grenade Blueprint": true,
    "Shotgun Blueprint": true,
    "BoltActionRifle Blueprint": true
    },
    "BlockedResearching": {
    "Explosive Charge": true,
    "M4": true,
    "MP5A4": true,
    "F1 Grenade": true,
    "Shotgun": true,
    "BoltActionRifle": true,
    "Pipe Shotgun": true
    },
    "BlockedCrafting": {
    "Explosive Charge": true,
    "M4": true,
    "MP5A4": true,
    "F1 Grenade": true,
    "Shotgun": true,
    "BoltActionRifle": true,
    "Pipe Shotgun": true
    }
    }
     
  5. Same here, I blocked C4 but I was still able to craft..

    Code:
    {
        "BlockedBlueprints": [
            {
                "Explosive Charge": true
            },
            {
                "F1 Grenade": true
            },
            {
                "Explosives": true
            }
        ],
        "BlockedCrafting": [
            {
                "Explosive Charge": true
            },
            {
                "F1 Grenade": false
            },
            {
                "Explosives": true
            }
        ],
        "BlockedResearching": [
            {
                "Explosive Charge": true
            },
            {
                "F1 Grenade": true
            },
            {
                "Explosives": true
            }
        ],
        "blockblueprintmessage": "This blueprint has been disabled.",
        "blockcraftingmessage": "Crafting this item has been blocked.",
        "blockresearchmessage": "Researching this item has been blocked."
    }
     
  6. Could someone please post the code for me to block explosives on my server. I al new to this and after 6 hours of reading im just 100% lost i have tried these examples and still cant get it to work idk smh
     
  7. same for me.. doesnt work in the write file, did delete the old one and uploaded a new one by my self.
     
  8. It's all goood.I just want to shengji.
     
  9. AXO

    AXO

  10. still dont work for me with it.
     
  11. AXO

    AXO

    I used the program from Jedi and it worked.
    I only disable crafting/research explosive but this is what my file looks like:

    Code:
    {
    "BlockedCrafting": {"Explosives": true},"BlockedBlueprints": {},"BlockedResearch": {"Explosives": true},"blockblueprintsmessage": "This blueprint has been disabled.",
    "blockresearchmessage": "Researching this item has been blocked",
    "blockcraftingmessage": "Crafting this item has been blocked."
    }
    
     
  12. This is the settings I use, yet doesnt work. My host is Nitrous Networks I do also get
    Valid JSON.

    Code:
    {
    "BlockedCrafting": {"Explosive Charge": true,
    "Explosives": true,
    "F1 Grenade": true,
    "M4": true,
    "MP5A4": true,
    "P250": true,
    "Shotgun": true},"BlockedBlueprints": {"F1 Grenade Blueprint": true,
    "M4 Blueprint": true,
    "MP5A4 Blueprint": true,
    "P250 Blueprint": true,
    "Shotgun Blueprint": true},"BlockedResearch": {"Explosive Charge": true,
    "Explosives": true,
    "F1 Grenade": true,
    "M4": true,
    "MP5A4": true,
    "P250": true,
    "Shotgun": true},"blockblueprintsmessage": "This blueprint has been disabled.",
    "blockresearchmessage": "Researching this item has been blocked",
    "blockcraftingmessage": "Crafting this item has been blocked."
    }
    
    This is the error message

    Code:
    Loading at C:\TCAFiles\Users\\919\save\oxide...
    Loading standard library...
    Loading plugins...
    Loading at C:\TCAFiles\Users\\919\save\oxide...
    Loading standard library...
    Loading plugins...
    ERROR: Corrupt config file 'craftingcontroller'! Check that the json is valid.
    Loading at C:\TCAFiles\Users\\919\save\oxide...
    Loading standard library...
    Loading plugins...
    7 items have been blocked from crafting
    ERROR: Lua error (craftingcontroller:): [string "C:\TCAFiles\Users\\919\save\oxide\plug..."]:34: bad argument #1 to 'pairs' (table expected, got nil)
    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
    Loading at C:\TCAFiles\Users\\919\save\oxide...
    Loading standard library...
    Loading plugins...
    7 items have been blocked from crafting
    ERROR: Lua error (craftingcontroller:): [string "C:\TCAFiles\Users\\919\save\oxide\plug..."]:34: bad argument #1 to 'pairs' (table expected, got nil)
    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
    ERROR: Lua error (craftingcontroller:): [string "C:\TCAFiles\Users\\919\save\oxide\plug..."]:60: attempt to index field 'BlockedResearching' (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
    Loading at C:\TCAFiles\Users\\919\save\oxide...
    Loading standard library...
    Loading plugins...
    7 items have been blocked from crafting
    ERROR: Lua error (craftingcontroller:): [string "C:\TCAFiles\Users\\919\save\oxide\plug..."]:34: bad argument #1 to 'pairs' (table expected, got nil)
    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
    
     
  13. AXO

    AXO

    I am also using Nitrous and it works just fine..
     
  14. EDIT

    Works now, had to adjust something.

    To this

    Code:
    {
        "blockresearchmessage": "Researching this item has been blocked.",
        "blockcraftingmessage": "Crafting this item has been blocked.",
        "blockblueprintmessage": "This blueprint has been disabled.",
        "BlockedResearching": {
            "Explosive Charge": true,
            "Explosives": true,
            "Flashlight Mod": true,
            "Holo sight": true,
            "Laser Sight": true,
            "M4": true,
            "MP5A4": true,
            "P250": true,
            "Shotgun": true,
            "Silencer": true
        },
        "BlockedCrafting": {
            "Explosive Charge": true,
            "Explosives": true,
            "Flashlight Mod": true,
            "Holo sight": true,
            "Laser Sight": true,
            "M4": true,
            "MP5A4": true,
            "P250": true,
            "Shotgun": true,
            "Silencer": true
        },
        "BlockedBlueprints": {
            "Explosive Charge Blueprint": true,
            "Flashlight Mod Blueprint": true,
            "Holo Sight Blueprint": true,
            "Kevlar Boots BP": true,
            "Kevlar Helmet BP": true,
            "Kevlar Pants BP": true,
            "Kevlar Vest BP": true,
            "Laser Sight Blueprint": true,
            "M4 Blueprint": true,
            "MP5A4 Blueprint": true,
            "P250 Blueprint": true,
            "Shotgun Blueprint": true,
            "Silencer Blueprint": true
        }
    }
     
    Last edited by a moderator: Feb 4, 2014
  15. Does this work on 1.10 yet?
     
  16. Should be working fine on 1.8+ (including 1.10 and 1.11). Check your log for any errors, and look for the "x items have been blocked from crafting" as an indication if it loaded or not.
     
  17. I've been trying to get this to work recently.

    My config is appropriate in the JSON parser. I run a server from multiplay and I was editing the config in the correct folder. I checked my Oxide log and there is nothing in there about the plugin starting so I feel that may be the problem. Any suggestions? My config is as follows:

    Code:
    {
    "blockresearchmessage": "Researching this item has been     blocked.",
    "blockcraftingmessage": "Crafting this item has been blocked.",
    "blockblueprintmessage": "This blueprint has been disabled.",
        "BlockedResearching":{
            "M4": true,
            "MP5A4": true,
            "Shotgun": true,
            "P250": true,
            "9mm Pistol": true,
            "556 Ammo": true,
            "Shotgun Shells": true,
            "Explosives": true,
            "Kevlar Pants": true,
            "Kevlar Vest": true,
            "Kevlar Helmet": true,
            "Kevlar Boots": true,
            "Rad Suit Helmet": true,
            "Rad Suit Vest": true,
            "Rad Suit Pants": true,
            "Rad Suit Boots": true
            },
        "BlockedBlueprints":{
            "M4": true,
            "MP5A4": true,
            "Shotgun": true,
            "P250": true,
            "9mm Pistol" : true,
            "556 Ammo": true,
            "Shotgun Shells": true,
            "Explosives": true,
            "Kevlar Pants": true,
            "Kevlar Vest": true,
            "Kevlar Helmet": true,
            "Kevlar Boots": true,
            "Rad Suit Helmet": true,
            "Rad Suit Vest": true,
            "Rad Suit Pants": true,
            "Rad Suit Boots": true
            },
        "BlockedCrafting":{
            "M4": true,
            "MP5A4": true,
            "Shotgun": true,
            "P250": true,
            "9mm Pistol" : true,
            "556 Ammo": true,
            "Shotgun Shells": true,
            "Explosives": true,
            "Kevlar Pants": true,
            "Kevlar Vest": true,
            "Kevlar Helmet": true,
            "Kevlar Boots": true,
            "Rad Suit Helmet": true,
            "Rad Suit Vest": true,
            "Rad Suit Pants": true,
            "Rad Suit Boots": true
            }
    }
     

  18. Ok, ususally what I do is to delete the plugin and the config on the server. Then, install the plugin but use a copy from the forums, not from the hoster and upload it to your server. Then, restart the server. It should generate the cft_craftingcontroller.txt in the data folder. If it does not, you have a problem elsewhere. If it does, copy your text to the config on the server, save & restart again. It should work.
     
  19. I know Multiplay is its own little ugly duckling, but in their "Addon" list, it still has the description "Does not yet work on 1.10". is this not true, then?