Npc Random Raids

Npc Random Raids 1.9.4

Optional Dependency Raidable Bases
Optional Dependency
Custom Loot

How To Call In Random Raids

  1. Randomly calls in npc raids with options for Mlrs and Attack Hele Set a configurable timer and chance to auto call in raid
  2. With Raidable bases plugin set a chance with configurable options for the npc's to come back and attack the raiders at one of there bases.
  3. After a certain amount of npc kills have a random chance.
  4. With item found in loot containers or given in shops by admins.

SEE ALL CONFIG SETTINGS!

Chat Command - Permission = randomraids.admin

/randomraid -- Will display command usage.
/randomraid <item> - will display list of raid item for admin to give them self.

Server command
randomraid <playerid> <type> - Gives player raid item to start a raid.


Code:
{
  "Random settings": {
    "GUI AnchorMin": "0.807 0.96",
    "GUI AnchorMax": "0.996 0.99",
    "A player on the tc must be online": true,
    "Use random raid timer": false,
    "Random raid timer time": 3600,
    "Chance of random raid at time (1-100)": 10,
    "Authorized players Cooldown minutes before random raided again by chance": 1440,
    "The maximum amount of time a rocket will fly before exploding": 4.0,
    "Npc spawn damage delay": 2.0,
    "Display global chat message on raid start": true,
    "Display global map marker on raid start": true,
    "Display Gui to base owners": true,
    "Taunt players with .mp3 voices": []
  },
  "All Random Raid Types": {
    "Random raid types": {
      "easy": {
        "Total auth players on tc needed": 1,
        "Total npcs per wave": 1,
        "How many extra waves": 0,
        "Seconds untell next wave": 120,
        "Npc fires Mlrs at base": false,
        "Send in Attack Copter support": false,
        "Total event time in seconds": 640,
        "Npc drop loot on death": true,
        "Spawn health of the npc": 100.0,
        "Total rockets npc can fire": 20,
        "Total explosives npc can toss": 10,
        "Total AirDrops on event win": 1,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "Raiders aimConeScale": 2.0,
        "Throw Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Spawn Attack Heli profile": [
          "easy"
        ],
        "Spawn kits for the npcs": [],
        "Names to give the npcs": [
          "Cobalt Scientist"
        ],
        "CustomLoot config profile name": [
          "default"
        ],
        "CustomLoot config profile names for AirDrop": [
          "default"
        ],
        "Juggernaut config": [
          "easy"
        ]
      },
      "medium": {
        "Total auth players on tc needed": 2,
        "Total npcs per wave": 15,
        "How many extra waves": 1,
        "Seconds untell next wave": 120,
        "Npc fires Mlrs at base": false,
        "Send in Attack Copter support": true,
        "Total event time in seconds": 900,
        "Npc drop loot on death": true,
        "Spawn health of the npc": 200.0,
        "Total rockets npc can fire": 20,
        "Total explosives npc can toss": 10,
        "Total AirDrops on event win": 1,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "Raiders aimConeScale": 2.0,
        "Throw Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Spawn Attack Heli profile": [
          "easy"
        ],
        "Spawn kits for the npcs": [],
        "Names to give the npcs": [
          "Cobalt Scientist"
        ],
        "CustomLoot config profile name": [],
        "CustomLoot config profile names for AirDrop": [],
        "Juggernaut config": [
          "easy"
        ]
      },
      "hard": {
        "Total auth players on tc needed": 3,
        "Total npcs per wave": 20,
        "How many extra waves": 1,
        "Seconds untell next wave": 120,
        "Npc fires Mlrs at base": false,
        "Send in Attack Copter support": true,
        "Total event time in seconds": 1200,
        "Npc drop loot on death": true,
        "Spawn health of the npc": 400.0,
        "Total rockets npc can fire": 20,
        "Total explosives npc can toss": 10,
        "Total AirDrops on event win": 1,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "Raiders aimConeScale": 2.0,
        "Throw Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Spawn Attack Heli profile": [
          "easy"
        ],
        "Spawn kits for the npcs": [],
        "Names to give the npcs": [
          "Cobalt Scientist"
        ],
        "CustomLoot config profile name": [],
        "CustomLoot config profile names for AirDrop": [],
        "Juggernaut config": [
          "easy"
        ]
      },
      "expert": {
        "Total auth players on tc needed": 4,
        "Total npcs per wave": 30,
        "How many extra waves": 1,
        "Seconds untell next wave": 120,
        "Npc fires Mlrs at base": false,
        "Send in Attack Copter support": true,
        "Total event time in seconds": 1500,
        "Npc drop loot on death": true,
        "Spawn health of the npc": 400.0,
        "Total rockets npc can fire": 20,
        "Total explosives npc can toss": 10,
        "Total AirDrops on event win": 1,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "Raiders aimConeScale": 2.0,
        "Throw Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Spawn Attack Heli profile": [
          "easy"
        ],
        "Spawn kits for the npcs": [],
        "Names to give the npcs": [
          "Cobalt Scientist"
        ],
        "CustomLoot config profile name": [],
        "CustomLoot config profile names for AirDrop": [],
        "Juggernaut config": [
          "easy"
        ]
      },
      "nightmare": {
        "Total auth players on tc needed": 5,
        "Total npcs per wave": 30,
        "How many extra waves": 1,
        "Seconds untell next wave": 120,
        "Npc fires Mlrs at base": false,
        "Send in Attack Copter support": true,
        "Total event time in seconds": 2100,
        "Npc drop loot on death": true,
        "Spawn health of the npc": 400.0,
        "Total rockets npc can fire": 20,
        "Total explosives npc can toss": 10,
        "Total AirDrops on event win": 1,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "Raiders aimConeScale": 2.0,
        "Throw Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Spawn Attack Heli profile": [
          "easy"
        ],
        "Spawn kits for the npcs": [],
        "Names to give the npcs": [
          "Cobalt Scientist"
        ],
        "CustomLoot config profile name": [],
        "CustomLoot config profile names for AirDrop": [],
        "Juggernaut config": [
          "easy"
        ]
      }
    }
  },
  "AttackCopter profiles": {
    "Profile Names": {
      "easy": {
        "Heli float health": 1000.0,
        "Total crates to drop": 2,
        "Heli strafe cooldown": 50.0,
        "Heli can strafe x times": 3
      }
    }
  },
  "Block Random raid in colider": {
    "Blocked": [
      "iceberg",
      "ice_berg",
      "ice_sheet",
      "icesheet",
      "cliff",
      "cave"
    ]
  },
  "Raidable Base plugin settings": {
    "Raid player on Raidable Base Completed": false,
    "Warn player in chat of upcoming revenge on them": false,
    "Raidable Base Settings": {
      "0": {
        "Total amount of mode complete before ever has chance": 3,
        "Raidable Base Completed Delay Before Raid chance happens": 320.0,
        "raid chance (1-100)": 10,
        "Random raid to send them if chance": [
          "easy"
        ]
      },
      "1": {
        "Total amount of mode complete before ever has chance": 3,
        "Raidable Base Completed Delay Before Raid chance happens": 320.0,
        "raid chance (1-100)": 10,
        "Random raid to send them if chance": [
          "easy",
          "medium"
        ]
      },
      "2": {
        "Total amount of mode complete before ever has chance": 3,
        "Raidable Base Completed Delay Before Raid chance happens": 320.0,
        "raid chance (1-100)": 10,
        "Random raid to send them if chance": [
          "easy",
          "medium"
        ]
      },
      "3": {
        "Total amount of mode complete before ever has chance": 3,
        "Raidable Base Completed Delay Before Raid chance happens": 320.0,
        "raid chance (1-100)": 10,
        "Random raid to send them if chance": [
          "easy",
          "medium",
          "hard"
        ]
      },
      "4": {
        "Total amount of mode complete before ever has chance": 3,
        "Raidable Base Completed Delay Before Raid chance happens": 320.0,
        "raid chance (1-100)": 10,
        "Random raid to send them if chance": [
          "hard",
          "expert",
          "nightmare"
        ]
      }
    }
  },
  "Trigger by npc kills": {
    "Enable log kills and random raid on kills": false,
    "Reset npc kills on player raided.": false,
    "Warn player in chat of upcoming revenge on them": false,
    "Npc kills settings": {
      "scientistnpc_heavy": {
        "Total amount of Npc killed before chance can happen": 30,
        "Delay before chance happens": 320.0,
        "Raid chance (1-100)": 10,
        "Cooldown minutes before chance can happen again": 1440,
        "Random raid to send them if chance": [
          "medium"
        ]
      },
      "scientistnpc_oilrig": {
        "Total amount of Npc killed before chance can happen": 60,
        "Delay before chance happens": 320.0,
        "Raid chance (1-100)": 10,
        "Cooldown minutes before chance can happen again": 1440,
        "Random raid to send them if chance": [
          "easy"
        ]
      },
      "scientistnpc_patrol": {
        "Total amount of Npc killed before chance can happen": 60,
        "Delay before chance happens": 320.0,
        "Raid chance (1-100)": 10,
        "Cooldown minutes before chance can happen again": 1440,
        "Random raid to send them if chance": [
          "easy"
        ]
      },
      "scientistnpc_junkpile": {
        "Total amount of Npc killed before chance can happen": 60,
        "Delay before chance happens": 320.0,
        "Raid chance (1-100)": 10,
        "Cooldown minutes before chance can happen again": 1440,
        "Random raid to send them if chance": [
          "easy"
        ]
      }
    }
  },
  "Juggernaut profiles": {
    "easy": {
      "Juggernaut spawns on witch Wave number/Total to spawn": {
        "1": 1
      },
      "Spawn health of the juggernaut": 500.0,
      "Player damage scale from the juggernaut": 1.0,
      "juggernaut aimConeScale": 2.0,
      "Names to give the juggernaut": [
        "Juggernaut Raider"
      ],
      "Spawn kits for the juggernaut": []
    },
    "medium": {
      "Juggernaut spawns on witch Wave number/Total to spawn": {
        "1": 2
      },
      "Spawn health of the juggernaut": 700.0,
      "Player damage scale from the juggernaut": 1.0,
      "juggernaut aimConeScale": 2.0,
      "Names to give the juggernaut": [
        "Juggernaut Raider"
      ],
      "Spawn kits for the juggernaut": []
    }
  },
  "Item profiles": {
    "easy": {
      "Raid call item skin": 2893480896,
      "Raid call item name": "Npc Raid Level 1",
      "LootContainer Spawn enabled": false,
      "Can Spawn In LootContainer types": [
        "crate_normal",
        "crate_normal_2"
      ],
      "LootContainer Spawn Chance 1-100": 5.0
    },
    "medium": {
      "Raid call item skin": 2893480635,
      "Raid call item name": "Npc Raid Level 2",
      "LootContainer Spawn enabled": false,
      "Can Spawn In LootContainer types": [
        "crate_normal",
        "crate_normal_2",
        "heli_crate"
      ],
      "LootContainer Spawn Chance 1-100": 5.0
    },
    "hard": {
      "Raid call item skin": 2893481009,
      "Raid call item name": "Npc Raid Level 3",
      "LootContainer Spawn enabled": false,
      "Can Spawn In LootContainer types": [
        "bradley_crate",
        "crate_elite"
      ],
      "LootContainer Spawn Chance 1-100": 5.0
    },
    "expert": {
      "Raid call item skin": 2893481137,
      "Raid call item name": "Npc Raid Level 4",
      "LootContainer Spawn enabled": false,
      "Can Spawn In LootContainer types": [
        "bradley_crate",
        "crate_elite"
      ],
      "LootContainer Spawn Chance 1-100": 5.0
    },
    "nightmare": {
      "Raid call item skin": 2893482048,
      "Raid call item name": "Npc Raid Level 5",
      "LootContainer Spawn enabled": false,
      "Can Spawn In LootContainer types": [
        "bradley_crate",
        "crate_elite"
      ],
      "LootContainer Spawn Chance 1-100": 5.0
    }
  },
  "Version": {
    "Major": 1,
    "Minor": 2,
    "Patch": 2
  }
}

Information

Author
Razor
First release
Last update
Rating
4.75 star(s) 4 ratings

Latest Release v1.9.4

Released
Oct 18, 2024 at 9:27 AM
Rating
0.00 star(s) 0 ratings


More resources from Razor


Npc Random Raids by Razor
© chaoscode.io May 30, 2023

Latest reviews

Random raids add additional excitement for the players on our server and they like extra challenge. The plugin is great, but could be better. Giving this 4 of 5 only due to lack of support with unresolved bugs.
Good and easy to use plugin
Solid plugin, easy to configure. Gives more meaning to player farming and defenses setup at base even on pve servers. Great to see the scientists finally get some revenge :D