Spawns hackable crate events at random locations guarded by scientists

Supported Games
works with

Permissions

  • guardedcrate.use -- Allows anyone with this permission to start/stop events.

Chat Commands

  • /gc start <name> - Start a new event
  • /gc stop - Stop all events

Console Commands

  • gc.start <name> - Start a new event
  • gc.stop - Stop all events

Configuration

{
  "EnableAutoStart (enables events to spawn automatically)": true,
  "EventDuration (time between event spawns)": 30.0,
  "Command (command name)": [
    "gc"
  ],
  "EffectiveWeaponRange (range weapons will be effective)": {
    "snowballgun": 30.0,
    "rifle.ak": 100.0,
    "rifle.bolt": 150.0,
    "bow.hunting": 30.0,
    "bow.compound": 30.0,
    "crossbow": 30.0,
    "shotgun.double": 10.0,
    "pistol.eoka": 10.0,
    "multiplegrenadelauncher": 50.0,
    "rifle.l96": 150.0,
    "rifle.lr300": 100.0,
    "lmg.m249": 150.0,
    "rifle.m39": 100.0,
    "pistol.m92": 15.0,
    "smg.mp5": 80.0,
    "pistol.nailgun": 10.0,
    "shotgun.waterpipe": 10.0,
    "pistol.python": 60.0,
    "pistol.revolver": 50.0,
    "rocket.launcher": 60.0,
    "shotgun.pump": 10.0,
    "pistol.semiauto": 30.0,
    "rifle.semiauto": 80.0,
    "smg.2": 80.0,
    "shotgun.spas12": 30.0,
    "speargun": 10.0,
    "smg.thompson": 30.0
  }
}

Supported Weapon List.

Medium to Long range:

  • LR300
  • Assult Rifle
  • M39 Rifle
  • MP5
  • Semi Rifle
  • Spas 12

Close Range:

  • M92 Pistol
  • Python
  • Thomson
  • Semi Pistol
  • Revolver

Data

{
  "Events": [
    {
      "EventDuration (duration the event will be active for)": 800.0,
      "EventName (event name)": "Easy",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Easy Guard",
      "NpcCount (number of guards to spawn)": 6,
      "NpcHealth (health guards spawn with)": 100.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 125.0,
      "NpcAttackRadius (npc attack radius)": 200.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#32a844",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 800.0,
      "EventName (event name)": "Medium",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Medium Guard",
      "NpcCount (number of guards to spawn)": 8,
      "NpcHealth (health guards spawn with)": 150.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 125.0,
      "NpcAttackRadius (npc attack radius)": 200.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#eddf45",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 1800.0,
      "EventName (event name)": "Hard",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Hard Guard",
      "NpcCount (number of guards to spawn)": 10,
      "NpcHealth (health guards spawn with)": 200.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 125.0,
      "NpcAttackRadius (npc attack radius)": 200.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#3060d9",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    },
    {
      "EventDuration (duration the event will be active for)": 1800.0,
      "EventName (event name)": "Elite",
      "AutoHack (enables auto hacking of crates when an event is finished)": true,
      "AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
      "LockToPlayer (locks the crate to a player finishing the event)": false,
      "DisplayClan (display clan tag rather than player name)": true,
      "UseKits (use custom kits plugin)": false,
      "Kits (custom kits)": [],
      "NpcName (custom name)": "Elite Guard",
      "NpcCount (number of guards to spawn)": 12,
      "NpcHealth (health guards spawn with)": 350.0,
      "NpcRoamRadius (npc roam radius)": 10.0,
      "NpcLookRadius (npc look radius)": 125.0,
      "NpcAttackRadius (npc attack radius)": 200.0,
      "CargoSpeed (time cargo plane will drop in seconds)": 120.0,
      "MarkerColor (marker color)": "#e81728",
      "MarkerBorderColor (marker border color)": "#000000",
      "MarkerOpacity (marker opacity)": 0.9,
      "UseLoot (use custom loot table)": false,
      "MaxLootItems (max items to spawn in crate)": 6,
      "CustomLoot (items to spawn in crate)": []
    }
  ]
}
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.