Summary
# DLG Vehicle Lock
Own your vehicle, lock it, hand out keys.
Description
# DLG Vehicle Lock
Own your vehicle, lock it, hand out keys.
Vehicle ownership, keys and locks for DLG scenarios. Owned vehicles are kept across restarts with their
fuel, damage, cargo and keys. Everything happens at the vehicle through normal interactions, no chat
commands.
## Features
- **Lock / Unlock** at the vehicle. Locked vehicles can only be used by the owner, key holders, the
owner's group and admins.
- Locks cover getting in, switching seats, doors, storage, refuel and repair at support stations, and
loading and unloading supplies. AI in a group with access may use the vehicle.
- **Manage window**: see who has a key, give or take keys from nearby players, hand the vehicle over, or
give it up.
- **Claim vehicle**: players may claim unowned, empty vehicles (off by default, with a per-player limit).
- **Persistence**: owned vehicles come back after a restart at their position, with fuel, damaged parts,
cargo, lock state and keys.
- **Game Master**: Owner and Locked attributes on every vehicle.
- **Server checks**: every request is checked by the server. Players and AI without access are put out of
locked vehicles and cannot take items out of their storage.
- Works with every vehicle, vanilla or modded. No vehicle prefab is changed.
- Used by DLG Shop: bought vehicles belong to their buyer.
## Required on server and clients
The server and all players need the mod.
## Dependencies
- DLG Core (035556F5F5889596)
The scenario must run DLG Core (`DLG_CoreComponent` on the game mode).
## Server configuration
`$profile:DLG/<namespace>/VehicleLock.json`, created with the defaults on the first start:
- `lockNewVehicles` (true)
- `groupSharing` (true)
- `allowClaiming` (false)
- `maxClaimedVehicles` (2)
- `transferKeepsClaimed` (true)
- `adminBypass` (true)
- `enforceOnServer` (true)
- `interactionRange` (15)
- `respawnDestroyed` (false)
Missing keys are added to an existing file; values you set are kept.
Owned vehicles are stored in `$profile:DLG/<namespace>/Global/Vehicles.json`.
## Compatibility
WCS Vehicle Lock is a separate lock system. Scenarios that load both should switch the WCS lock off (DLG
Survival PvPvE does).
## Other DLG mods
- DLG Core: persistence and settings for all DLG mods
- DLG Shop: traders, cash and vehicle shops
- DLG Game Master Additions: Map Entity Hider and Safe Zone
- DLG Loot Spawner: map-wide loot and Game Master loot areas
- DLG Encounters: configurable encounters and tasks
- DLG Survival PvPvE Scenario: the survival scenario built on all of them
License
CUSTOM LICENSE – RESTRICTED SERVER USE
Version 1.0 – [Date]
1. OWNERSHIP
This mod, including all code, assets, configurations and documentation
(the "Content"), is created and owned by BoomstickBarry/ the DLG Team (the "Author").
All rights not expressly granted in this license are reserved.
2. PERMITTED USE
Without further permission, you may:
a) download the Content through the Arma Reforger Workshop;
b) use it in single-player, offline or local Workbench sessions for
personal, non-commercial purposes;
c) host it on the following authorized servers only:
[DLG Survival PvPvE - Nizla Island].
3. SERVER RESTRICTION
You may not load, host, run or otherwise deploy the Content, in whole or
in part, on any multiplayer server other than those listed in Section 2(c)
without prior written permission from the Author. This applies to public,
private, password-protected, unlisted, test and event servers, and to
server-side-only use.
4. REQUESTING PERMISSION
Requests must be sent to [Discord/email]. Permission is valid only if
given in writing by the Author, applies only to the servers named in it,
and cannot be transferred or sublicensed.
5. NO REDISTRIBUTION
You may not reupload, mirror, repack, merge into another mod, or otherwise
redistribute the Content on any platform.
6. NO DERIVATIVES
You may not modify, adapt, decompile, extract assets or code from, or
create works based on the Content without written permission. Creating a
separate mod that lists the Content as a dependency is allowed only for
use on authorized servers.
7. NO COMMERCIAL USE
You may not sell the Content or use it in any context involving direct or
indirect financial gain, including servers with paid access, paid perks
or donation-based advantages.
7a. NO USE OUTSIDE BOHEMIA INTERACTIVE PRODUCTS
The Content may only be used within Arma Reforger and other Bohemia
Interactive products. It may not be transferred to, used in, or adapted
for any other game, engine or platform.
8. TECHNICAL MEASURES
The Content may include checks that limit its functionality to authorized
servers. Circumventing, disabling or removing these checks is prohibited.
9. TERMINATION AND REVOCATION
Any breach of this license automatically ends your rights under it. The
Author may revoke any granted permission at any time. After termination
or revocation, you must stop using the Content on any server immediately.
10. NO WARRANTY
The Content is provided "as is", without warranty of any kind. The Author
is not liable for any damage, data loss or server issues arising from its
use.
11. THIRD-PARTY CONTENT
Any third-party material included in the Content remains subject to its
own license, and nothing here overrides those terms.
12. CHANGES
The Author may update this license. The version shown on the Workshop
page is the one that applies.
13. SEVERABILITY
If any part of this license is found unenforceable, the rest remains in
effect.