About Privacy: key lockable chest, personal storage, bank safes
From Factorio Mod PortalA range of private and secured storages to protect your stuff and make the game even more fun: 1. Locked chest requiring appropriate key. 2. Personal chest only available to specific player. 3. Bank that provides a separate safe strongbox inventory for each player. Keys can be crafted and engraved or found from the integrated mods.
The mod adds a range of private and secured storage options that can be opened with different restricting conditions, to protect your stuff and make the game even more fun.
See how this does work: https://youtu.be/TTAyuQ41f9U
0. Purpose
The mod is intended for:
- Multiplayer games
- Creating fascinating scenarios
- To be used by mods that introduce explorational content like ruins generators, RPG quests (which I'm working on), etc
1. Content
1.1. Storages
Builtin types:
- Locked chest requiring a mechanical key of appropriate shape or several of them.
- Personal chest only available to specific player.
- Bank that provides:
- 1 common team inventory for 160 stacks;
- Infinite number of personal strongboxes, 1 with 48 slots per each player;
- 16 lockable safes with 48 slots that accept both mechanical and electronic keys.
Common features:
- They cannot be mined until emptied.
- They block automatic item putting/removing by inserters and drones.
- They are durable, to prevent accident destruction and to provide security.
- Each belongs to a configurable storage class that defines its behaviour, other mods can extend it, see API.
1.2. Keys
Features:
- A key can be either raw or engraved having shape/password.
- Raw keys get engraved using a dedicated work table to assign a shape/password.
- Several engraved keys of the same category can be merged into a bunch of keys, aka master key, up to 10 mechanical keys and 128 electronic ones.
- Each key has a category: mechanical, electronic, quantum, magic, etc.
- A locked storage only accepts keys of its own category. I.e, you cannot use an electronic key to open a mechanical chest.
- Under the hood, any
item-with-tagshaving specific tag will be considered as a valid key. - Passwords get hashed to restrict skript kiddies.
Builtin keys available to craft:
- Mechanical: keys made of stone, iron, bronze, steel, car key
- Electronic: NFC card. It allows to merge much more keys together.
Also, there are some hidden keys, available for other mods to be used as quest items.
1.3. Engraving station / worktable
There is a couple of them:
- Stone worktable, can handle mechanical keys only
- Electronic engraving station, deals with mechanical and electronic keys
It allows to perform several "recipes":
- Engrave raw keys.
- Clean / erase key shape.
- Copy engraved key shape to raw keys.
- Merge engraved keys into a bunch.
- Split a bunch of keys into separate ones.
2. API
The mod provides versatile API as remote interfaces and imported functions for other mods to deal with keys & storages infrastructure system. Below is a brief list of available functions, see remote_api.lua for more details.
2.1. Control time
register_storage– registers storage entity using specified storage class. Entity's prototype can be unregistered. Entity's prototype can be of any type, but I suggest smth not operable, like I made assembling-machine with empty recipe category.get_main_inv– returns script inventory of a lockable chest or team storage of a bank. Can be nil if storage is a personalised lootbox.get_personal_inv– returns personal inventory of a storage. Can be used for fulfilling lootboxes.
2.2. Load time
register_storage_entity– registers a storage entity prototype. This will automatically call register_storage when entity get placed. Entity's prototype can be of any type, but I suggest smth not operable, like I made assembling-machine with empty recipe category.register_storage_class– registers new storage class importing it from given file path and variable name. You can easily create new class reusing code of existing ones, see storage_classes.lua.register_key_item– registers a key item prototype, it needs to beitem-with-tags. Registration is only used as a source of default category, e.g for craftable keys, so it's not required for ready-to-use keys created by quests/scripts, and you can simply assign a compatible tag, seetag_infoandengrave_key_itemin utils.lua. Key category can be any string, it don't have to be builtin or registered.register_engraving_entity– registers an engraving work table entity prototype. This will add engraving UI when a player opens an instance of this entity. Note that it should be of container type. If you wanna smth different – feel free to design and code a brand new engraving station, it simply should deal with keys in a similar way; in this case, no need to register your entity.
3. Plans
- Unlocking storages (so that it can be opened without keys or locked with other keys).
- Close storage inventory when a player goes far away.
- Key durability capacity to restrict number of usages (don't worry, for specific types only).
- Lockable cars.
- Hacking chests with a pick-wrench or special machine.
- Storage class that provides personal dynamically created content considering player's keys and/or quests.
- Collapsing storage class that is perfect for loot boxes.
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under GPL-3.0.
Last update
Its author last shipped an update 3 yr ago.
Privacy: key lockable chest, personal storage, bank safes on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.9.4, released 2023-10-18
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 0.9.4 | 2023-10-18 | 1.1 | n/a |
| 0.9.3 | 2023-10-13 | 1.1 | n/a |
| 0.9.2 | 2023-10-09 | 1.1 | n/a |
| 0.9.1 | 2023-10-08 | 1.1 | n/a |
| 0.9.0 | 2023-10-07 | 1.1 | n/a |
Run Privacy: key lockable chest, personal storage, bank safes on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportFactorio Mod Portal lists Privacy: key lockable chest, personal storage, bank safes as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
- ✓AuthorAivanF, as published on Factorio Mod Portal
- ✓LicenseGPL-3.0Free
