Code locks
How do I put on a code lock?
- Close the door or gate.
- Take the code lock in your hands and attach it.
- Choose Set Passcode and enter a code of three to six digits.

Whoever sets the first code becomes the lock's owner.
Who can open it?
| Player | What they can do |
|---|---|
| Owner | Open it, change the code, remove the lock |
| Anyone who entered the right code | Open it without typing the code again |
| Everyone else | Try a code |
How do I change the code or remove the lock?
Look at the lock and choose Manage Lock, then enter the code.
- Change the code: everyone you let in has to enter the new code before they can open it again.
- Remove the lock: it drops to the ground and can be used again.
Only the owner can change the code or remove the lock.

What about combination locks?
Vanilla combination locks fit the same doors, gates, and storage. Anyone who dials the right numbers can open one, so a code lock is the safer choice.
Base storage
Storage from the base storage mod has names that start with "MMG", for example "MMG Solo Locker". Look for it in industrial, military, and farm buildings. Some pieces spawn as a kit that you place like any other item.
Which storage can be locked?
Storage without a lock can be opened by anyone who finds it.
What can a locker hold?
Lockers have cargo space plus slots for a full set of clothing, a backpack, long guns, a pistol, and a knife. Gun racks and gunwalls hold long guns. A supply crate holds building materials: logs, planks, firewood, and nails.
What about vanilla storage?
Tents, wooden crates, barrels, and sea chests can't take a code lock. Anyone can open them.
Pictures: the Workshop pages of the code lock mod and the base storage mod.
Last checked November 2, 2026. The Zone changes. If this page is wrong, say so on the Discord.