Live
Razor updated Animal Farmbadgyver updated CHRONUSBrad Copp updated Deep Sea OptionsRustFlash updated MyServerGearRazor updated Npc HorsesRazor updated Animal Farm ProDávid Balázs updated SquidBridgeBrad Copp updated Biofuel Generator UpgradesBrad Copp published Biofuel Generator UpgradesBrad Copp updated Water Wheel UpgradesBrad Copp updated Windmill UpgradesBrad Copp updated Solar Panel UpgradesRazor updated Admin TC ManagerRazor updated Animal FarmRazor updated The Supermarket eventRazor updated SoundBoxKap followed @AroxRazor updated Animal Farm ProDávid Balázs updated SquidBridgeaRandumDude updated FillPantersRickySpanish updated Zombie AnimalsSilent_Creations published High TimezRickySpanish updated Escape RoomCrazyRust updated Cargo ConvoyaRandumDude updated FillPantersCrazyRust updated Lighthouse Party EventCrazyRust updated Christmas Outpost EventRazor updated TestGenerator ModifierMayonnaiseScc started Plugin video Badwolf followed @Razor
Browse/Rust/Plugins/Auto Codelock

Auto Codelock

1 / 4
Description

xAutoCodelock

xAutoCodelock enhances the building experience by intelligently automating one of the most repetitive tasks in Rust - managing code locks. By automatically placing, configuring, and securing locks using each player’s personal PIN, the plugin removes friction without altering the core gameplay balance.

Players can focus on building, defending, and progressing, while their base security is handled smoothly in the background.

⭐ Features

🔐 Automatic Code Lock Placement (Configurable)

-
Automatically places a code lock when players build deployables with lock slots (Door etc.).

🔢 Personal Auto PIN System

-
Players set a 4-digit PIN once - All future locks use it automatically.

🔒 Auto Lock Newly Placed Locks (Configurable)

-
Newly created locks are instantly locked for security.

🏠 Tool Cupboard Requirement (Configurable)

-
Can require building privilege before automation triggers.

👥 Team Access Control (Configurable)

-
Option to allow or require team members to enter codes.

🛡️ Permission based usage (Configurable)

-
Control who can use auto codelock via permissions.

👮 Admin Inspect Command

-
Admins can check player PIN status and if player has permission to use xAutoCodelock.

💾 Persistent PIN Storage

-
Player PINs saved across restarts.

🧹 Optional Wipe Reset

-
Automatically clears PIN data on map wipe if enabled.

🎬 Plugin Preview


Spoiler






 

💬 Player Commands

/xpin 1234 → Set your auto PIN
/xpin remove → Remove saved PIN
/xpin → Show current PIN

💬 Admin Command

/xpin check <player name or steamid>

🔑 Permissions

xautocodelock.use - Required to use '/xpin' command
xautocodelock.admin - Required for the '/xpin check' command

⚙️ Config

{
"CommandSetPin": "xpin",
"RequirePermission": true,
"PermissionUse": "xautocodelock.use",
"PermissionAdminInspect": "xautocodelock.admin",
"AutoLockNewCodeLocks": true,
"AutoPlaceCodeLocks": true,
"RequireToolCupboard": true,
"RequireCodeForTeamMembers": true,
"ResetDataOnWipe": false
}

🌎 Language

{
"NoPermission": "You don't have permission to use this command.",
"CommandUsage": "Usage: /{0} 1234 or /{0} remove\n» Current PIN: {1}",
"PinNotSet": "NOT SET",
"PinRemoved": "Auto PIN removed.\n» New code locks will no longer be configured automatically.",
"NoSavedPin": "You don't have a saved auto PIN.",
"InvalidPin": "PIN must be exactly 4 digits (0000 - 9999).",
"PinSet": "Auto PIN set.\n» Newly placed code locks will be automatically locked with your PIN.",
"InspectUsage": "Usage: /{0} check <player name or steamid>",
"InspectPlayerNotFound": "Player not found: {0}",
"InspectMultiplePlayers": "Multiple players matched: {0}. Use full name or SteamID.",
"InspectSummary": "Inspect: {0} ({1})\nSaved PIN: {2}\nHasPermission: {3}"
}

Default configuration
xAutoCodelock.json
{
  "AutoGenerateCodeIfNotSet": true,
  "AutoLockNewCodeLocks": true,
  "AutoPlaceCodeLocks": true,
  "CommandSetPin": "xpin",
  "PermissionAdminInspect": "xautocodelock.admin",
  "PermissionUse": "xautocodelock.use",
  "RequireCodeForTeamMembers": true,
  "RequireCodelockItem": true,
  "RequirePermission": true,
  "RequireToolCupboard": true,
  "ResetDataOnWipe": false
}
Sponsored
Pine Hosting
Pine Hosting

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

Visit site ↗
$12.99
Views1.2k
Downloads6
Purchases0
Rating★ 0.0
Version1.1.2
Compile check✓ Passed Oct 9, 2026
PlatformRust
CategoryPlugins
CompatibleOxide · Carbon
Size24 KB
PublishedMar 28, 2026
UpdatedAug 12, 2026
✓ Reviewed for safety and integrity