Bazz3l
Spawn High value loot guarded by scientists at random or specified locations.
Supported Games
works with
- Clans0.2.4
- Hackable Lock2.1.0
Permissions
guardedcrate.use
-- Allows setup fo events.
Depends On
NpcSpawn v2.5.5
Chat Commands
/gcrate start <event-name|optional>
, start specified event or random if none specified./gcrate here <event-name> <event-name>
, start event at your current location./gcrate position <event-name> <x, y, z>
, start event at specified position./gcrate stop
, stop all currently running crate events./gcrate amount <event-name> <number>
, Change number of guards to spawn at the event./gcrate loot <event-name>
Put items in your main container to set up loot items./gcrate loadout <event-name>
Put items in your wear and belt containers to set up a guard's loadout.
Console Commands
/gcrate start <event-name|optional>
, start specified event or random if none specified./gcrate stop
, stop all currently running crate events./gcrate position <event-name> <x, y, z>
, start event at specified position.
Configuration
{
"command name": "gcrate",
"enable auto spawning events": true,
"auto start event after x duration": 3600.0,
"message notification settings": {
"enable toast message": false,
"enable chat message": true,
"enable chat prefix": true,
"custom chat message icon (steam64)": 76561199542824781,
"enable gui announcements plugin from umod.org": false,
"gui announcements text color": "White",
"gui announcements background color": "Purple"
},
"zone manager settings": {
"enable ignored zones": false,
"ignore these zone ids, leave empty to exclude all zones": []
}
}
Data
{
"CrateEventEntries": [
{
"event display name)": "Easy",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 60.0,
"enable marker": true,
"marker color 1": "#32A844",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 8,
"guard spawn config": {
"Name": "Easy Crate",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "smg.mp5",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 200.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 150.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.25,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": true,
"CanSleep": false,
"SleepDistance": 100.0,
"Speed": 8.5,
"AboveOrUnderGround": false,
"Stationary": false,
"MemoryDuration": 30.0
},
"create loot items": [
{
"DisplayName": null,
"Shortname": "shotgun.spas12",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "homingmissile.launcher",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.bolt",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.l96",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "lmg.m249",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "shotgun.m4",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.m39",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "weapon.mod.extendedmags",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "military flamethrower",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "smg.2",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rocket.launcher",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.lr300",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.ak",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "smg.mp5",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "rifle.sks",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "grenade.f1",
"SkinID": 0,
"MinAmount": 5,
"MaxAmount": 5
},
{
"DisplayName": null,
"Shortname": "grenade.beancan",
"SkinID": 0,
"MinAmount": 5,
"MaxAmount": 5
}
]
},
{
"event display name)": "Medium",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 120.0,
"enable marker": true,
"marker color 1": "#EDDF45",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 10,
"guard spawn config": {
"Name": "Medium Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "smg.mp5",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 250.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 150.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.25,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": true,
"CanSleep": false,
"SleepDistance": 100.0,
"Speed": 8.5,
"AboveOrUnderGround": false,
"Stationary": false,
"MemoryDuration": 30.0
},
"create loot items": []
},
{
"event display name)": "Hard",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 180.0,
"enable marker": true,
"marker color 1": "#3060D9",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 12,
"guard spawn config": {
"Name": "Hard Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "rifle.ak",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 300.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 150.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.15,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": true,
"CanSleep": false,
"SleepDistance": 100.0,
"Speed": 8.5,
"AboveOrUnderGround": false,
"Stationary": false,
"MemoryDuration": 30.0
},
"create loot items": []
}
]
}
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.