LF_VStorage
О материале
«LF_VStorage» — материал мастерской DayZ. Оружие, транспорт, территории и моды для серверов. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
LF_VStorage
LF_VStorage virtualizes the contents of storage containers — barrels, sea chests, tents, crates, and any modded container that wants in. When a container is closed (or nobody is nearby), every item inside is serialized to a compact binary file and removed from the world. When opened again, items are restored exactly as they were: health, ammo, attachments, food stage, lock codes, everything. A closed barrel with 200 items becomes a single entity instead of 201. Across hundreds of bases that's thousands of entities removed from memory, network sync, and persistence.
Why LF_VStorage
- Crash-proof: 5-state machine with full crash reconciliation. Atomic writes with a 4-level backup chain (
.lfv → .bak1 → .bak2 → .tmp
). Items survive any crash without duplication.
- Audit-hardened: ~50 individual fixes across two intensive sprints, including malformed-input rejection (no DoS via crafted
.lfv
files) and durable admin recovery (recovery flags survive server crashes).
-
Container destruction is real: a barrel destroyed by gunfire, axe, explosion, admin command, or CE expiry drops its virtual contents on the ground. No silent loss path.
-
Minimal overhead: no SyncVars added to every ItemBase. 97% fewer files on disk vs per-item solutions. O(1) short-circuit for non-container items (weapons, mags, clothing).
-
Works with mods: vanilla containers out of the box plus RaG_Baseitems, A6_Base_Storage, Boomlay Furniture, and Paragon Storage. Others opt in via config property
lfvVirtualStorage = 1
or settings whitelist.
What gets preserved
Health, quantity, temperature, wetness, food stage, weapon chambers, magazine cartridges, ammo piles, battery levels, combination locks, disease agents, full attachment trees, nested cargo up to 5 levels deep.
Admin
In-chat commands (with LBmaster Groups:
!lfv ...
— vanilla:
/lfv ...
):
status
— module overview
stats
— runtime counters
quarantine list
— containers stuck in quarantine
recover <sid> ground|degraded
— recovery flags
reset <sid> --confirm
— discard a quarantined container
migrate-all
— bulk legacy-format upgrade
cleanup force
— manual disk cleanup
pendingdrop list
— phantom-drop scheduler state
Optional JSON sidecars per container for admin grep across the storage dir. Map-aware layout: data lives under
$storage:
(wipes with the map), config under
$profile:
(survives wipes).
Compatibility
-
Requires: CommunityFramework
-
Optional: LBmaster Groups (chat integration)
-
Planned: LFPG (LF_PowerGrid) integration
Installation
-
Subscribe to this mod and CommunityFramework.
-
Add
@LF_VStorage
to server launch parameters.
- (Optional) Edit
$profile/LFVStorage/settings.json
.
- Restart server. Default config covers vanilla barrels, sea chests, crates, and tents.
No wipe required when upgrading.
Issues / feedback: https://discord.gg/wYXB9BYmGD
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.