Live
MayonnaiseScc updated Against The Odds + Ironhoof Raceway Prefabdds reacted 🔥 to WarstriderBrad Copp updated AmelieBrad Copp updated Tung Tung SahurEM$Ø followed @badcopbadgyver updated Christmas GiftsKhaled updated Recycler StationKhaled updated SkinifyRustFlash updated MyServerGearGreifenstein reacted 👍 to Armored Wasteland Zombietruck (static)EM$Ø reacted 👍 to Armored Wasteland Zombietruck (static)Greifenstein published Armored Wasteland Zombietruck (static)Greifenstein reacted 👍 to rPhoneGreifenstein followed @EMSOEM$Ø followed @ionstarEM$Ø reacted 😆 to Christmas GiftsVoodooLights updated My Timed EventsPerfectangel reviewed Christmas GiftsaRandumDude published XmasLightsOnBrad Copp published Tung Tung SahurBrad Copp published Tralalero Tralalabadgyver updated Christmas GiftsPerfectangel reviewed Amelier0gi reviewed Christmas GiftsBrad Copp updated AmelieBrad Copp reacted ❤️ to Porta-Potty / OuthouseBarry_Allenn updated MBCalendarBarry_Allenn updated MBCommandsbadgyver updated Redemptionbadgyver updated Redemption
Browse/Rust/Plugins/Code Raid

Code Raid

Duff★ 0.0 (0)v1.0.1OxideCarbon#raid#raids#codelock#code
Code Raid1 / 3
Description

CodeRaid

A configurable code lock raiding system with items, ranks, protection mechanics, and economy support.

CodeRaid introduces a new gameplay mechanic that allows players to attempt to crack code locks instead of relying solely on traditional explosives. Players must stay within range of a lock during a timed raid attempt while success is determined by configurable chances, items, or rank settings.

The system is designed to be highly configurable, allowing server owners to control balance, progression, and gameplay style while adding a unique PvP element to Rust.

 

 

Core Features:

Code Lock Raiding System:

Players can attempt to raid code locks using the command /coderaid.

When a raid begins:

  • A timer starts
  • The player must stay within range of the lock
  • Moving too far cancels the raid
  • A success roll determines the result
  • Failure can trigger damage and effects
  • Success reveals the lock code and can optionally unlock it

Only one raid attempt per lock can occur at a time (configurable).

 

Item-Based Raid Attempts:

CodeRaid supports custom raid items which determine how powerful a raid attempt is.

Each item can define:

  • Duration of raid attempt
  • Success chance
  • Cooldown
  • Whether the item is consumed
  • Failure damage chance
  • Failure damage amount
  • Custom display name
  • Skin ID
  • Custom note text
  • Permission requirements

This allows servers to create a variety of raid tools such as:

  • Common low-chance raid attempts
  • Rare high-success raid items
  • Risky items with failure damage
  • Free low-success attempts

 

Rank System:

Ranks can be configured using Permissions.

Ranks allow server owners to control:

  • Raid success chance
  • Raid duration
  • Maximum raid distance
  • Cooldowns
  • Optional raid cost
  • Stealth raid capabilities
  • Owner alert behavior
  • Protection access
  • Whether items are required

This makes it easy to create VIP Ranks.

 

Lock Protection System:

Players can protect their locks using /coderaidprotect.

Protection can be applied through:

  • Protection items
  • Rank permissions
  • Configurable duration
  • Configurable cooldowns

When protection is active:

  • Players cannot CodeRaid the owner's locks
  • Raiders receive a denial message
  • Protection time is tracked and displayed

This creates a defensive mechanic to counter raiders.

 

Stealth Raid Options:

Certain ranks can perform stealth CodeRaids.

Stealth features include:

  • Hidden raider identity in owner alerts
  • No raid noise
  • Hidden world panel timer

This allows special ranks tiers to raid more discreetly.

 

Owner Raid Alerts:

Lock owners can receive alerts when someone attempts to CodeRaid their lock.

Alerts can include:

  • The locked entity type
  • Map grid location
  • Raider name (optional depending on rank)
  • Stealth raid handling

This helps defenders react to raid attempts.

 

Economy Integration:

CodeRaid supports multiple payment systems.

Supported economy types:

  • Economics
  • ServerRewards
  • Item currency

If economy plugins are unavailable, the plugin automatically falls back to item currency.

 

Custom Item Purchase System:

Servers can allow players to buy raid items or protection items.

Commands:

  • /coderaidbuy <Name> [amount]
  • /coderaidbuylist

Buy rules support:

  • Price
  • Rank restrictions
  • Max purchase amount
  • Optional item permission requirements

 

Loot Container Integration:

CodeRaid items can spawn naturally in the world.

Supported sources:

  • Loot containers
  • NPC corpses

The plugin automatically generates editable data files so server owners can configure where CodeRaid items appear.

This allows servers to integrate CodeRaid into natural gameplay progression.

 

 

UI System:

Optional UI feedback can be enabled for raid attempts.

Available UI elements:

  • Raid timer progress bar
  • World panel timer above locks
  • Distance-based world panel visibility

These UI elements help players track raid progress clearly.

 

 

Commands:

Player Commands:

  • /coderaidStart a CodeRaid on the code lock you are looking at
  • /coderaidprotectApply protection to your locks
  • /coderaidbuy <Name> [amount]Buy a configured CodeRaid item
  • /coderaidbuylistList all available purchasable items
  • /coderaidinfoView rank information and cooldowns
  • /coderaidhelpShow help information

 

Admin Commands:

  • /coderaidcreate <Name>Give yourself a configured raid/protection item
  • /coderaidforgetForget your remembered code on a lock
  • cr.loot.dumpList all loot containers
  • cr.corpse.dumpList NPC corpse types
  • cr.corpse.listconfigList configured corpse rules

 

Permissions:

Admin Permission:

  • coderaid.admin

Example Rank Permissions:

  • coderaid.use
  • coderaid.vip
  • coderaid.vipgold

These can be customized or expanded within the configuration.

 

Configuration:

The plugin includes an extensive configuration allowing full control over gameplay behavior.

Major configurable systems include:

  • Raid duration
  • Success rates
  • Raid distance limits
  • Raid cooldowns
  • Rank settings
  • Item definitions
  • Protection items
  • Economy settings
  • Buy rules
  • Loot injection
  • UI settings
  • Effects and raid noise
  • Fail damage behavior

The default configuration provides a ready-to-use setup while remaining easy to customize.

 

 

 

Plugins By Duff

https://discord.gg/2KBPH7hXb7

Default configuration
CodeRaid.json
json
1{
2 "General": {
3 "Debug Enabled": false
4 },
5 "Chat": {
6 "Use Prefix": true,
7 "Prefix": "<color=#a0d8ff>[CodeRaid]</color> ",
8 "Channel": 2,
9 "Icon SteamId": 76561198888888888
10 },
11 "Raid": {
12 "Respect Building Blocked": false,
13 "Deny While Wounded": true,
14 "Global Max Raid Distance": 10.0,
15 "Check Interval Seconds": 1,
16 "One Active Per Lock": true,
17 "Unlock Lock On Success": true,
18 "Require Rank To Use Raid Items": false
19 },
20 "Effects": {
21 "Play Fail Effects": true,
22 "Play Success Effects": true,
23 "Use Raid Noise": true,
24 "Raid Noise Interval Seconds": 5.0,
25 "Default Fail Damage Enabled": true,
26 "Default Fail Damage Chance": 100,
27 "Default Fail Damage Amount": 20.0
28 },
29 "UI": {
30 "Use CUI Timer": true,
31 "Use World Panel": true,
32 "World Panel Height Offset": 0.2,
33 "World Panel Max Distance": 30.0
34 },
35 "Economy": {
36 "Currency Type": "Economics",
37 "Currency Display": "$",
38 "Currency Item Shortname": "scrap",
39 "Currency Item Skin": 0
40 },
41 "Buy": {
42 "Enable Buy Command": false
43 },
44 "Ranks": [
45 {
46 "Name": "Default",
47 "Permission": "coderaid.use",
48 "Require Raid Item": true,
49 "Raid Cooldown Minutes": 60,
50 "Raid Duration Minutes": 30,
51 "Raid Success Rate": 0,
52 "Max Raid Distance": 0.0,
53 "Require Protection Item": true,
54 "Protection Cooldown Minutes": 60,
55 "Protection Duration Minutes": 0,
56 "Enable Fail Damage": true,
57 "Fail Damage Chance": 100,
58 "Fail Damage Amount": 20.0,
59 "Notify Getting Code Raided": false,
60 "Notify Getting Code Raided Name": false,
61 "Can Stealth Raid": false,
62 "Can Stealth Raid No Noise": false,
63 "Can Stealth Raid No World Panel": false,
64 "Enable Cost": false,
65 "Amount": 0
66 },
67 {
68 "Name": "VIP",
69 "Permission": "coderaid.vip",
70 "Require Raid Item": false,
71 "Raid Cooldown Minutes": 60,
72 "Raid Duration Minutes": 45,
73 "Raid Success Rate": 25,
74 "Max Raid Distance": 20.0,
75 "Require Protection Item": false,
76 "Protection Cooldown Minutes": 60,
77 "Protection Duration Minutes": 60,
78 "Enable Fail Damage": true,
79 "Fail Damage Chance": 50,
80 "Fail Damage Amount": 20.0,
81 "Notify Getting Code Raided": true,
82 "Notify Getting Code Raided Name": true,
83 "Can Stealth Raid": false,
84 "Can Stealth Raid No Noise": false,
85 "Can Stealth Raid No World Panel": false,
86 "Enable Cost": false,
87 "Amount": 0
88 },
89 {
90 "Name": "VIPGold",
91 "Permission": "coderaid.vipgold",
92 "Require Raid Item": false,
93 "Raid Cooldown Minutes": 60,
94 "Raid Duration Minutes": 30,
95 "Raid Success Rate": 50,
96 "Max Raid Distance": 20.0,
97 "Require Protection Item": false,
98 "Protection Cooldown Minutes": 60,
99 "Protection Duration Minutes": 60,
100 "Enable Fail Damage": true,
101 "Fail Damage Chance": 25,
102 "Fail Damage Amount": 20.0,
103 "Notify Getting Code Raided": true,
104 "Notify Getting Code Raided Name": true,
105 "Can Stealth Raid": true,
106 "Can Stealth Raid No Noise": true,
107 "Can Stealth Raid No World Panel": true,
108 "Enable Cost": false,
109 "Amount": 0
110 }
111 ],
112 "Raid Items": [
113 {
114 "Name": "CodeRaid25",
115 "Permission": "",
116 "Shortname": "note",
117 "SkinID": 3559747523,
118 "Duration Minutes": 10,
119 "Success Rate": 25,
120 "Cooldown Minutes": 60,
121 "Consume Item": true,
122 "Print To Chat": true,
123 "Enable Damage": true,
124 "Damage Chance": 25,
125 "Damage Amount": 25.0,
126 "Note Text": "Use this to attempt a CodeRaid (10m, 25% success)."
127 },
128 {
129 "Name": "CodeRaid50",
130 "Permission": "",
131 "Shortname": "note",
132 "SkinID": 3559748195,
133 "Duration Minutes": 20,
134 "Success Rate": 50,
135 "Cooldown Minutes": 60,
136 "Consume Item": true,
137 "Print To Chat": true,
138 "Enable Damage": false,
139 "Damage Chance": 0,
140 "Damage Amount": 0.0,
141 "Note Text": "Use this to attempt a CodeRaid (20m, 50% success)."
142 },
143 {
144 "Name": "CodeRaidFree10%",
145 "Permission": "",
146 "Shortname": "note",
147 "SkinID": 3559748391,
148 "Duration Minutes": 60,
149 "Success Rate": 10,
150 "Cooldown Minutes": 0,
151 "Consume Item": true,
152 "Print To Chat": true,
153 "Enable Damage": true,
154 "Damage Chance": 100,
155 "Damage Amount": 25.0,
156 "Note Text": "Free CodeRaid attempt (60m, 10% success)."
157 }
158 ],
159 "Protection Items": [
160 {
161 "Name": "CodeRaidProtect60",
162 "Permission": "",
163 "Shortname": "note",
164 "SkinID": 3559749316,
165 "Duration Minutes": 60,
166 "Cooldown Minutes": 60,
167 "Note Text": "Protects your locks from CodeRaids for 60 minutes."
168 },
169 {
170 "Name": "CodeRaidProtectFree20",
171 "Permission": "",
172 "Shortname": "note",
173 "SkinID": 3559749449,
174 "Duration Minutes": 20,
175 "Cooldown Minutes": 0,
176 "Note Text": "Protects your locks from CodeRaids for 20 minutes."
177 }
178 ],
179 "Buy Rules": [
180 {
181 "Name": "CodeRaid25",
182 "Price": 100,
183 "Allowed Rank Permissions": [
184 "coderaid.use"
185 ],
186 "Max Per Purchase": 1,
187 "Require Item Permission To Buy": false
188 },
189 {
190 "Name": "CodeRaid50",
191 "Price": 250,
192 "Allowed Rank Permissions": [
193 "coderaid.vip"
194 ],
195 "Max Per Purchase": 1,
196 "Require Item Permission To Buy": false
197 },
198 {
199 "Name": "CodeRaidProtect60",
200 "Price": 200,
201 "Allowed Rank Permissions": [
202 "coderaid.use",
203 "coderaid.vip"
204 ],
205 "Max Per Purchase": 1,
206 "Require Item Permission To Buy": false
207 }
208 ]
209}
Sponsored
Pine Hosting
Pine Hosting

Trusted hosting partner. Affordable game servers with solid support and panels.

Visit site ↗
$16.99
Views1.4k
Downloads0
Purchases0
Rating★ 0.0
Version1.0.1
Compile check✓ Passed Nov 20, 2026
PlatformRust
CategoryPlugins
CompatibleOxide · Carbon
Size125 KB
PublishedMay 23, 2026
UpdatedSep 15, 2026
✓ Reviewed for safety and integrity