YaMang -w-'s Wishlist
-
Npc Random Raids
Optional Dependency Raidable Bases - https://codefling.com/plugins/raidable-bases
Optional Dependency Custom Loot - https://codefling.com/plugins/custom-loot
How To Call In Random Raids
Randomly calls in npc raids with options for Mlrs and Attack Hele Set a configurable timer and chance to auto call in raid
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.
After a certain amount of npc kills have a random chance.
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.
{ "Random settings": { "GUI AnchorMin": "0.807 0.96", "GUI AnchorMax": "0.996 0.99", "GUI2 AnchorMin": "0.807 0.92", "GUI2 AnchorMax": "0.996 0.95", "GameTip display time in seconds": 2.0, "Total raids allowed at once": 10, "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": false, "Use GameTip announcement to player": false, "Disable radio chatter": false, "Wait until all NPC are dead before sending in next wave": false, "Player must have randomraids.use inorder to get raided": false, "Use world text to show base location": false, "World text display time": 60.0, "Use discord Webhook": false, "Discord Webhook URL": "", "Discord Avatar URL": "http://images.myvector.xyz/discordimage.png" }, "All Random Raid Types": { "Random raid types": { "easy": { "Total auth players on tc needed": 1, "Total npcs per wave": 10, "How many extra waves": 1, "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": [], "CustomLoot config profile names for AirDrop": [], "AlphaLoot config profile names": [], "AlphaLoot config profile names for AirDrop": [], "Juggernaut config": [ "easy" ], "Surrender costs": 200 }, "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": [], "AlphaLoot config profile names": [], "AlphaLoot config profile names for AirDrop": [], "Juggernaut config": [ "easy" ], "Surrender costs": 400 }, "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": [], "AlphaLoot config profile names": [], "AlphaLoot config profile names for AirDrop": [], "Juggernaut config": [ "easy" ], "Surrender costs": 600 }, "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": [], "AlphaLoot config profile names": [], "AlphaLoot config profile names for AirDrop": [], "Juggernaut config": [ "medium" ], "Surrender costs": 800 }, "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": [], "AlphaLoot config profile names": [], "AlphaLoot config profile names for AirDrop": [], "Juggernaut config": [ "medium" ], "Surrender costs": 1000 } } }, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Use total players on tc check on type": false, "Enable combine npc kills list": false, "Combine npc kills list": [ "scientistnpc_patrol", "scientistnpc_oilrig", "scientistnpc_heavy", "sentry.scientist.barge", "sentry.scientist.barge.static", "sentry.scientist.static", "heavyscientist_youtooz.deployed", "ch47scientists.entity", "scientist_corpse", "scientistnpc_arena", "scientistnpc_cargo", "scientistnpc_cargo_turret_any", "scientistnpc_cargo_turret_lr300", "scientistnpc_ch47_gunner", "scientistnpc_excavator", "scientistnpc_full_any", "scientistnpc_full_lr300", "scientistnpc_full_mp5", "scientistnpc_full_pistol", "scientistnpc_full_shotgun", "scientistnpc_junkpile", "sientistnpc_peacekeeper", "scientistnpc_roam", "scientistnpc_roam_nvg_variant", "scientistnpc_roamtethered", "npc_tunneldweller", "npc_tunneldwellerspawned", "npc_underwaterdweller", "scarecrow" ], "Combine Profile to use": { "Total amount of Npc killed before chance can happen": 70, "Reset kill count after chance happened": false, "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" ] }, "Npc kills settings": { "scientistnpc_heavy": { "Total amount of Npc killed before chance can happen": 30, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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, "Reset kill count after chance happened": false, "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": 7, "Patch": 7 } }
-
Raidable Bases
Create fully automated raidable bases with NPCs in Rust
This is the premium version of Raidable Bases. The differences between this and the free version are too many to list. A few key differences are: five (5) difficulties and associated loot table functionality instead of one (1), buyable events, lockouts for players.
Requires latest version of CopyPaste or bases to work. It also requires that you have copypaste files already made. Raidable bases will be spawned using the CopyPaste plugin. This plugin does NOT come with any bases. Packages are sold separately that include bases.
Check out my packages for this plugin for tier1, tier2, and tier3 which contain everything you need to get the plugin working in minutes with all bases and loot already configured for you! Packages are sold separately.
RBE DEBUG
This command exists to aid with issues regarding your configuration, profiles and/or map by displaying information, both good and bad, related to finding spawn points and spawning of bases. It is your responsibility to use this command before asking for help.
Loot Table Editor by @beee😎
https://codefling.com/tools/raidable-bases-loot-table-editor
There are just a few steps required to get bases spawn on your server within minutes.
👉 You must have the CopyPaste plugin installed. (Disclaimer: Configuring this to your servers specific needs will require a lot of time and effort) 👈
Step 1: Obtain Your Bases
You can get bases by:
Downloading them from Fortify Purchasing a tier package from me Buying a base package from third-party sellers (be wary that some sellers include items in their CopyPaste files!) Creating your own bases Step 2: Set Up Profiles
Profiles are located in:
oxide/data/RaidableBases/Profiles/ carbon/data/RaidableBases/Profiles/ There are five different profiles. You can add the filenames of your CopyPaste bases manually, or by using the command:
For example (You must use straight double quotes. Curly double quotes are not supported!):
Step 3: Edit the Configuration
The configuration file is located in:
oxide/config/RaidableBases.json carbon/configs/RaidableBases.json Make the following changes:
Always Maintain Max Events: Set this to true. Max Maintained Events: Set this to the number of bases you want to spawn. Minimum Required Players Online: If you want bases to spawn even when no players are online, set this to 0. Step 4: Save and Reload
After making your changes:
Save your files. Reload the plugin. The bases will now start spawning automatically. They will use the Default Loot table, located in:
oxide/data/RaidableBases/Default_Loot.json carbon/data/RaidableBases/Default_Loot.json Step 5: Customize Loot Tables
Refer to the documentation to learn how to set up your own custom loot tables.
Additional Information
If you want buyable events using the /buyraid command, you can set a cost under the Buyable Event Costs section. This includes:
Economics Buy Raid Costs ServerRewards Buy Raid Costs Custom Buy Raid Costs Tips for Customizing Your Setup
The plugin has many settings to customize. No guide can cover everything, so you will need to go through each setting and adjust it to meet your server’s needs.
Important:
Make backups as you configure the settings. Don’t rush—take it one step at a time. ❤️ ❤️❤️ If you feel overwhelmed or frustrated, take a break and return to it later. I am always here to answer your questions and help you (even if it takes some hours for me to respond). ❤️❤️❤️
Tutorial
This is not your run-of-the-mill plugin. DO NOT INSTALL WITHOUT READING THIS DOCUMENTATION FIRST. This plugin is extremely advanced and requires utmost attention to detail to configure properly. Jumping around in the configuration file or profiles will lead to more problems than it's worth. Take your time to understand each option before enabling or disabling its functionality.
Raidable Bases is an independent expansion of Dangerous Treasures. You may learn how to enable the expansion mode below. It does not require Dangerous Treasures for any other purpose.
Configuration
Loot Tables
The plugin comes with some very basic items (Default_Loot.json) that only serve as a demo loot list for you to either delete or expand upon. In order to make any use of the plugin (beyond demonstration) you will have to create your own loot lists instead.
It will take a very long time to configure your loot tables, and fine-tune each to your specific needs. To start, I recommend that you use the rb.populate all command. This creates files in the Editable_Lists folder for each difficulty that contain every item in the game. Edit each file and set the amounts for the items that you want to spawn, and remove those that you do not want to spawn. It may look intimidating editing a list of 660 items, but don't underestimate how easy it is to delete items from a list compared to adding each one manually.
Items that have their amount AND amountMin set to 0 will not spawn. So you may either delete these items from the list, or come back to them later. If you set amountMin to 0 then chance will determine if the item spawns or not, and another item will not replace it unless there are extra items available (as of 1.7.3).
You can set the item skin that you want to use, but I suggest using the Skins settings in the configuration file to use random skins, or none at all.
The rb.populate command which populates the Editable_Lists folder also includes items already inside of your Difficulty_Loot folder. This allows you to easily repopulate lists in order to re-evaluate which items spawn at a later date.
Files inside of the Editable_Lists folder must be copied into an existing loot file in order to use the loot table. As the name implies, it is for editing only.
- If you want to use Editable_Lists/Easy.json for your Easy bases then copy the contents of the file into the Difficulty_Loot/Easy.json file.
- If you want to use Editable_Lists/Expert.json for the Expert Bases.json profile, then you must copy the contents of the Expert.json file into the Bases_Loot/Expert Bases.json file
probability - the chance that the item can spawn. value must be between 0.0 and 1.0 where 1.0 is 100% chance
Loot Priority
Loot is pulled from all datafiles within the oxide/data/RaidableBases/ folder with the exception of the Profiles folder which is used to configure bases.
oxide/data/RaidableBases/Base Loot - If a loot table exists in this folder with the same name as a profile then all of the bases in that profile will use this loot table. If you want items in this loot table to always spawn then you must enable Always Spawn Base Loot Table in the respective profile.
oxide/data/RaidableBases/Difficulty Loot - Items will be chosen from these files based on the difficulty of each profile.
If Use Day Of Week Loot is enabled then it will choose the loot table for that specific day. Otherwise, it will pick from Default_Loot.json. This is the default list, and is only used when all other loot tables do not have a sufficient amount of loot to spawn based on the Amount Of Items To Spawn setting.
Loot Settings
Allow Duplicate Items - This is useful when you do not have enough items in your loot tables , and you want to spawn Amount Of Items To Spawn by using the same items more than once. Amount Of Items To Spawn - This is the number of items that you want to spawn. If you do not have enough items in your loot tables then it will only spawn the amount that you have available. It will not spawn items if the container does not have enough space. Drop Tool Cupboard Loot After Raid Is Completed (false) Divide Loot Into All Containers - This allows you to divide loot evenly from all of your loot lists into all containers when enabled. You MUST increase or decrease Amount Of Items To Spawn respective to how many items you want in each container. This includes large boxes, small boxes, coffins and storage barrels. Optional settings include (in order of priority) cupboard, bbq, oven, fridge and lockers. Allow Players To Pickup Deployables (false) - As name implies, overridden by Entities Not Allowed To Be Picked Up Allow Players To Deploy A Cupboard (true) - Block players from placing a TC after destroying the TC in the base. Drop Container Loot X Seconds After It Is Looted (false) - Prevent players from cherry picking items and leaving the rest, in order to despawn the raid quicker. Drop Container Loot Applies Only To Boxes And Cupboards (true) - As name implies Empty All Containers Before Spawning Loot (true) - Useful if using CopyPaste files that contain loot already - I suggest leaving this true as it can complicate how many items spawn if there are too few inventory slots remaining. Ignore Containers That Spawn With Loot Already (false) - Useful if you want specific loot to spawn from a copypaste file. Require Cupboard Access To Loot (false) - Prevent all players from looting until they reach the TC, or destroy it. Skip Treasure Loot And Use Loot In Base Only (false)" - Useful if you want all loot to spawn from a copypaste file - not recommended - will allow players to memorize which boxes to raid and ignore the rest. Always Spawn Base Loot Table (false) - Very useful if you want items in the Base_Loot file to always spawn (such as C4, rockets, ammo, etc)
Settings
Blacklisted Commands (none) - prevents players from using these commands inside of a raid base Automatically Teleport Admins To Their Map Marker Positions (true) - right-click map to teleport (requires raidablebases.mapteleport permission) Block Wizardry Plugin At Events (false) - Block players from using wands Chat Steam64ID (0) - The steam profile icon to show in chat messages Expansion Mode (Dangerous Treasures) (false) - Allow Dangerous Treasures to take over a random box for its event Remove Admins From Raiders List (false) - Allows admins to help players without receiving any rewards Show X Z Coordinates (false) - Show X Z coordinates alongside grid location Buy Raid Command (buyraid) - Opens the buyable UI to purchase raids for each difficulty Event Command (rbe) - Specify command name Hunter Command (rb) - Specify command name Server Console Command (rbevent) - Specify command name
Raid Management
Allow Teleport (false) - Allow/prevent players from teleporting Allow Cupboard Loot To Drop (true) - Allows loot to drop when TC is destroyed by a player Allow Players To Build (true) Allow Players To Use Ladders (true) Allow Players To Deploy Barricades (true) Allow Players To Upgrade Event Buildings (false) - Prevent players from upgrading buildings with no TC to prevent this otherwise Allow Player Bags To Be Lootable At PVP Bases (true) - Bypasses Prevent Looting plugin Allow Player Bags To Be Lootable At PVE Bases (true) - Bypasses Prevent Looting plugin Allow Traps To Drop Loot (false) - Allow traps such as guntraps and turrets to drop loot on death Allow Players To Loot Traps (false) - Allows players to loot traps such as guntrap and turrets with TC access Allow Raid Bases On Roads (true) Allow Raid Bases On Rivers (true) Allow Raid Bases On Building Topology (true) - Specifically added for custom map makers Allow Vending Machines To Broadcast (false) - Prevents vending machines from showing on the map Allow Bases To Float Above Water (false) - Keyword: FLOAT Allow Bases To Spawn On The Seabed (false) Prevent Bases From Floating Above Water By Also Checking Surrounding Area (false) - Keyword: FLOAT Maximum Water Depth Level Used For Float Above Water Option (1.0) - Keyword: FLOAT, but allows you to prevent on water if the value is low enough Backpacks Can Be Opened At PVE Bases (true) Backpacks Can Be Opened At PVP Bases (true) Backpacks Drop At PVE Bases (false) - Will drop a backpack on death, even if explicity disabled in Backpack configuration (requires Backpacks 3.4.0 ) Backpacks Drop At PVP Bases (false) Block Mounted Damage To Bases And Players (false) - Prevent players from dealing damage while on mini, scrap heli, etc Block RestoreUponDeath Plugin For PVP Bases (false) Block RestoreUponDeath Plugin For PVE Bases (false) Bypass Lock Treasure To First Attacker For PVE Bases (false) - Do not set an owner for PVE bases Bypass Lock Treasure To First Attacker For PVP Bases (false) - Do not set an owner for PVP bases Despawn Spawned Mounts (true) - Allows mounts such as mini or scrap heli to remain if not abandoned when raid despawns Do Not Destroy Player Built Deployables (true) - Loot is not lost if the plugin destroys a player's box with this option - it is dropped on the ground in a grey loot container just as if they destroyed the box themselves Do Not Destroy Player Built Structures (true) Divide Rewards Among All Raiders (true) Draw Corpse Time (Seconds) (300.0) - The amount of time the players corpse location is drawn on their screen Eject Sleepers Before Spawning Base (true) Extra Distance To Spawn From Monuments (0.0) Flame Turrets Ignore NPCs (false) - Can help with performance on some servers Maximum Land Level (2.5) - The allowed height of the surrounding terrain for spawning bases (this should never be changed) Move Cookables Into Ovens (true) Move Food Into BBQ Or Fridge (true) Move Resources Into Tool Cupboard (true) Move Items Into Lockers (true) Lock Treasure To First Attacker (true) - Sets the first attacker as the owner of a raid. You must set eject enemies settings in each profile if you do not want players entering private raids Lock Treasure Max Inactive Time (Minutes) (20.0) - Resets the raid as public after this time Assign Lockout When Lock Treasure Max Inactive Time Expires (false) - useful those who partially raid bases in order to avoid the lockout timer Lock Players To Raid Base After Entering Zone (false) - Forces players to be locked to a raid once they enter it, even on accident Only Award First Attacker and Allies (false) Minutes Until Despawn After Looting (min 1) (15) - The time until the base despawns after being raided Minutes Until Despawn After Inactive (0 = disabled) (45) - The time until the base despawns after being inactive Minutes Until Despawn After Inactive Resets When Damaged (true) - Resets the time until the base despawns when it is damaged by a player Mounts Can Take Damage From Players (false) Mounts Can Take Damage From SamSites (true) Player Cupboard Detection Radius (100.0) - Extra layer of protection to prevent raid bases from spawning too closely to player bases (this should never be under 100 and never too high either, 100-200 at most) Players With PVP Delay Can Damage Anything Inside Zone (false) - Applies specifically to PVP raid bases Players With PVP Delay Can Damage Other Players With PVP Delay Anywhere (false) PVP Delay Between Zone Hopping (10.0) - The amount of time players can take damage while on a PVE server after stepping outside of a PVP zone - prevents exploiting - recommended value: 120 Prevent Fire From Spreading (true) - Helps with server performance by preventing forest fires, err, fire from spreading after initial spawn Prevent Players From Hogging Raids (true) - Prevents players from tagging multiple raids at once Require Cupboard To Be Looted Before Despawning (false) Destroying The Cupboard Completes The Raid (false) Require All Bases To Spawn Before Respawning An Existing Base (false) - Rotate through all bases specific to each difficulty before reusing an existing base Turn Lights On At Night (true) Turn Lights On Indefinitely (false) Traps And Turrets Ignore Users Using NOCLIP (false) Use Random Codes On Code Locks (true) Wait To Start Despawn Timer When Base Takes Damage From Player (false) - Prevents the inactive despawn timer from starting until it is damaged by a player. Combos well when inactive resets is disabled by giving players a limited time to finish a raid once they start it Additional Containers To Include As Boxes (none) - example: vendingmachine
Eject Mounts
Boats (false) - Set any true to prevent them from entering a raid base Cars (Basic) (false) Cars (Modular) (false) Campers (true) Chinook (false) Flying Carpet (false) Horses (false) HotAirBalloon (true) MiniCopters (false) Pianos (true) Scrap Transport Helicopters (false) All Other Mounts (false) All Controlled Mounts (false) - Mounts controlled via another plugin Max Amount Of Players Allowed To Enter Each Difficulty (0 = infinite, -1 = none) (infinite)
Easy Difficulty => Amount (0) Medium Difficulty => Amount (0) Hard Difficulty => Amount (0) Expert Difficulty => Amount (0) Nightmare Difficulty => Amount (0)
Max Amount Allowed To Automatically Spawn Per Difficulty (0 = infinite) -1 = disabled)
Easy (0) - Specifies how many of each difficulty can be spawned at any given time Medium (0) Hard (0) Expert (0) Nightmare (0)
Player Lockouts (0 = ignore) - this is for PUBLIC raids where buyable events use the Buyable Cooldowns and these are not shared - players may still do 1 public and 1 buyable event if these are both enabled
Time Between Raids In Minutes (Easy) (0.0) - Set a cooldown before the player can enter another raid base Time Between Raids In Minutes (Medium) (0.0) Time Between Raids In Minutes (Hard) (0.0) Time Between Raids In Minutes (Expert) (0.0) Time Between Raids In Minutes (Nightmare) (0.0) Block Clans From Owning More Than One Raid (false) - Prevent clans from hogging multiple raid bases Block Friends From Owning More Than One Raid (false) Block Teams From Owning More Than One Raid (false)
Easy|Medium|Hard|Expert|Nightmare Raids Can Spawn On
Monday (true) Tuesday (true) Wednesday (true) Thursday (true) Friday (true) Saturday (true) Sunday (true)
Difficulty Colors (Border)
Easy (000000) Medium (000000) Hard (000000) Expert (000000) Nightmare (000000)
Difficulty Colors (Inner)
Easy (00FF00) Medium (FFEB04) Hard (FF0000) Expert (0000FF) Nightmare (000000)
Map Markers
Marker Name (Raidable Base Event) Radius (0.25) Use Vending Map Marker (true) Show Owners Name on Map Marker (true) Use Explosion Map Marker (false) Create Markers For Buyable Events (true) Create Markers For Maintained Events (true) Create Markers For Scheduled Events (true) Create Markers For Manual Events (true)
Buyable Events
Do Not Reward Buyable Events (false) Refunds > Refund Despawned Bases (false) Refunds > Refund Percentage (100.0) Refunds > Refund Resets Cooldown Timer (false) Refunds > Block Refund If Base Is Damaged (true) Cooldowns (0 = No Cooldown) VIP Permission (raidablebases.vipcooldown (300.0) Admin Permission (raidablebases.allow (0.0) Server Admins (0.0) Normal Users (600.0) Allow Players To Buy PVP Raids (false) - If all of your profiles have PVP enabled then players will NOT be able to buy any raids! Convert PVE To PVP (false) Convert PVP To PVE (false) Distance To Spawn Bought Raids From Player (500.0) Lock Raid To Buyer And Friends (true) Ignore Player Entities At Custom Spawn Locations (false) Ignore Safe Checks (false) - if enabled will prevent the plugin from checking the area for a TC, buildings, or deployables Max Buyable Events (1) Reset Purchased Owner After X Minutes Offline (10.0) Spawn Bases X Distance Apart (100.0) - most maps cannot support this being above 200 ! Spawns Database File (Optional) (none) - Useful if you want buyable raids to spawn in specific locations using spawn files from the Spawns Database plugin
Maintained Events
Always Maintain Max Events (false) - Spawn another raid soon after one despawns Ignore Player Entities At Custom Spawn Locations (false) - spawn regardless of what player entities are built in the area Chance To Randomly Spawn PVP Bases (0 = Ignore Setting) (0.0) - Overrides all PVP Allow profile settings for a chance to make the raid PVE or PVP Convert PVE To PVP (false) Convert PVP To PVE (false) Include PVE Bases (true) Include PVP Bases (true) Ignore Safe Checks (false) - Bypass checks that ensure no buildings or other objects are blocking the spawn Minimum Required Players Online (1) - Max Maintained Events (1) - How many bases you want available at any given time Spawn Bases X Distance Apart (100.0) - most maps cannot support this being above 200 ! Spawns Database File (Optional) (none) - Useful if you want maintained raids to spawn in specific locations using spawn files from the Spawns Database plugin Time To Wait Between Spawns (15.0) - Wait a specific time frame between each paste (can be set to 0)
Manual Events
Convert PVE To PVP (false) Convert PVP To PVE (false) Max Manual Events (1) Spawn Bases X Distance Apart (100.0) Spawns Database File (Optional) (none) - Useful if you want manually spawned raids to spawn in specific locations using spawn files from the Spawns Database plugin
Scheduled Events
Enabled (false) - Spawn raids on a timer specific to random amount of time between Every Min and Every Max Seconds Ignore Player Entities At Custom Spawn Locations (false) - spawn regardless of what player entities are built in the area Chance To Randomly Spawn PVP Bases (0 = Ignore Setting) (0.0) - Overrides all PVP Allow profile settings for a chance to make the raid PVE or PVP Convert PVE To PVP (false) Convert PVP To PVE (false) Every Min Seconds (3600.0) Every Max Seconds (7200.0) Include PVE Bases (true) Include PVP Bases (true) Ignore Safe Checks (false) - Bypass checks that ensure no buildings or other objects are blocking the spawn Max Scheduled Events (1) Max To Spawn At Once (0 = Use Max Scheduled Events Amount) (0) Minimum Required Players Online (1) Spawn Bases X Distance Apart (100.0) - most maps cannot support this being above 200 ! Spawns Database File (Optional) (none) - Useful if you want scheduled raids to spawn in specific locations using spawn files from the Spawns Database plugin Time To Wait Between Spawns (15.0) - Wait a specific time frame between each paste (can be set to 0)
Economics Buy Raid Costs (0 = disabled) - if you do not configure at least one cost for Buyable Events then players will not be able to buy any raids
Easy (0.0) - How much each raid costs, use the /buyraid command to see the UI Medium (0.0) Hard (0.0) Expert (0.0) Nightmare (0.0)
ServerRewards Buy Raid Costs (0 = disabled) - if you do not configure at least one cost for Buyable Events then players will not be able to buy any raids
Easy (0) - How much each raid costs, use the /buyraid command to see the UI Medium (0) Hard (0) Expert (0) Nightmare (0)
Custom Buy Raid Costs (false = disabled) - if you do not configure at least one cost for Buyable Events then players will not be able to buy any raids
Easy (50 scrap) - How much each raid costs, use the /buyraid command to see the UI Medium (100 scrap) Hard (150 scrap) Expert (200 scrap) Nightmare (250 scrap) All are disabled by default. All can require its own specific item.
Allowed Zone Manager Zones
List: pvp, 99999999 - the list of zones where raid bases may spawn at - Zone Manager is not required to use this plugin. Use Grid Locations In Allowed Zone Manager Zones Only - forces all spawns into zones by Zone Manager. Adding flags to your zones may conflict with this plugin. Use of Spawns Database plugin is advised instead
Event Messages
Notify Plugin (-1 = disabled) Notification Interval (1 second) Announce Raid Unlocked (false) Announce Buy Base Messages (false) Announce Thief Message (true) Announce PVE/PVP Enter/Exit Messages (true) Show Destroy Warning (true) Show Opened Message (true) Show Opened Message For Paid Bases (true) Show Prefix (true) Show Messages To Player (true) - set false if you do not want players to receive CHAT messages, other messages from notifications will still show GUIAnnouncements and Advanced Alerts plugins can be used instead of CHAT messages
Advanced Alerts
Enabled (true) Anchor Min and Max Time Shown (5) Panel Alpha (0.98) Background Color Title Background Color GUIAnnouncements
Enabled (false) Banner Tint Color (Grey) Maximum Distance (300.0) Text Color (White)
Lusty Map
Enabled (false) Icon File (http://i.imgur.com/XoEMTJj.png) Icon Name (rbevent) Icon Rotation (0.0)
Ranked Ladder (based on points system)
Award Top X Players On Wipe (3) - Set 0 to disable permissions and groups from being created. Every wipe the top 3 players are awarded the raidablebases.th permission and raidhunter group. Used with plugins that give titles based on permissions/groups, such as BetterChat Enabled (true) Difficulty Points (for each difficulty) Assign To Owner Of Raid Only (false) Assign Rank After X Completions
- Players that complete the required amount of completions will receive the relevant above permission and group automatically
- Set value above 0 to enable this feature for any given difficulty as it is disabled for all difficulties by default Permissions and groups are given to players for being top 3 in each difficulty at the end of a wipe
Set Award Top X Playrs On Wipe to 0 to disable these permissions and groups from being created.
permissions: raidablebases.ladder.easy, raidablebases.ladder.medium, raidablebases.ladder.hard, raidablebases.ladder.expert, raidablebases.ladder.nightmare, raidablebases.th groups: raideasy, raidmedium, raidhard, raidexpert, raidnightmare, raidhunter
Skins (Boxes, Loot Items, Npcs all have there own settings) (skin settings revamped in 2.7.4)
Use Identical Skins Include Workshop Skins (true) Use Random Skin (true) Use Imported Workshop Skins File (true) - copy existing Imported Workshop Skins section from Skinbox to the Imported Workshop Skins json file to apply. Boxes (including above Skins options)
Preset Skins - you can add any box skin here and it will randomly apply to any relevant box this skin can be used with Loot Items (including above Skins options)
Use Identical Skins For Stackable Items Use Identical Skins For Non-Stackable Items
Deployables (including above Skins options)
List: Partial Names (door, barricade, chair, fridge, furnace, locker, reactivetarget, rug, sleepingbag, table, vendingmachine, waterpurifier, skullspikes, skulltrophy, summer_dlc, sled) Skin Everything (true) - if true then the Partial Names list will not be used Preset Door Skins - you can add any door skin here and it will randomly apply to any relevant door this skin can be used with Ignore If Skinned Already (false)
Treasure
Resources Not Moved To Cupboards (skull.human, battery.small, bone.fragments, can.beans.empty, can.tuna.empty, water.salt, water, skull.wolf) Use Day Of Week Loot (false) Do Not Duplicate Base Loot (false) Do Not Duplicate Difficulty Loot (false) Do Not Duplicate Default Loot (false) Use Stack Size Limit For Spawning Items (false)
Status UI - Shows PVE/PVP, time left, amount of loot left and the status of owner
Details UI - Shows owner and active status
Delay UI - Shows UI for PVP delay
Buyable Cooldowns UI - Shows UI for the Buyable Cooldowns option
Buyable Events UI - Shows players a UI for buying events including the primary cost
Lockouts UI - Shows UI for the Player Lockouts option
Enabled Offset Min Offset Max Panel Alpha Font Size Background Color Title Background Color etc
Weapons
Fog Machine Allows Motion Toggle (true) Fog Machine Requires A Power Source (true) SamSite Repairs Every X Minutes (0.0 = disabled) (5.0) SamSite Range (350.0 = Rust default) (75.0) Test Generator Power (100.0) Tesla Coil settings in profiles
Infinite Ammo
AutoTurret (true) FlameTurret (true) FogMachine (true) GunTrap (true) SamSite (true)
Ammo
AutoTurret (256) FlameTurret (256) FogMachine (5) GunTrap (128) SamSite (24)
Tesla Coil (profiles)
Requires A Power Source (true) Max Discharge Self Damage Seconds (0 = None) 120 = Rust default) (0.0) Max Damage Output (35.0)
Profiles
Difficulty (0 = easy, 1 = medium, 2 = hard, 3 = expert, 4 = nightmare) (0) - very first setting. If your raids show as NORMAL then you're using the free plugin. If all bases show as EASY then this setting is not configured. Entities Not Allowed To Be Picked Up (List: generator.small, generator.static autoturret_deployed - overrides Allow Players To Pickup Deployables) Additional Bases For This Difficulty (default) - A list of bases to use within this profile Paste Options (default) - Paste options specific to the profiles filename if it is also a base Profile Enabled (true)- Useful for disabling a profile instead of deleting it Add Code Lock To Unlocked Or KeyLocked Doors (true) Add Code Lock To Boxes (false) Add Code Lock To Tool Cupboards (false) Close Open Doors With No Door Controller Installed (true) Allow Duplicate Items (false) - [Explained above] Allow Players To Pickup Deployables (false) - [Explained above] Allow Players To Deploy A Cupboard (true)- [Explained above] Allow PVP (true) Allow Friendly Fire (Teams) (true) Amount Of Items To Spawn (30) - [Explained above] Minimum Amount Of Items To Spawn (0 = Use Max Value) (0) Flame Turret Health (300.0) Block Plugins Which Prevent Item Durability Loss (false) - Force items to take condition losses Block Damage Outside Of The Dome To Players Inside (false) - Prevent damage from outside of the dome to players inside of the dome Block Damage Outside Of The Dome To Bases Inside (false) - Prevent damage from outside of the dome to the base inside Block Damage Inside From Npcs To Players Outside (false) Building Blocks Are Immune To Damage (false) Boxes Are Invulnerable (false) Spawn Silently (No Notifcation, No Dome, No Map Marker) (false) Divide Loot Into All Containers (true) - [Explained above] Drop Container Loot X Seconds After It Is Looted (0.0) - [Explained above] Drop Container Loot Applies Only To Boxes And Cupboards (true) - [Explained above] Create Dome Around Event Using Spheres (0 = disabled, recommended = 5) (5) - A visible dome for players to distinguish raid bases from player bases Empty All Containers Before Spawning Loot (true) - [Explained above] Eject Corpses From Enemy Raids (Advanced Users Only) (true) - Prevents corpses from remaining inside of a raid when it becomes private and prevents the user from looting it Eject Enemies From Purchased PVE Raids (true) - Useful when Lock Raid To Buyer And Friends is enabled Eject Enemies From Purchased PVP Raids (false) Eject Enemies From Locked PVE Raids (true) - Useful when Lock Treasure To First Attacker is enabled Eject Enemies From Locked PVP Raids (false) Explosion Damage Modifier (0-999) (100.0) - Modify the damage of all explosives Force All Boxes To Have Same Skin (true) Ignore Containers That Spawn With Loot Already (false) - [Explained above] Penalize Players On Death In PVE (ZLevels) (true) Penalize Players On Death In PVP (ZLevels) (true) Loot Amount Multiplier (1.0) - useful to scale loot amounts without having to adjust them all individually Protection Radius (50.0) - This options controls every single option and feature that relies explicity on distance or radius in one regard or another. Setting an incorrect value, either too low, or too high, will break the functionality of the plugin. It's best to leave it alone. Require Cupboard Access To Loot (false) - [Explained above] Minimum Respawn Npc X Seconds After Death (0.0) - Useful in simulating a real raid where players respawn Maximum Respawn Npc X Seconds After Death (0.0) Skip Treasure Loot And Use Loot In Base Only (false) - [Explained above] Always Spawn Base Loot Table (false) - [Explained above] -
Arena Walls
Enabled (true) Extra Stacks (1) - How many times you want walls to stack on top of one another Use Stone Walls (true) - set false to use wooden walls instead Use Iced Walls (false) - not advised to use this as it can cause client lag (not a plugin issue) Use Least Amount Of Walls (true) Use UFO Walls (false) - Walls spawn horizontally instead of vertically Radius (25.0)
NPC Levels
Level 2 - Final Death (false) - Respawns all npcs when raid is completed
NPCs
Enabled (true) Spawn Inside Bases (Options: Spawn On Floors, Spawn On Rugs, Spawn On Beds) Murderer Items Dropped On Death (none) Scientist Items Dropped On Death (none) Murderer (Items) (metal.facemask, metal.plate.torso, pants, tactical.gloves, boots.frog, tshirt, machete) Scientist (Items) (hazmatsuit_scientist, rifle.ak) Murderer Kits (murderer_kit_1, murderer_kit_2) - Kits have priority over these lists of items Scientist Kits (scientist_kit_1, scientist_kit_2) Random Names (none) - Spawn with a custom random name instead of a provided random name Amount To Spawn (3) Aggression Range (70.0) - Aggression range is increased by 250 meters when engaged Despawn Inventory On Death (true) Health For Murderers (100 min, 5000 max) (150.0) Health For Scientists (100 min, 5000 max) (150.0) Minimum Amount To Spawn (1) Use Dangerous Treasures NPCs (false) - Tells Dangerous Treasures to control and outfit the NPCs instead Spawn Murderers And Scientists (true) Scientist Weapon Accuracy (0 - 100) (30.0) - These bots are meant to be savages. 30% is average for highly skilled players, while the average player has 10-20% accuracy Spawn Murderers (false) Spawn Random Amount (false) Spawn Scientists Only (false)
Rewards
Economics Money (0.0) - How much is rewarded after a raid. Overridden by Divide Rewards Among All Raiders ServerRewards Points (0) Change Building Material Tier To
Wooden (false) - Useful for upgrading or downgrading buildings automatically Stone (false) Metal (false) HQM (false) Change Door Type To
Wooden (false) - Useful for upgrading or downgrading doors automatically Metal HQM Player Building Restrictions
Wooden (false) Stone (false) Metal (false) HQM (false) Auto Turrets
Aim Cone (5.0) - shots fired will spread into a cone pattern based on this radius. Lowering this value will group the shots closer together. Minimum Damage Modifier (1.0) Maximum Damage Modifier (1.0) Start Health (1000.0) Sight Range (30.0) Set Hostile (False = Do Not Set Any Mode) (true) Requires Power Source (false) Remove Equipped Weapon (false) Weapon To Equip When Unequipped (null = Do Not Equip) (rifle.ak)
Permissions
raidablebases.allow -- Allows player to use the available ADMIN commands. This is NOT recommended as players can use the commands 'buyraid' and 'rb' already. raidablebases.canbypass permission (or to be flying) to bypass dome restrictions (this previously worked for admins, but now requires the permission instead) raidablebases.blockbypass permission to bypass Owning More Than One Raid settings for Clans/Friends/Teams raidablebases.mapteleport Teleporting to map marker now simply requires this permission and to be enabled in config raidablebases.ddraw allows support for FauxAdmin users raidablebases.config allows use of the rb.config command in-game (server console does not require this permission) raidablebases.banned bans the user from entering any raids - DO NOT GIVE THIS TO THE DEFAULT GROUP LOL raidablebases.durabilitybypass to bypass `Block Plugins Which Prevent Item Durability Loss` raidablebases.notitle permission to exclude users from ranked title rewards See other permissions using Permissions Manager Players do not require any permissions by default.
Grid
This plugin creates it's own spawn points automatically, which cover the entirety of your server's map when the plugin is loaded. This is created one-time when the plugin loads. The grid maintains itself without requiring any input.
You may view the grid by typing /rb grid in-game to view detailed drawings of all locations on the grid.
X - green - possible spawn point
X - Red - currently in use
C - Cyan - construction detected nearby
TC - yellow - TC detected nearby
W - blue - water depth is too high - refreshes on ocean level change
Each location on the grid is checked a second time before spawning a base to insure it does not spawn the base on players or their buildings.
You can disable using the grid by providing a valid spawn file for each raid type (buyable, maintained, scheduled and manual).
Commands
buyraid - buys a raid, eg: buyraid easy, buyraid easy steamid, buyraid 0, buyraid 0 steamid. I suggest typing the command and using the UI to buy bases. rb - for players to see the ladder (also for admins to see the status of each raid going on, which includes showing the allies and owners of each raid) rb ui [lockouts|status] - COMMAND REMOVED rbe despawn - despawns a players purchased base if they have raidablebases.despawn.buyraid permission For admins, or players with the admin permission raidablebases.allow: rbe debug - toggles debug messages shown every second to server console for maintained and scheduled warning messages rb grid - see the grid and all monument names rb resettime - reset the time for the next scheduled event rb savefix - to cancel a server save that has become stuck - requires authlevel 2 rb prod - to gather information from a raid base entity for debugging purposes - requires admin or raidablebases.allow rbe - spawns a base at the position you are looking at. You cannot spawn a base on a player (including yourself) rbe draw - draw the raids radius rbe despawn - despawn a base near you (can be used by players with raidablebases.despawn.buyraid permission to despawn a base they purchased) rbe despawnall - despawn all bases rbe [basename] [difficulty] - spawn a raid at the location you are looking at rbe expire steamid|playername - removes a lockout for a specific player rbe expireall rbevent [basename] [difficulty] - spawn a raid randomly on the map - and teleport to it if using the command in-game rb.reloadconfig - allows you to reload the config without needing to reload the plugin. Some changes are not applied immediately, and no changes are retroactive to bases that are already spawned. rb.config - allows you to edit the config by adding, removing, and listing bases. Requires the permission raidablebases.config when not being used from the server console. rb.toggle - toggles Maintained Events and Scheduled Events on/off, if enabled in the config, until plugin reloads rbe setowner name - Sets the player as the owner of the raid rbe clearowner - Clears the owner of the raid Additional Bases allows you to add additional files to an existing base so that all bases in that list share the same configuration as the primary base/profile. This is great for setting up a list of bases for easy, medium, hard, expert and nightmare.
Command rb.populate will populate specific loot tables with every item in the game (items are disabled by default as their amounts are set to 0)
Arguments: rb.populate easy medium hard expert nightmare loot all Arguments: rb.populate 0 1 2 3 4 loot all easy - Populates oxide/data/RaidableBases/Editable_Lists/Easy.json medium - Populates oxide/data/RaidableBases/Editable_Lists/Medium.json hard - Populates oxide/data/RaidableBases/Editable_Lists/Hard.json expert - Populates oxide/data/RaidableBases/Editable_Lists/Expert.json nightmare - Populates oxide/data/RaidableBases/Editable_Lists/Nightmare.json loot - Populates oxide/data/RaidableBases/Editable_Lists/Default_Loot.json all - Populates ALL above loot tables Configure the items to your liking then copy the files contents into a loot table that you would like to use (for example Difficulty Loot/Easy.json) You cannot use loot tables in the config file anymore. Use the data directory (oxide/data/RaidableBases)
API
No return behavior:
void OnRaidableBaseStarted(Vector3 raidPos, int mode, bool allowPVP) void OnRaidableBaseEnded(Vector3 raidPos, int mode, bool allowPVP) void OnPlayerEnteredRaidableBase(BasePlayer player, Vector3 raidPos, bool allowPVP, int mode) void OnPlayerExitedRaidableBase(BasePlayer player, Vector3 raidPos, bool allowPVP, int mode) OnRaidableBaseDespawn, OnRaidableBaseDespawned, OnRaidableBasePrivilegeDestroyed, OnRaidableBaseCompleted find more hooks and arguments by searching for CallHook in the plugin file
Tips
Players will be considered raiders after looting, killing an npc, using explosives, eco raiding, destroying a building block/high wall/door or dealing damage from INSIDE of the dome You must change easybase1, mediumbase2, expertbase3, etc to the name of your CopyPaste files, or vis-versa. This plugin doesn't create bases for you. You can use the rb.config command (rb.config add "easy bases" easybase1 easybase2 0) in the server console to make this process easier. You can rename all profiles or additional base filenames. When copying a base with CopyPaste, make certain that you copy the base from eye level of the CENTER foundation within the base, or slightly clipped into this foundation with noclip. Whichever provides better results for you. You must verify that the base pastes down correctly (with /paste command) after you've copied it. I would not change autoheight from false to true. height is the distance the base is spawned off of the ground. elevation determines how flat the surrounding terrain must be in order for bases to spawn on it Scheduled Events is how often you want a random base to spawn on the map. This is disabled by default. This randomness comes from Every Min Seconds and Every Max Seconds Maintain Events will always spawn the Max Events amount of bases on your map. This is disabled by default. When one despawns, another will take its place shortly after. Allow Teleport will prevent players from teleporting when disabled. Compatible with NTeleportation or any plugin that uses the CanTeleport hook. Help
This plugin does NOT use Zone Manager - it creates and manages everything on its own. If you are having issues with too few locations on the grid, or each attempt to spawn a base returns a manual spawn was already requested then it is likely because of how you have setup Zone Manager. You either have far too many zones, or you have zones which are far too large. Raidable Bases will not spawn in these zones unless the ZoneID is added to Allowed Zone Manager Zones in the config file. Do not put this plugin in your store/shop. It simply is not designed to work with it. There are far too many cooldowns to make this idea plausible, and the plugin cannot function properly without them. Using /buyraid will open a UI designed specifically for this issue. This plugin requires CopyPaste plugin to work. It also requires that you have copypaste files already made. Raidable bases will be spawned using the CopyPaste plugin. This plugin does NOT come with any bases. PvE server friendly with TruePVE and other plugins that support the hooks CanEntityTakeDamage, CanEntityBeTargeted, and CanEntityTrapTrigger. Bases can have 5 difficulty settings: 0 for easy, 1 for medium, 2 for hard, 3 for expert, and 4 for nightmare. This is configurable per profile. Bases can spawn on roads and other areas that do not allow building by Rust. Building ladders in these areas is allowed by the plugin. I will add support for building twig later. My bases often spawn in the same biome If you're having issues with spawn points being repeatedly used, or with a biome being favored consistently over other biomes then this is an elevation issue with the terrain on your map. You can fix this by increasing the Elevation in the configuration. For example, if your Elevation is 1.0 then set it to 1.5 and try again. This will also increase the height the base is allowed to spawn off of the ground. With certain maps you'll just have to make do with this issue. Corpses appear outside of the dome as backpacks This is intended, and it is optional. The location is drawn on the players screen to notify them that their corpse moved. This allows players to retrieve their backpack in the event that the raid becomes locked privately to another player, and prevents them from entering. Players do not drop their active item when they die. Bases Stop Spawning On Linux Machine
[Error] Exception while calling NextTick callback (DllNotFoundException: libgdiplus.so.0)
If you see this error after bases spawn then you need to install libgdiplus on your machine. This will mimic the below issue but it is NOT a bug like the below issue is.
A quick google search shows the install command is: sudo apt-get install -y libgdiplus
This happens when images in the CopyPaste file are being rendered by converting the byte array to bitmap.
-
NpcRaiders
They will raid your base tell they find the tc or the time set in the config runs out or you kill all npc waves.
Only People authorized on the tc they are going after can kill the npc and only the npc can attack them.
You can use kits plugin from umod to kit them with clothing and guns See config example below.
Perms are set in config per raid type.
Permissions
npcraiders.use - Needed to use /raidme chat command.
npcraiders.admin - Needed to use /raidme reload chat command.
npcraiders.nocooldown - Disable the setting of your cooldown.
npcraiders.nocost - Disable the being charged.
Chat Command
/raidme - Will show raid help menu.
/raidme buy - Will show raid buy help menu and costs.
/raidme buy <type> - To start raid of the type.
/raidme reload player <playerName> = Will cancel there raid event.
/raidme reload all - Will cancel all events.
/raidme terrain - Get Terrain name your standing on.
/raidme loot - Generate a loot profile with all the items in your inventory
Loot Profiles
/raidme loot add <profileName> - Create or add more items to a profile
/raidme loot clear <profileName> - Clear all information from a profile
When you create a loot profile you will need to edit its datafile and set the min and max amount of items to give.. There you can change other min/max for item ammounts default is 1 to Amount when created
Config BuyType
ByTypes can be "Itemid" , "ServerRewards", or "Economics"
Default is scrap "-932201673"
Config.RewardType
RewardType can be "Itemid" , "ServerRewards", "Economics" , or "kit"
Config.AutoTurretDamage
"AutoTurretDamage": 0.0 - Disable targeting the npc.
"AutoTurretDamage": 1.0 - Full damage to the npc / Range is 0.0 to 1.0.
-
Personal Animal
This plugin adds personal animal assistants to your server, on which the player can ride, store resources or give them various instructions, for example, attack another object or collect resources in the area.
You can choose one of 5 types of animals as a helper animal - bear, boar, chicken, deer and wolf.
At the moment, the animal can:
Attack various targets Collect resources Loot boxes Collect resources within a radius of 50 meters Follow the player and stand at the point indicated by the player Protect the owner and yourself if any of them is attacked You can customize:
Control Which button will assign tasks to the animal Button range Displaying 3D arrows above the target Arrow display duration Interface Refresh once in how many seconds Panel layer Panel position Panel colors Personal animals by permission The name of the animal to be selected through the command when spawning Animal type (bear, wild boar, chicken, deer, wolf) Maximum health Re-spawn delay Animal supplements The ability to ride the animal Animal bag (inventory) Animal capabilities Can attack objects Can loot crates Can pick up resources Can defend myself Can protect the owner Can collect resources within a radius of 50 meters Interaction, loot and damage Animal damage rate Damage receive rate for an animal Can an animal damage players Can players damage an animal Configure pickup rates of resources Black list of items that cannot be put in the bag Nutrition Turn on the animal feeding system Setting health for food eaten Video:
By default, the plugin has 2 localization files, for Russian and English
Configuration:
{ "Controls setup": { "Which button will assign tasks to the animal, attack / collect, etc. (MIDDLE_MOUSE, SECOND_MOUSE, E, RELOAD, SPRINT)": "MIDDLE_MOUSE", "Range of action of the assignment button": 25.0, "Display 3D arrows over a target?": true, "Arrow display duration": 2 }, "GUI setup": { "How many seconds to update the GUI?": 6, "Panel layer (Hud, Overlay, Overall, Hud.Menu, Under)": "Overlay", "Panel position": { "type": "RectTransform", "anchormin": "1 1", "anchormax": "1 1", "offsetmin": "-170 -104", "offsetmax": "-10 -10" }, "Second position of the panel (used if the player has a personal bot)": { "type": "RectTransform", "anchormin": "0.0 0.0", "anchormax": "1.0 1.0", "offsetmin": "0.0 0.0", "offsetmax": "0.0 0.0" }, "1 panel color": "#7f8c8d", "2 panel color": "#bdc3c7", "Health bar color": "#2ecc71", "Shortcut buttons": [] }, "Setting up personal animals by permission": { "personalanimal.wolf": { "The name of the animal to be selected through the command when spawning": "wolf", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "wolf", "Maximum health": 200, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } }, "personalanimal.bear": { "The name of the animal to be selected through the command when spawning": "bear", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "bear", "Maximum health": 200, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } }, "personalanimal.boar": { "The name of the animal to be selected through the command when spawning": "boar", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "boar", "Maximum health": 200, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } }, "personalanimal.chicken": { "The name of the animal to be selected through the command when spawning": "chicken", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "chicken", "Maximum health": 200, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } }, "personalanimal.stag": { "The name of the animal to be selected through the command when spawning": "stag", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "stag", "Maximum health": 200, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } }, "personalanimal.polarbear": { "The name of the animal to be selected through the command when spawning": "polarbear", "Animal type (bear, boar, chicken, stag, wolf, polar-bear)": "polar-bear", "Maximum health": 400, "Animal spawn cooldown": 10.0, "Addons setup": { "Enable the ability to ride an animal?": true, "Add a bag to an animal to store resources?": true, "Number of available slots in the bag (maximum 36)": 12 }, "Functions setup": { "Can the animal attack objects?": true, "Can an animal loot boxes?": true, "Can the animal pick up resources?": true, "Does the animal have to defend itself?": true, "Should the animal protect the owner?": true, "Can an animal collect resources within a radius of 50 meters? (/panimal auto-collect)": true }, "Damage, interactions and loot setup": { "Animal damage rate": 2.0, "Damage rate receive for an animal": 1.0, "Can the animal damage players?": true, "Can players damage the animal?": true, "Despawn animal corpse after death?": false, "Setting up resource pickup rates": { "stones": 5.0 }, "Black list of items that cannot be put in the bag": [ "rocket.launcher" ] }, "Nutrition setup": { "Turn on the animal feeding system?": true, "Setting health for food eaten": { "corn": 5.0 } } } }, "List of prefabs that the animal can loot (useful if the animal attacks loot instead of looting it)": [ "foodbox", "vehicle_parts" ] } Commands:
/panimal - spawns or despawns an animal /panimal where - shows the grid where the animal is and the distance to it /panimal health - shows the current health of the animal /panimal follow - instructs the animal to follow the owner /panimal auto-pickup - displays information about auto-pickup resources /panimal auto-pickup (all, wood, stone, metal, sulfur) - assigns/removes a specific resource for auto-pickup /panimal auto-pickup enable - enables auto-pickup of resources /panimal auto-pickup disable - disables auto-pickup of resources
-
Skinner
By Whispers88 in Plugins
Live Skinning - Skin items in place without moving them Auto import - Automatically import and use all game approved skins Skin Sets - Create a variety of different skin sets for any item Skin Requests - Allows players to request and Admins to accept new skins in game Auto Skins - Automatically apply selected skins to every item that enters your inventory
Skinner 2.0 offeres unrivaled performance in plugin efficiency. Our standard testing shows runtime results were 60x faster and memory usage was 200x more efficient than the closest peforming plugin.
SkinMenu Commands:
/Skin or /S - Live skin any item in your inventory by selecting a skin you wish to apply /SkinCraft or /Sc - Create multiple skin sets for use in other functions such as skinauto or skinteam /Skinitem or /Si - Skin a deployable item you are looking at ingame. Args - Spectify 1, 2 or 3 to automatically use a skin set. Automatic Commands:
/Skincon or /scon - sets all items in a container you are looking at to your default craft set Args - Optional, spectify 1, 2 or 3 to automatically use a skin set.
/Skininv or /sinv - sets all items in your inventory to your default craft set Args - Optional, spectify 1, 2 or 3 to automatically use a skin set.
/Skinteam or /st - sets all items in your inventory and your teams to your default craft set Args - Optional, spectify 1, 2 or 3 to automatically use a skin set. Toggle - Use /skinteam toggle to opt in or out of the team skin set
/SkinBase - Allows you to skin all deployables in your base to your default skincraft skins. Args - Optional, specify item name to filter items being skinned example: /Skinbase sleepingbag to only skin sleeping bags.
/SkinAll Command - Skin all the items in all the containers in your base. Args - Optional, specify item by shortname example: /SkinAll rifle.ak to only skin ak47's. Skin Import Commands:
/Skinimport or /sip - Import custom workshop skins Args - WorkshopID example: /Skinimport 2397648701
/Colimport or /cip - Import custom workshop collection using /skinimport collectionID Args - Collection ID example: /Colimport 2921147807
/Skinrequest or /Sr - Request a skin to be added to skinner, requested skins will show in the /Skinrequests UI for approval Args - WorkshopID example: /Skinrequest 2397648701
/Skinrequests or /Srs - Opens the the skinner menu with a box of skins awating approval Button Usage - Select an option and remove the skin to enact the process
Try - Recieve a copy of an item with that skin
Approve - Adds the skin from the menu to the imported skins list
Deny - Removes the skin Note: All chat commands are universal meaning they can be used via the console, rcon(for import commands) and can be customized via the configuration.
Player Permissions:
Skinner.default - enables /skin command Skinner.items - enables /skinitem command Skinner.craft - enables /skincraft command Skinner.skincon - enables /skincon command Skinner.skininv - enables /skininv command Skinner.skinbase for use of the /skinbase command Skinner.skinall for the use of the /skinall command Skinner.skinrequest enables /skinrequest Cooldowns Permissions:
Cooldown settins can be adjusted via the plugin config. Applying the cooldown permission example skinner.default30 will enforce cooldowns on those with the permission. If no cooldown permission is applied no cooldowns will be enforced. If multiple cooldown perms are assigned to a single player they fastest cooldown will be used.
"Command based cooldowns ('permission' : 'command' seconds": { "Default30CD": { "skin": 30.0, "skinitem": 30.0, "skincraft": 30.0, "skincon": 30.0, "skininv": 30.0, "skinteam": 30.0, "skinbase": 60.0, "skinall": 60.0 } Admin Permissions:
Skinner.import – enables /Skinimport, /Colimport and /Skinrequests Skinner.bypassauth - bypasses the building auth requirement when using /Skinitem Skinner.permskintry - enables try feature when using /Skinrequests Warning: trying a skin will make a copy of that item. Only give this perm to admins who are allowed to spawn items.
Skinner offers multiple ways of importing skins including via the config and through commands:
Importing via the config:
To import skins via the config insert workshopIDs into the imported skins list as per the code snippet below, once finished reload skinner and the shortname and displayname fields will be automatically populated. You can add extra skins at any stage using this method.
"Imported Skins List": { "861142659": {}, "2617744110": {} },
Optionally entire workshop skin collections can be added to conifg, each item skin is automatically imported to your imported skins list on plugin load.
"Import Skin collections (steam workshop ID)": [496517795,2921147807],
Importing via commands:
Commands can be used to edit the config options for imported skins and collections via RCON, chat commands and the f1 console. Commands include:
/Skinimport WorkshopID /Colimport CollectionID Importing via Skin Requests:
Players can requests skins to be added to the game using the skinrequests feature. By using the command /skinrequest WorkshoID a skin gets automatically uploaded to the skin requests box. Admins with the skinner.import permission can open the requests box with the /skinrequests command.
Skins from the request box can then be "tried" approved or denied.
Each skin requested can be logged to discord using the webhook in the config.
Importing from other plugins:
Skinner now has a tool for windows to import data from skinbox, xskins and skincontroller. Simply select your json data file with imported skins into the tool and copy the new imported skins list into the skinner config.
https://github.com/Whispers88/SkinDataConverter/releases/tag/Main
Note: The "Imported Skins (skinid : 'shortnamestring', skinid2 : 'shortnamestring2'": {}" is now redundant and automatically converted to imported skins list.
{ "Skin Commands (skin items in you inventory": [ "skin", "s", "skinbox", "sb" ], "Skin Items Commands (skin items you have already placed": [ "skinitem", "si", "skindeployed", "sd" ], "Set default items to be skinned": [ "skincraft", "sc" ], "Automatically set all items in you inventory to your default skins": [ "skininv", "sinv" ], "Automatically set all items a container to your default skins": [ "skincon", "scon" ], "Automatically skin all deployables in your base": [ "skinbase", "skinbuilding" ], "Automatically skin all items in your base": [ "skinall", "sa" ], "Automatically skin all items that are moved into you inventory": [ "skinauto", "sauto" ], "Skin your teams inventories with your skin set": [ "skinteam", "st" ], "Request workshop skins via workshop ID": [ "skinrequest", "sr" ], "Approve workshop skin requests": [ "skinrequests", "srs" ], "Set your selected skin set": [ "skinset", "ss" ], "Import Custom Skins": [ "skinimport", "sip" ], "Import Workshop Collection Command": [ "colimport", "cip" ], "Skin Request Notification Discord Webhook": "", "Custom Page Change UI Positon anchor/offset 'min x, min y', 'max x', max y'": [ "0.5 0.0", "0.5 0.0", "198 60", "400 97" ], "Custom Searchbar UI Positon anchor/offset 'min x, min y', 'max x', max y'": [ "0.5 0.0", "0.5 0.0", "410 635", "572 660" ], "Custom Set Selection UI Positon anchor/offset 'min x, min y', 'max x', max y'": [ "0.5 0.0", "0.5 0.0", "250 610", "573 633" ], "Auto import approved skins": true, "Remove player data after inactivity (days)": 14, "Apply names of skins to skinned items": true, "Add Search Bar UI": true, "Use on itemcraft hook (skin items after crafting - not required when using skinauto)": false, "Override spraycan behaviour": false, "Use spraycan effect when holding spraycan and skinning deployables": true, "Blacklisted Skins (skinID)": [], "Blacklisted Itemms (itemID)": [], "Import Skin collections (steam workshop ID)": [], "Command based cooldowns ('permission' : 'command' seconds": { "Default30CD": { "skin": 30.0, "skinitem": 30.0, "skincraft": 30.0, "skincon": 30.0, "skininv": 30.0, "skinteam": 30.0, "skinbase": 60.0, "skinall": 60.0 } }, "Imported Skins List": {} }
//Get all Cached skins public Dictionary<int, List<ulong>> GetAllCachedSkins() { return _cachedSkins; } //Check if skin is a Redirect item public bool IsRedirectID(ulong uID) { return HasMask(uID); } //Convert Redirect ID to item ID public int RedirectIDtoItemID(ulong uID) { return (int)UnsetMask(uID); } //Get a list of skins for a particular item public List<ulong>? GetSkinsItemList(int itemid) { _cachedSkins.TryGetValue(itemid, out List<ulong>? cachedSkins); return cachedSkins; }