Configure the items output by the junkyard shredder

Supported Games
GameServerKingsGameServerKings

Setup

When the plugins is first initialized it will scan all of the entities accepted by the junkyard shredder and add them to the configuration file.

The 'vanilla' section of the config is used as a reference for the default item amounts. Editing this section of the config will have no effect.

You can add any item shortname and value to the 'modified' section of the config for the entity you would like to change.

For example, if you would like to add HQM to the 'shreddablepickup_truck' the config would be:

"shreddable_pickuptruck": {
  "vanilla": {
    "scrap": 50,
    "metal.fragments": 50
  },
  "modified": {
    "scrap": 50,
    "metal.fragments": 50,
    "metal.refined": 5
  }
}

Notes

This plugin does not modify the item amounts from vehicle modules attached to a vehicle frame. These values are set to the vehicle modules blueprint ingredients and can't be changed.

Configuration

{
  "shredderConfig": {
    "2module_car_spawned.entity": {
      "vanilla": {
        "scrap": 75
      },
      "modified": {
        "scrap": 75
      }
    },
    "3module_car_spawned.entity": {
      "vanilla": {
        "scrap": 125
      },
      "modified": {
        "scrap": 125
      }
    },
    "4module_car_spawned.entity": {
      "vanilla": {
        "scrap": 125
      },
      "modified": {
        "scrap": 125
      }
    },
    "shreddable_pickuptruck": {
      "vanilla": {
        "scrap": 50,
        "metal.fragments": 50
      },
      "modified": {
        "scrap": 50,
        "metal.fragments": 50
      }
    }
  }
}
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.