Raidable Bases Electric Protection
is a utility plugin for Rust servers using Raidable Bases.
The plugin tracks active raid base events and protects electrical or IO-related deployables inside the raid area. It can block player-caused damage to batteries, solar panels, generators, industrial entities, electrical components, fluid entities, and other configured deployables.
This helps prevent players from breaking important electrical systems inside raid bases while still allowing normal raiding gameplay. The plugin also includes an exclude list, so objects like turrets, traps, windows, shutters, embrasures, and fog machines can remain damageable if needed.
An admin command is included to inspect the prefab name of the entity you are looking at, which makes it easier to configure custom include or exclude rules.
If you download or use my resources, please leave a reaction and a comment. This helps me see that the plugin is useful and motivates me to release more resources.
Allows non-admin staff to use the prefab inspection command.
Shows the ShortPrefabName, entity type, and full prefab name of the entity you are looking at.
Admin or permission required.
is a utility plugin for Rust servers using Raidable Bases.
The plugin tracks active raid base events and protects electrical or IO-related deployables inside the raid area. It can block player-caused damage to batteries, solar panels, generators, industrial entities, electrical components, fluid entities, and other configured deployables.
This helps prevent players from breaking important electrical systems inside raid bases while still allowing normal raiding gameplay. The plugin also includes an exclude list, so objects like turrets, traps, windows, shutters, embrasures, and fog machines can remain damageable if needed.
An admin command is included to inspect the prefab name of the entity you are looking at, which makes it easier to configure custom include or exclude rules.
If you download or use my resources, please leave a reaction and a comment. This helps me see that the plugin is useful and motivates me to release more resources.
Features
- Protects electrical and IO deployables inside active Raidable Bases.
- Blocks player-caused damage.
- Tracks raid start and raid end events.
- Configurable protection radius.
- Can protect all IO entities.
- Configurable include list.
- Configurable exclude list.
- Hardcoded safety exclusions for windows, shutters, embrasures, and fog machines.
- Admin prefab inspection command.
- Debug mode for console logs.
Permission
raidablebaseselectricprotection.adminAllows non-admin staff to use the prefab inspection command.
Commands
/rbeprefabShows the ShortPrefabName, entity type, and full prefab name of the entity you are looking at.
Admin or permission required.
Configuration
{ "ProtectionRadius": 60.0, "BlockOnlyPlayerDamage": true, "ProtectAllIOEntities": true, "Debug": false, "IncludeShortPrefabContains": [ "electric", "electrical", "rechargable.battery", "battery", "solarpanel", "windturbine", "generator", "industrial", "fluid" ], "ExcludeShortPrefabContains": [ "autoturret", "flameturret", "guntrap", "sam_site", "teslacoil", "fogmachine", "window.paintable", "wall.window", "window.bars", "window.glass", "shutter", "embrasure" ]}Installation
- Download the plugin.
- Place RaidableBasesElectricProtection.cs into your oxide/plugins folder.
- Edit the config if needed.
- Reload the plugin.