Jump to content

Iftebinjan

Creator Pro
  • Posts

    1,069
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Iftebinjan

  1. Iftebinjan

    SimplePVE

    Yes, This will also work with Raidable Bases
  2. Version 2.1.0

    5,851 downloads

    Npc Random Raids Nobody is safe when the raiders come looking. Npc Random Raids sends squads of armed NPC raiders against your players' bases on their own terms. Farm too many scientists, clear a Raidable Base, or simply get unlucky, and a raid party shows up at your door. The raiders surround the base, blow through it layer by layer with rockets and explosives, and hunt anyone they can see. Bring in attack helicopters, MLRS strikes and juggernaut bosses for the bigger raids. Kill every wave before time runs out and airdrops fall from the sky, or pay the raiders off with /surrender. Tip It comes to your players. Unlike a raid they buy for themselves, these raids are triggered by the world around them: a timer, their NPC kills, their Raidable Base wins, or a raid call flare. Note New in 2.1: loot thieves that rob your boxes and run, a completely new raider AI with roles, surrounding and moving around the base, pushing in through breaches, raiders that fight defenders first, Loottable support, permission-based raid types, commands on win or lose for XP and rewards, SimplePVE support and an admin debug view. Older configs upgrade themselves, there's nothing to delete. Features Four ways to start a raid Random timer (optional). On a timer you set, there's a chance a suitable base gets raided. Revenge for NPC kills (optional). Kill enough of a chosen NPC type and they come for your base. Set the kills needed, chance and delay per NPC type, or combine a whole list of NPCs into one counter. Revenge for Raidable Bases (optional). Complete enough Raidable Bases of a difficulty and the raiders may strike back. Raid call flares. Skinned flares thrown inside your own base call a raid of that tier. Hand them out, sell them, or let them spawn in loot crates. Raiders that actually raid They surround the base. Raiders spread out all around the base and keep moving, repositioning every few seconds. You can switch a tier to attack from one side instead. Real aim. Every rocket goes at the first wall or door between the raider and its target, so a base gets opened up layer by layer. Open line? They pick another wall. If the middle of the base is already blown out, raiders choose a standing wall and move to that side. Roles. Each wave is split into Rocketeers who fire from a distance, Breachers who walk up and plant C4 or satchels, and Assault raiders who come in closer and hunt defenders. You set the split per tier. They don't always know where your TC is. On most tiers raiders aim for the middle of the base until the last wave, then find the TC and go straight for it. Pushing in. When a wall or door breaks, a few raiders go through the gap toward the target, and chat tells defenders which side was breached. Limited ammo. Each raider has a set number of rockets and explosives. Once it's out, it patrols the base and fights. Twig is no defence. Raiders shoot twig walls down with their guns. Defenders come first Any raider with a gun fights the player it can see, firing long bursts instead of three shots. Raiders without a gun use rockets on you. Nobody plants C4 while you're aiming at them. Squad awareness. Raiders notice anyone they can see from around the base, tell nearby raiders where you are, react straight away when shot, and hunt you for a few seconds after you duck out of sight. They move like players. Raiders strafe after a burst, take cover to reload and walk while shooting. No friendly fire. Raiders never kill each other, whatever the weapon. Loot thieves Breach the base, lose your loot. Turn it on per tier and once a wall or door breaks, raiders near a destroyed box's loot bag or an unlocked box take what's inside. Only a couple of thieves. Up to 2 raiders per raid take loot and run for an extraction point. Chase them down. Anyone holding your loot wears a large backpack, and a smoke signal and map marker show where it's going. Kill them, get it back. They drop a backpack with exactly what they took, lootable only by the players on the TC. Leave it, lose it. Three minutes at the extraction point by default, then your loot is gone for good. Big raids Juggernauts. Boss raiders with their own health, kits, damage and names, on the waves you choose. Attack helicopter support with its own health, strafes and crates. MLRS strikes (optional) on the base. Waves. Send the next wave on a timer, or only when the last one is dead. Rewards and consequences Win airdrops. Clear every wave and airdrops drop on the base, optionally locked to the players on the TC. Surrender. /surrender pays the raiders off with any item, Economics money or ServerRewards points, and they leave. NPC and airdrop loot from CustomLoot, AlphaLoot or Loottable, with vanilla loot as the fallback. Commands on win or lose. Run any server commands for the players on the TC when a raid ends, per tier. Give XP, money or kits with any other plugin. Server friendly Fair targeting. Minimum base size and number of players on the TC per tier, a cooldown between raids, and an option to only raid when someone on the TC is online. Permission-based raid types (optional). A tier can need a permission. If a base doesn't have it, the raid uses the closest tier that base does have. Notifications. Global chat with grid and direction, map marker, world text, GameTips, an on-screen timer for the base owners and Discord webhooks. PvE friendly. Works with SimplePVE and TruePVE. The raid's damage rules keep working even while your PvE plugin is switched off for a PvP or purge schedule. Every message in the player's own language. All text is in the lang file. Admin debug view that draws what each raider is doing. How a raid works Something triggers it. A timer, NPC kills, a Raidable Base win or a raid call flare. Warning. Depending on your settings, players on the TC get a warning, and the server sees the grid and a map marker. The raid. Raiders spawn around the base, take up positions and start working through the walls. Waves keep coming, with juggernauts and helicopters on the tiers that have them. The end. Result When Win Every raider in every wave is dead: win airdrops drop on the base Time's up The timer runs out with raiders still alive: they leave, no reward Surrender A player on the TC pays with /surrender: they leave, no reward Each tier can run its own server commands for every online player on the TC when the raid is won or lost. Surrendering counts as a loss. Admin cancels don't run any commands. Note Losing your TC doesn't end the raid. Raiders keep going for the remaining walls, and you can still win the airdrops by killing every wave. Raid tiers Each tier is a preset in the config. Timer raids pick at random from the tiers the base qualifies for. The built-in tiers come tuned like this: Tier Min blocks Min players on TC NPCs per wave Waves Knows the TC Rockets every Pushers Shots per burst Helicopter Surrender (Scrap) Easy 12 1 10 2 Finds it on the last wave 8-14s Off 6 No 200 Medium 24 2 15 2 Finds it on the last wave 6-11s 2 8 Yes 400 Hard 32 3 20 2 Finds it on the last wave 5-9s 3 10 Yes 600 Expert 42 4 30 2 Yes 4-8s 4 12 Yes 800 Nightmare 60 5 30 2 Yes 3-6s 5 15 Yes 1000 Note Add your own tier: copy a tier block in the config and give it a new name. Add it under Item profiles too if you want a raid call flare for it. Raider AI Every tier has an AI behaviour block in the config. Roles Role What it does Rocketeer Moves around the base on the stand-off ring and fires rockets at whatever is between it and the target Breacher Walks up to the wall in its way, plants an explosive from the tier's explosive list, then falls back Assault Stands closer, sees further and goes after defenders on walls and roofs Rocketeers and Assault raiders also walk in to plant an explosive now and then, instead of firing a rocket (20% of the time by default). Surround or one side Surround on (default): raiders spread out around the whole base and keep moving around it. Surround off: raiders gather on one random side. Once they know the TC, Rocketeers and Breachers attack from the side closest to it, and Assault raiders patrol the other sides to split the defenders. Flankers never rocket or plant at the base. Does the raid know where the TC is? Yes: raiders aim straight at the TC from the start. No: raiders aim for the middle of the base. On the wave you set (0 = the last wave) they find the TC and go for it. Fighting defenders Raiding stops the moment a raider sees a defender. Raiders with a gun get to a spot where they can see you and fire long bursts (Shots per burst, 0 = the whole magazine). After each burst they may strafe sideways, and when the magazine runs dry they may duck out of your line of sight to reload. When you break line of sight they hunt your last position for 8 seconds by default, then go back to raiding. Raiders whose kit has no gun use rockets on you instead. Pushing in When a wall or door of the raided base breaks, up to the tier's max pushers go through the gap toward the target, shooting the next piece in their way. Only Breachers and Assault raiders push. Tip Raiders firing too many rockets? Seconds between rockets counts per raider, and Total rockets npc can fire caps each raider's supply. Raise the interval or lower the cap for a slower siege. Loot thieves On by default for the expert and nightmare tiers, off for easy, medium and hard. Turn it on or off per tier with "Enabled" in the tier's Loot thieves block. When a box is destroyed, its items stay in a loot bag on the ground. Thieves take from those bags, and from boxes with no lock or an unlocked one. Locked boxes are safe until they break. How it works Nothing can be taken until the raid has breached the base, meaning a wall or door has been destroyed. After that, the raider closest to a loot bag or unlocked box, within 10 m, takes the loot instantly: up to 6 stacks, items on your priority list first, then the biggest stacks. Any raider can do it except juggernauts. Only 2 raiders per raid become thieves by default, and each puts on a large backpack. The whole raid can take up to 40 stacks. The thief runs to an extraction point 60 m past the edge of the base, on the side away from the defenders, marked with smoke and a red map marker. It doesn't stop to fight on the way, and chat pings the nearest one every 10 seconds. A thief that holds out at the extraction point for 3 minutes escapes, and the loot is gone. Getting it back Anyone holding your loot drops a backpack with it when killed. It's lootable only by the players on the TC. Raider corpses stay separate, so your loot plugins can fill those as usual and never touch the stolen items. How the raid ends Stolen loot still being carried Every raider killed Already dropped in backpacks Timer runs out Lost /surrender Dropped in backpacks where the carriers stood (set Surrendering gives the stolen loot back to false to lose it) At the end, players on the TC get a report of how many stacks were stolen, recovered and lost. Permissions Permission Allows randomraids.admin Admin commands randomraids.use Being raided, when Player must have randomraids.use inorder to get raided is on randomraids.ignore Never being picked for timer, revenge and NPC-kill raids randomraids.<tier> Being raided by that tier, when the tier has Permission needed to be raided by this type on Commands Players Command Description /surrender Pay the raiders to end the raid on your base Admins Command Description /randomraid here <type> Start a raid on the base you're standing in, ignoring tier permissions /randomraid random Search for a random base to raid /randomraid item <type> [amount] Give yourself a raid call flare /randomraid reload Cancel every running raid /randomraid debug Draw every raider's role, ammo, state, destination and aim, plus the ring, target and breaches (needs a real admin) /randomraid terrain Shows the terrain colliders where you stand (for the block list) Server console Command Description randomraid <playerID> <type> [amount] Give a player a raid call flare (for shops and GUI plugins) randomraid.debug One line per running raid: wave, raiders alive by role, fighting, pushing, breaches and time left Loot Loot only drops from raiders when the tier has Npc drop loot on death set to true. Raider corpses and win airdrops each use the first source that's set up, in this order: CustomLoot AlphaLoot Loottable Default loot: vanilla scientist loot on corpses, normal supply drop loot in airdrops If a list has more than one name, one is picked at random. If a plugin isn't loaded or a preset doesn't exist, that source is skipped and the console tells you once. Hosting partner Game hosting perfected, that's Physgun. Join the thousands of server owners using Physgun to take their game server communities to the top. Get your server at Physgun Installation Upload RandomRaids.cs to oxide/plugins. Open oxide/config/RandomRaids.json and choose your triggers. The timer, NPC-kill and Raidable Base triggers are all off by default. (Optional) Install Kits and create kits for each tier's raiders and juggernauts. Reload the plugin. Stand in a base and type /randomraid here easy to see it in action. Note Updating from 2.0.x? Just replace the file. Your config keeps all its settings and gets the new ones added on load. Upgraded tiers get the standard AI values: raiders surround the base, find the TC on the last wave, fire rockets every 5-10s and up to 3 push in. A fresh config gets the per-tier values from the table above. Configuration Key settings explained Setting What it does Use random raid timer Turns on timer raids. Every Random raid timer time seconds there's a Chance of random raid that a base is picked Authorized players Cooldown minutes How long players on a raided TC are safe from another raid by chance Wait until all NPC are dead before sending in next wave true = the next wave only comes once the last one is dead, false = waves come on the timer Total auth players on tc needed / Min Base Blocks Size Which bases qualify for a tier Permission needed to be raided by this type true = the base needs a player with Permission for this type. Otherwise the raid uses the closest tier the base has permission for, then the closest tier that needs no permission. If none fit, there's no raid How many extra waves Waves after the first one, so 1 means 2 waves in total Total rockets npc can fire / Total explosives npc can toss Each raider's supply. When both run out it patrols and fights Surrender Item An item shortname, economics or serverrewards Juggernaut spawns on witch Wave number/Total to spawn Which wave gets juggernauts, and how many ("1": 2 = 2 on wave 1) Raiders surround the base true = raiders move around the whole base, false = they attack from one side NPCs know where the TC is false = raiders aim for the middle of the base until they find the TC Wave the NPCs find the TC The wave they find it on when they don't know it. 0 = the last wave Stand-off ring How far from the base centre Rocketeers stand. Bigger bases push the ring out on their own Role split in percent How each wave is split between Rocketeers, Breachers and Assault raiders Shots per burst How many rounds a raider fires before pausing. 0 = always the whole magazine Chance in percent to strafe after each burst How often a raider sidesteps after a burst Chance in percent to take cover while reloading How often a raider moves out of the defender's line of sight to reload Percent of Assault raiders that flank Only used when surround is off: the share of Assault raiders that patrol the other sides Commands to run ... when the raid is won / lost Server commands run once for each online player on the TC. {steamid}, {name}, {type} and {grid} are filled in. Example: xp add {steamid} 500 Loot thieves / Enabled Turns loot thieves on for that tier Seconds at the extraction point How long a thief holds the extraction point before the loot is gone Max raiders that take loot per raid How many raiders in one raid can become thieves Distance a raider can take loot from How close a raider has to be to a loot bag or unlocked box, in metres Containers that can be robbed Used when taking from standing boxes is on: prefab short names of the boxes raiders can take from. The TC has its own Can rob the tool cupboard setting Items taken first, in order The stacks thieves take first. Anything else is taken biggest stack first Max item stacks stolen per raid A cap on how much one raid can take in total NPC sense range How far raiders notice defenders. It never drops below what's needed to cover the whole base from the ring Block Random raid in colider Terrain names where raids can't start. Use /randomraid terrain to find names Optional plugins None are required. Npc Random Raids connects to these on its own when they're installed: Plugin Used for Kits Raider and juggernaut loadouts CustomLoot Raider corpse and airdrop loot AlphaLoot Raider corpse and airdrop loot Loottable Raider corpse and airdrop loot Raidable Bases Revenge raids, and keeping raids away from Raidable Bases Economics Paying with /surrender ServerRewards Paying with /surrender SimplePVE / TruePVE Raid combat works on PvE servers FAQ How is this different from NpcRaiders? NpcRaiders lets players call a raid on their own base and pay for it. Npc Random Raids sends raids to players as a consequence of what they do on the server, with helicopters, juggernauts, surrender and win airdrops. Does anything happen out of the box? Only raid call flares and admin commands. The timer, NPC-kill and Raidable Base triggers are off until you turn them on in the config. Can I protect some players from raids? Yes. Give them randomraids.ignore, or turn on Player must have randomraids.use inorder to get raided and only grant it to players who opt in. Can I make a tier VIP only? Yes. Turn on Permission needed to be raided by this type for that tier and grant randomraids.<tier> to the group. Bases without it get the closest tier they qualify for. Can raiders really take my items? Only on tiers where loot thieves are turned on: expert and nightmare by default. After a breach, up to 2 raiders near loot can take it from the loot bags of destroyed boxes and from unlocked boxes. Locked boxes are safe until they break. You choose what's never taken, how much one raid can steal and whether standing boxes can be taken from. How do I get stolen loot back? Kill whoever is carrying it before time runs out at the extraction point. They drop a backpack only the players on the TC can open. Will my loot plugin overwrite the stolen items? No. Stolen items drop in their own backpack, separate from the raider's corpse. CustomLoot, AlphaLoot and Loottable only fill the corpse. The backpack a raider wears is only for show and can't be picked up. Can I give XP or other rewards when a raid ends? Yes. Add server commands to the tier's win and lose command lists, using {steamid} for the player. They run once for each online player on the TC. A loss is the timer running out or a surrender. What happens if the TC is destroyed? The raid keeps going. Raiders turn on the remaining walls, and defenders can still win the airdrops by killing every wave. Can other players help defend? Yes. Anyone can shoot the raiders, and the raiders will fight anyone they can see near the base. Do I need to delete my config when updating to 2.1? No. New settings are added to your existing config on load, and everything you've set stays as it is. The raiders only shoot rockets, I want more C4. Raise the Breacher share in the role split, lower Seconds between explosive plants, or raise the walk-in plant chance. Make sure the tier's Throw Explosive item shortnames list isn't empty and Total explosives npc can toss is above 0. Raids won't start on my map's terrain. That terrain is in the Block Random raid in colider list. Stand there, use /randomraid terrain to see the collider names, and remove the one you want to allow. For developers void OnRandomRaidStart(string raidType, Vector3 location) void RandomRaidEventEnd(Vector3 location) void OnRandomRaidRaiderSpawned(Vector3 location, BasePlayer raider, object juggernautConfig) void OnRandomRaidHeliSpawned(Vector3 location, PatrolHelicopter heli) void OnRandomRaidWin(SupplyDrop drop, List<ulong> players) void OnRandomRaidLootStolen(Vector3 location, BasePlayer raider, BaseEntity target, int stacks) void OnRandomRaidLootRecovered(Vector3 location, DroppedItemContainer bag, int stacks) void OnRandomRaidLootEscaped(Vector3 location, BasePlayer raider, int stacks) object BaseTCCanBeRaided(BuildingPrivlidge privilege) BaseTCCanBeRaided can return true or false to decide whether a base can be raided. Support Need help or found a bug? Open a support ticket on this page. Check out my other plugins
    $22.00
  3. It well worked for first time started the server, after that giving me this error. i have no antivirus also i excluded this folder from windows security. Still wont work.
  4. Version 2.0.3

    6,950 downloads

    NpcRaiders Raid night, any night. Players call a squad of armed NPC raiders onto their own base and defend it wave after wave. It's safe, self-contained raid content for solo players, small groups and PvE servers, with no waiting for a real raider. The raiders spawn near the base, pick a side and work through it layer by layer with rockets and explosives, then push in through the holes they make. Wipe out every wave before time runs out to win the reward. Lose the TC, or run out the clock, and the raiders win. Fully sandboxed. Only players authorized on the targeted TC can hurt the raiders, and the raiders only fight those players. Nobody else can interfere, and the raiders never wander off to bother the rest of the server. Note New in 2.0.0: smarter raiding AI with roles, raiders that don't know where your TC is, pushing in through breaches, a fully configurable raid HUD you can move in game, Loottable and CustomLoot support, and SimplePVE support. Configs from 1.9.x upgrade themselves, there's nothing to delete. Video Showcase Features The raid Self-raid events. Players call raiders on a base they're authorized on. Nobody else's base can be targeted. Waves. Set the NPCs per wave, the number of extra waves and the delay between them, from a quick skirmish to a full siege. Time limit. Every wave has to be cleared before the event timer runs out. Chat warns you 60 and 30 seconds before the end. MLRS strikes (optional). On chosen waves an MLRS barrage spreads across the base. Set the spread, the damage and whether it can hurt building blocks. Block repairs (optional) during the event, so players can't just hammer their walls back. Raiders that actually raid Real aim. Every rocket goes at the first wall or door between the raider and its target, so a base gets opened up layer by layer instead of splashing the outside. Roles. Each wave is split into Rocketeers who circle the base and fire rockets, Breachers who walk up and plant C4 or satchels, and Assault raiders who come in closer and hunt defenders. You set the split per tier. They don't always know where your TC is. Turn it off per tier and the raiders pick one random side and dig in from there, like a real raid group. On the wave you choose (the last wave by default) they find the TC and go straight for it. Pushing in. When a wall or door breaks, a few raiders go through the gap toward the TC. Breach alerts. Defenders get a chat message telling them which side was breached. No friendly fire. Raiders never kill each other, whatever the weapon, and the MLRS strike can't hurt them either. Raid HUD Live raid card for everyone authed on the TC: wave, time left, raiders left, TC health and status lines such as MLRS strikes, the raiders finding your TC, or the next wave countdown. Fully configurable. Position, background color and material, frame, hazard tape, icon background, icon (image URL, png ID, or item shortname with skin) and every text color. All text comes from the lang file, so it can be translated. Move it in game. Admins nudge or snap it with /raidme hudpos, and the position is saved to the config. Players can hide it with /raidme hud. Tiers and economy Unlimited raid tiers. Easy, Medium, Hard, Expert and Nightmare come built in, each with its own AI tuning. Add as many as you like, each with its own permission. Per-tier tuning. NPC count, waves, health, names, kits, aim, damage scales, AI behaviour, loot, cost and reward. Pay to raid. Charge any item (Scrap by default), Economics money or ServerRewards points. Win rewards. Give an item, Economics money, ServerRewards points or a kit, to the starter or to everyone on the TC. Sell it in your shop. A console command starts a raid for a player from any shop or GUI plugin. Fair play Locked-down combat. No griefing and no stray damage to bystanders. Cooldowns. A raid cooldown, plus a separate TC-auth cooldown so nobody re-auths a cupboard to farm events. VIP cooldowns. Give permission groups their own shorter cooldowns. Queue. At the maximum number of running raids, new events wait in line and players are told when it's their turn. Location checks. No raids underground, in deep water, or on terrain you block (icebergs, ice sheets and cliffs by default). Loot and stats NPC loot from anywhere. AlphaLoot profiles, Loottable presets, CustomLoot presets, your own loot files, or vanilla scientist loot. Build loot files in game. Put items in your inventory and type /raidme loot add <name>. Done. Corpses are locked to the raid's members, so nobody else can steal the loot. Leaderboards. /raidme stats opens a Top 25 screen for wins, losses, kills, deaths and waves, plus your own stats. Kits support. Dress and arm each tier's raiders to match its difficulty. Server friendly PvE friendly. Works with SimplePVE, TruePVE and LifeSupport. The raid's damage rules keep working even while your PvE plugin is switched off for a PvP or purge schedule. Every message in the player's own language. All chat and HUD text is in the lang file. Light on the server. Raiders scan for targets twice a second instead of every frame. How a raid works Start it. Stand in your building area and type /raidme buy <type>. The cost is taken, or you join the queue if the server is busy. Get ready. You get a short warning before the first wave, and the raid HUD appears. Defend. Raiders spawn around the base, take up positions and start working through your walls. Breachers walk in with explosives, and when a wall falls some raiders push inside. Chat tells you where they broke through. Win or lose. Result When Win Every raider in every wave is dead before the timer runs out Loss The raiders destroy your tool cupboard Time's up The timer runs out with raiders still alive: no reward Everyone authorized on that TC fights together. A win pays the reward and adds to your stats. Raid tiers Each tier is a preset in the config with its own permission, so you can sell them separately or bundle them into ranks. The built-in tiers come tuned like this: Tier Permission NPCs per wave Waves Knows the TC Rockets every Pushers Easy npcraiders.easy 10 3 No (finds it on the last wave) 8-14s Off Medium npcraiders.medium 15 4 No (finds it on the last wave) 6-11s 2 Hard npcraiders.hard 20 5 Yes 5-9s 3 Expert npcraiders.expert 30 5 Yes 4-8s 4 Nightmare npcraiders.nightmare 30 6 Yes 3-6s 5 Note Add your own tier: copy a tier block in the config, give it a new lowercase name and permission, then add matching entries under Raid Buy Options and Raid Reward Options. The new permission is registered on reload. Raider AI Every tier has an AI behaviour block in the config. Roles Role What it does Rocketeer Circles the base on the stand-off ring and fires rockets at whatever is between it and the target Breacher Walks up to the wall in its way, plants an explosive from the tier's explosive list, then falls back Assault Stands closer, sees further and goes after defenders on walls and roofs Rocketeers and Assault raiders also walk in to plant an explosive now and then, instead of firing a rocket (20% of the time by default). Does the raid know where the TC is? Yes: raiders circle the whole base and aim straight at the TC. No: they pick one random side and aim for the middle of the base. If the middle is already blown open, they switch to the nearest standing low wall. On the wave you set (0 = the last wave) they find the TC, move to its side and go for it, and the HUD tells the defenders. Pushing in When a wall or door of the raided base breaks, up to the tier's max pushers go through the gap toward the target, shooting the next piece in their way. Only Breachers and Assault raiders push. Tip Raiders firing too many rockets? Seconds between rockets counts per raider, so 20 raiders firing every 5-10 seconds is still 2-4 rockets a second across the raid. Raise both numbers for a slower siege, or raise the Breacher share for more explosives. Permissions Permission Allows npcraiders.use Using /raidme to view and start raids npcraiders.<tier> Starting that raid tier (for example npcraiders.hard) npcraiders.admin Admin commands: cancel raids, clear data, loot files, HUD position, debug view npcraiders.nocooldown Skipping the raid and TC-auth cooldowns npcraiders.nocost Starting raids for free npcraiders.vip1 / vip2 / vip3 Shorter cooldowns (set in Raid Vip Options, add as many as you like) Commands The chat command is /raidme by default. You can rename it in the config. Players Command Description /raidme Help menu: the tiers you can use, with NPC and wave counts /raidme buy Every tier you can buy, with its cost /raidme buy <type> Start a raid of that tier on the base you're authorized on /raidme stats Open the leaderboards and your personal stats /raidme hud Hide or show the raid HUD Admins Command Description /raidme reload all Cancel every running raid /raidme reload player <name> Cancel one player's raid /raidme clear Wipe all stored cooldowns and player data /raidme loot add <name> Create a loot file from your inventory, or add your inventory to one /raidme loot clear <name> Remove all items from a loot file /raidme hudpos Show a preview of the raid HUD and its current position /raidme hudpos left|right|up|down [pixels] Move the HUD (10px by default) and save it to the config /raidme hudpos anchor <name> Snap the HUD to topleft, top, topright, left, center, right, bottomleft, bottom or bottomright /raidme hudpos reset Put the HUD back in its default spot /raidme debug Draw every raider's role, state, destination and aim, plus the ring, target and breaches (needs a real admin) /raidme terrain Debug: shows the terrain colliders and water depth where you stand (for the block list) Server console Command Description npcraiders buy <type> <playerID> Start a raid purchase for a player (for shops and GUI plugins) npcraiders.debug One line per running raid: wave, raiders alive by role, fighting, pushing, breaches and time left NPC loot Loot only drops when the tier has Npc drop loot on death set to true. Each corpse uses the first source that's set up, in this order: AlphaLoot: profile names in AlphaLoot profile names For Npc Loot Loottable: custom preset names in Loottable custom preset names For Npc Loot CustomLoot: preset names in CustomLoot preset names For Npc Loot Your own loot files: names in Npc drop loot config names Vanilla scientist loot, when none of the above is set If a list has more than one name, each corpse gets one at random. If a plugin isn't loaded or a preset doesn't exist, that source is skipped and the console tells you once. Making your own loot file Put the items you want raiders to drop into your inventory. Type /raidme loot add <name>. (Optional) Open oxide/data/NpcRaiders/LootProfiles/<name>.json and set the min / max number of items to drop. If you leave them at 0, a corpse drops between 1 and all of the file's items. Each item's amount ranges from 1 to the amount you had when you created it, and you can change those too. Add the name to a tier's Npc drop loot config names. Hosting partner Game hosting perfected, that's Physgun. Join the thousands of server owners using Physgun to take their game server communities to the top. Get your server at Physgun Installation Upload NpcRaiders.cs to oxide/plugins. Grant the basic and tier permissions, for example: oxide.grant group default npcraiders.use oxide.grant group default npcraiders.easy (Optional) Install Kits and create kits for each tier's raiders. Set the costs and rewards in the config, then reload. Stand in your base and type /raidme buy easy. Note Updating from 1.9.x? Just replace the file. Your config keeps all its settings and gets the new ones added on load. Upgraded tiers get the standard AI values (raiders know the TC, rockets every 5-10s, up to 3 pushers). A fresh config gets the per-tier values from the table above. Configuration Key settings explained Setting What it does BuyType Item ID (for example -932201673 = Scrap), economics or serverrewards BuyAmmount How much it costs to start the raid RewardType Item ID, economics, serverrewards or kit RewardAmmount Amount of the reward, or the kit name for kit rewardAll true = every online player authorized on the TC is rewarded (items for each, money or points split between them), false = only the starter How many extra waves Waves after the first one, so 2 means 3 waves in total Mlrs waves and amounts Which wave fires MLRS, and how many rockets ("1": 6 = 6 rockets on wave 1) Mlrs spread radius How wide the barrage lands around the base. 0 uses the size of the base Mlrs damages building blocks Whether the strike can damage the raided base. Only the raided base can ever be hit External Tc Scan Range How far from the event the target base's TC is searched for. If none is found, the event ends NPC aimConeScale Raider accuracy: lower = more accurate NPCs know where the TC is false = raid one random side until the TC is found Wave the NPCs find the TC The wave they find it on when they don't know it. 0 = the last wave Stand-off ring How far from the base centre Rocketeers stand. Bigger bases push the ring out on their own Seconds between rockets Per raider, the wait between rockets Role split in percent How each wave is split between Rocketeers, Breachers and Assault raiders Push into the base / Max NPCs pushing in at once Whether raiders go through breached walls and doors, and how many at a time Background material Any UI material. Blur materials are skipped unless Use blur materials is true, because they wash out on Rust's new render pipeline Icon image An image URL or a png ID. Leave it empty to show the item from Icon item shortname and Icon item skin Block raid in colider Terrain names where raids can't start. Use /raidme terrain to find names Optional plugins None are required. NpcRaiders connects to these on its own when they're installed: Plugin Used for Kits Raider loadouts and kit rewards AlphaLoot Raider corpse loot profiles Loottable Raider corpse loot from custom presets CustomLoot Raider corpse loot from presets Economics Raid costs and money rewards ServerRewards Raid costs and point rewards SimplePVE / TruePVE Raid combat works on PvE servers LifeSupport Revives are handled correctly during an event FAQ Can players raid other players with this? No. A player can only start an event on a base they're authorized on, so it's self-contained PvE content. Can I sell different difficulty levels? Yes. Every tier has its own permission, NPC count, waves, AI behaviour, loot, cost and reward. Sell each tier on its own or bundle them into ranks. What does it depend on? Nothing. Kits, AlphaLoot, Loottable, CustomLoot, Economics, ServerRewards, SimplePVE/TruePVE and LifeSupport are optional and connect on their own. Do I need to delete my config when updating to 2.0.0? No. New settings are added to your existing config on load, and everything you've set stays as it is. The raiders only shoot rockets, I want more C4. Raise the Breacher share in the role split, lower Seconds between explosive plants, or raise the walk-in plant chance. Make sure the tier's Explosive item shortnames list isn't empty. Can I move or restyle the raid HUD? Yes. As an admin use /raidme hudpos to move it in game. Colors, material, icon and every text color are in the Raid HUD section of the config, and the text itself is in the lang file. The HUD background looks washed out or see-through. Leave Use blur materials on false. Blur materials are broken on Rust's new render pipeline, so they're skipped unless you turn that on. Can players skip paying or the cooldown? With permissions: npcraiders.nocost makes raids free and npcraiders.nocooldown skips both cooldowns. That's useful for staff testing or as a VIP perk. Can players re-auth on TCs to farm rewards? No. A separate TC-auth cooldown stops players from authorizing on a cupboard and starting another event straight away. What happens when too many raids are running? New raids wait in a queue. Players see their place in line and get a warning 60 seconds before their event starts. Can I start a raid from my shop plugin? Yes. Run npcraiders buy <type> <playerID> from the shop as a server command. Raids won't start on my map's terrain. That terrain is in the Block raid in colider list. Stand there, use /raidme terrain to see the collider names, and remove the one you want to allow. For developers void NpcRaidersEventStart(BasePlayer player, ulong playerID, string raidType, Vector3 location, object raidEvent) void NpcRaidersEventEnd(BasePlayer player, ulong playerID, string raidType, Vector3 location) void NpcRaidersGenerateEventMembers(BasePlayer player, ulong playerID, string raidType, int totalWaves, Vector3 location, object raidEvent) Support Need help or found a bug? Open a support ticket on this page. Check out my other plugins
    $20.00

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.4k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.