1. Also on BlockedCrafting, there's also an extra comma at the end of the Bolt Action Rifle line.
     
  2. I am trying to use this plugin on my Multiplay server. It passes JSON validation tests, however I can still craft, use blueprints, etc of these weapons. Is there something I did wrong in the configuration?

    Code:
    {
        "BlockedCrafting": {
            "Explosive Charge": true,
            "Bolt Action Rifle": true,
            "Hand Cannon": true,
            "Pipe Shotgun": true,
            "9mm Pistol": true,
            "P250": true,
            "Shotgun": true,
            "M4": true,
            "MP5A4": true,
            "F1 Grenade": true
        },
        "BlockedBlueprints": {
            "Explosive Charge": true,
            "Bolt Action Rifle": true,
            "Hand Cannon": true,
            "Pipe Shotgun": true,
            "9mm Pistol": true,
            "P250": true,
            "Shotgun": true,
            "M4": true,
            "MP5A4": true,
            "F1 Grenade": true
        },
        "BlockedResearching": {
            "Explosive Charge": true,
            "Bolt Action Rifle": true,
            "Hand Cannon": true,
            "Pipe Shotgun": true,
            "9mm Pistol": true,
            "P250": true,
            "Shotgun": true,
            "M4": true,
            "MP5A4": true,
            "F1 Grenade": true
        }
    }
     
  3. To block a blueprint you have to use the name of the blueprint, not the item name, e.g "Explosive Charge Blueprint": true
     
  4. In our "cfg_craftingcontroller.txt" I see the following:

    {
    "BlockedCrafting":[],
    "BlockedBlueprints":[],
    "BlockedResearching":[],
    "blockresearchmessage":"Researching this item has been blocked.",
    "blockblueprintmessage":"This blueprint has been disabled.",
    "blockcraftingmessage":"Crafting this item has been blocked."
    }

    Can anyone provide assistance on how to properly format this as to only block explosive charges across the board (crafting/bps/researching). It seems to be a different format than that of previous posters on this thread given the different bracket types.

    Thanks!
     
  5. [BAW] -HolySh0t I have the same issue right now, I've been messing with this for 2 hours now
     
  6. @KBz | juggedout :

    I think those second "more square brackets" were just place holders here is what I wrote:

    {
    "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."
    }


    JSON Validated
     

  7. Samr here, when I block explosives crafting it makes explosives instacraft
     

  8. Is that working for you currently? I tried it and I still have no luck.
     
  9. Just as a reference, the file should now be called "cfg_craftingcontroller.txt" as it uses the new config system.
     
  10. When I did a copy paste from the thread, it slightly changed the spacing. I fixed the spacing and it now seems to be working.
     
  11. Yeah just make sure you put it through JSON, validate it, and copy that exactly into the cfg. The formatting on here probably would've messed it up when I pasted it to show you.
     
  12. Is this working in 1.8.2 ?
     
  13. same question ^
     
  14. ^
    It does, however the file name of the txt has changed from crafting_controller.txt to cfg_craftingcontroller.txt. So the lua will be looking for the latter. In my case I still had the former and no matter how I formatted it it wouldn't work till I noticed "cfg_craftingcontroller.txt" on the overview. In short, have the 1.8 lua and the cfg_craftingcontroller.txt with the text juggedout provided above (run it trough JSON) inside it, restart server and it should work fine, did by me.
     
  15. Also there are 3 new entries on the config file:

    Code:
    "blockcraftingmessage":"Crafting this item has been blocked.",
      "blockblueprintmessage":"This blueprint has been disabled.",
      "blockresearchmessage":"Researching this item has been blocked.",
    You might want to add those in, not sure what happens if they're missing - you'll probably just get errors.
     
  16. For me it does not work with 1.8.2
     
  17. Remeber that its a new txt file now. So the old do not work :) Cfg_Crafting.txt I think it was called
     
  18. clean install of this mod and its not working

    Code:
    {
        "blockcraftingmessage": "Crafting this item has been blocked.",
        "BlockedCrafting": [
            {
                "Explosive Charge": true
            },
            {
                "M4": true
            },
            {
                "556 Ammo": true
            }
        ],
        "blockresearchmessage": "Researching this item has been blocked.",
        "BlockedResearching": [],
        "BlockedBlueprints": [],
        "blockblueprintmessage": "This blueprint has been disabled."
    }
    In the oxidelog.txt it says this

    3 items have been blocked from crafting

    But i'm still able to take the M4 Blueprint, study it, then craft it.