Adds a codelock and optional loot to tool cupboards when placed by a player with permission
Supported Games
Features
*Auto add a code lock when placed
- Spawn loot inside toolcupboards when placed. Useful for helping players get a start
- Version 1.0.6 now lets you have different setting depending on permission
Permissions
tcoptions.use Users that have this permission will have the options from the config applied to thier toolcupboards when placed
Configuration
{
"Permissions": {
"TcOptions.customexample": {
"Add Codelock ?": true,
"Auto auth all team members ?": true,
"Loot to add": [
{
"item short name": "wood",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 2000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "stones",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 3000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "metal.fragments",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 1000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "metal.refined",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 100,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "glue",
"item custom name": "Super fuel",
"note message. only used if item is a note": null,
"item amount": 500,
"item skinid": 2664651800,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "paper",
"item custom name": "Money",
"note message. only used if item is a note": null,
"item amount": 8000,
"item skinid": 2420097877,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "advancedblueprintfragment",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 7,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "rifle.ak",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 1,
"item skinid": 3512805473,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": {
"ammo short name": "ammo.rifle",
"ammo amount": 38,
"weapon attachments": [
{
"item short name": "weapon.mod.holosight",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
},
{
"item short name": "weapon.mod.silencer",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
},
{
"item short name": "weapon.mod.extendedmags",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
},
{
"item short name": "weapon.mod.lasersight",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
}
]
}
},
{
"item short name": "rifle.ak.diver",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 1,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": {
"ammo short name": "ammo.rifle",
"ammo amount": 30,
"weapon attachments": [
{
"item short name": "weapon.mod.holosight",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
},
{
"item short name": "weapon.mod.silencer",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
},
{
"item short name": "weapon.mod.lasersight",
"item custom name": "",
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0
}
]
}
}
],
"Allow All Items to be stored inside": true,
"Extra Allowed items that can be stored inside": []
},
"TcOptions.vip": {
"Add Codelock ?": true,
"Auto auth all team members ?": true,
"Loot to add": [
{
"item short name": "wood",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 10000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "stones",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 10000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "metal.fragments",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 10000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
}
],
"Allow All Items to be stored inside": false,
"Extra Allowed items that can be stored inside": []
},
"TcOptions.vip2": {
"Add Codelock ?": true,
"Auto auth all team members ?": true,
"Loot to add": [
{
"item short name": "wood",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 50000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "stones",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 80000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "metal.fragments",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 70000,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
},
{
"item short name": "advancedblueprintfragment",
"item custom name": "",
"note message. only used if item is a note": null,
"item amount": 7,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
}
],
"Allow All Items to be stored inside": false,
"Extra Allowed items that can be stored inside": [
"sulfur",
"sulfur.ore"
]
},
"TcOptions.noteexample": {
"Add Codelock ?": true,
"Auto auth all team members ?": true,
"Loot to add": [
{
"item short name": "note",
"item custom name": "Some note",
"note message. only used if item is a note": "put the notes message here",
"item amount": 1,
"item skinid": 0,
"item condition (percent 0.5 = half 1 = max)": 1.0,
"projectile data. only used if item is a gun": null
}
],
"Allow All Items to be stored inside": true,
"Extra Allowed items that can be stored inside": []
}
},
"Config version. Dont edit": {
"Major": 1,
"Minor": 0,
"Patch": 7
}
}
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.
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.

