Rust Wiki
Register
Advertisement

Information accurate as of: 904.83 Update

I The Code Lock is used to secure Doors, Large Wood Boxes, small Wood Storage Boxes, Fridges and Lockers.

The Code lock is one of two player-used locking items. It is secured by entering a four-digit PIN in a prompt. Any player can enter a PIN into the lock by holding the 'use' button on the device. If the correct PIN is used the lock will remember the PIN and the door can simply be opened by pressing the 'use' key when facing the door, rather than the Code Lock itself. Any player that is "remembered" by it can change the PIN used, or set a Guest PIN, to be used by visitors. When entering a code, the player can press the icon marked "C" to correct a mistake.

You can upgrade the door after placing the code lock on it. Once placed, the lock itself cannot be destroyed. It has to either be removed by an owner or the door it is attached to must be destroyed.

The Code Lock's display glows green when unlocked and red when locked.

When a player enters the PIN incorrectly they receive an electric shock in an attempt to deter brute force attacks. The damage increases in increments of 5 (starting at 5 damage) for every failed attempt, these increments reset every 10 seconds.

The maximum number of key combinations is 10^4, or 10000 possible combinations. This makes it incredibly tedious and impractical to "brute force" the code of another player's base.

Crafting[]

The Code Lock can be crafted with:

Notes:

  • It takes 30 seconds to craft one lock.

Gallery[]

Items
12 Gauge Buckshot12 Gauge Slug5.56 Rifle AmmoExplosive 5.56 Rifle AmmoHandmade ShellHigh Velocity ArrowHigh Velocity RocketHV 5.56 Rifle AmmoHV Pistol AmmoIncendiary 5.56 Rifle AmmoIncendiary Pistol BulletIncendiary RocketPistol BulletRocketSmoke RocketWooden Arrow
Bandana MaskBaseball CapBeenie HatBone ArmorBone HelmetBoonie HatBootsBucket HelmetBurlap HeadwrapBurlap ShirtBurlap ShoesBurlap TrousersCandle HatCoffee Can HelmetHazmat BootsHazmat GlovesHazmat HelmetHazmat JacketHazmat PantsHazmat SuitHide BootsHide HalterneckHide PantsHide PonchoHide SkirtHide VestHoodieImprovised BalaclavaJacketLeather GlovesLongsleeve T-ShirtMetal Chest PlateMetal FacemaskMiners HatPantsRiot HelmetRoad Sign JacketRoad Sign KiltSanta HatShirtShortsSnow Jacket - RedTank TopT-ShirtWolf HeaddressWood Armor PantsWood Chestplate
Components
BleachDuct TapeEmpty Propane TankGearsGlueMetal BladeMetal PipeMetal SpringRifle BodyRoad SignsRopeSemi Automatic BodySewing KitSheet MetalSMG BodySticksTarpTech Trash
Armored DoorArmored Double DoorBarbed Wooden BarricadeBuilding PlanChainlink FenceChainlink Fence GateCode LockConcrete BarricadeFloor GrillHigh External Stone GateHigh External Stone WallHigh External Wooden GateHigh External Wooden WallLadder HatchLarge Water CatcherLockMetal BarricadeMetal horizontal embrasureMetal Vertical embrasureMetal Window BarsMining QuarryPrison Cell GatePrison Cell WallPump JackReinforced Window BarsSandbag BarricadeSheet Metal DoorSheet Metal Double DoorShop FrontSmall Water CatcherStone BarricadeTool CupboardWind TurbineWood Double DoorWood ShuttersWooden BarricadeWooden DoorWooden LadderWooden Window Bars
AppleBear MeatBear Meat CookedBlack RaspberriesBlueberriesBurned ChickenBurned Human MeatBurned PorkBurned Wolf MeatBurnt Bear MeatCactus FleshCan of BeansCan of TunaCandy CaneChocolate BarCooked ChickenCooked FishCooked Human MeatCooked PorkCooked Wolf MeatCornCorn SeedGranola BarHemp SeedMinnowsMushroomPorkPumpkinPumpkin SeedRaw Chicken BreastRaw FishRaw Human MeatRaw Wolf MeatRotten AppleSmall TroutSmall Water BottleSpoiled ChickenSpoiled Human MeatSpoiled Wolf MeatWater Jug
BedBota BagCamp FireCeiling LightDouble Sign PostFurnaceHuge Wooden SignJack O Lantern AngryJack O Lantern HappyLandscape Picture FrameLanternLarge Banner HangingLarge Banner on poleLarge FurnaceLarge Wood BoxLarge Wooden SignOne Sided Town Sign PostPaper MapPookie BearPortrait Picture FrameReactive TargetRepair BenchResearch TableSalvaged ShelvesSingle Sign PostSleeping BagSmall Oil RefinerySmall StashSmall StockingSmall Wooden SignSUPER StockingSurvival Fish TrapTuna Can LampTall Picture FrameTwo Sided Hanging SignTwo Sided Ornate Hanging SignTwo Sided Town Sign PostWater BarrelWater PurifierWood Storage BoxWooden SignXL Picture FrameXXL Picture Frame
Anti-Radiation PillsBandageBloodLarge MedkitMedical Syringe
Acoustic GuitarBlueprintDoor KeyLarge PresentMedium PresentNoteSmall Present
Animal FatBattery - SmallBone FragmentsCCTV CameraCharcoalClothCoalCrude OilEmpty Can Of BeansEmpty Tuna CanExplosivesGun PowderHigh Quality MetalHigh Quality Metal OreHuman SkullLeatherLow Grade FuelMetal FragmentsMetal OrePaperResearch PaperSalt WaterStonesSulfurSulfur OreTargeting ComputerWaterWolf SkullWood
CameraFlareHammerHatchetPick AxeRockSalvaged AxeSalvaged HammerSalvaged IcepickSatchel ChargeStone HatchetStone Pick AxeSupply SignalSurvey ChargeTimed Explosive ChargeTorchWater Bucket
Auto TurretLand MineShotgun TrapSnap TrapWooden Floor Spikes
4x Zoom ScopeAssault RifleBeancan GrenadeBolt Action RifleBone ClubBone KnifeCrossbowCustom SMGDouble Barrel ShotgunEoka PistolF1 GrenadeFlame ThrowerHolosightHunting BowLongswordLR-300 Assault RifleM249MaceMacheteMP5A4Muzzle BoostMuzzle BrakePump ShotgunRevolverRocket LauncherSalvaged CleaverSalvaged SwordSemi-Automatic PistolSemi-Automatic RifleSilencerStone SpearThompsonWaterpipe ShotgunWeapon FlashlightWeapon LasersightWooden Spear
Advertisement