LF PowerGrid

Type to search devices, guides and classnames.

    Wiki
    Guide

    Installation

    How to install and configure LF PowerGrid on your DayZ server.

    For players

    Subscribe to LF PowerGrid on the Steam Workshop and join a server that runs it. The server also runs Dabs Framework, a required dependency: subscribing to PowerGrid does not replace subscribing to the dependency if your launcher asks for it. No player-side configuration is needed.

    For server admins

    1. Load the mods

    -mod= lists installed mod folders, separated by semicolons. Use the folder names exactly as they were installed on your server, with Dabs Framework before PowerGrid, for example:

    -mod=@DabsFramework;@LF_PowerGrid

    Do not add vanilla packages such as @DZ_Data or @DZ_Scripts to -mod: they are part of the game, not server mod folders. If your folders have different names, use your installed names.

    2. Start the server once

    PowerGrid generates its configuration on startup. After the first start you will find it in your server profile folder:

    $profile:LF_PowerGrid/LF_PowerGrid.json

    That is the real path and spelling (note LF_PowerGrid and LF_PowerGrid.json). Back up the file before editing it, stop the server or follow your host's safe-edit procedure, keep it valid JSON, and restart to apply changes.

    3. Settings you can change

    These are real fields from the reference settings file. Values your server writes may differ; change one at a time and check the server log after restart.

    FieldWhat it does
    MaxWiresPerPlayerMaximum wires one player may own
    MaxWiresPerDeviceMaximum wires attached to one device (server setting; the reference hard limit is 64, and each device only exposes its own ports)
    AllowCutOthersWiresWhether players may cut wires owned by others
    HideCablesWithoutReelWhether cables are hidden from players holding neither a Cable Reel nor Pliers

    Partial example — keep the rest of the generated file as it is:

    {
      "MaxWiresPerPlayer": 200,
      "MaxWiresPerDevice": 32,
      "AllowCutOthersWires": false,
      "HideCablesWithoutReel": false
    }

    4. Register the economy types (required)

    Copy LFPGtypes.xml from the mod's Extra folder into your mission, for example mpmissions/dayzOffline.chernarusplus/lfpg_ce/LFPGtypes.xml, and register it in cfgeconomycore.xml inside <economycore>:

    <ce folder="lfpg_ce">
        <file name="LFPGtypes.xml" type="types" />
    </ce>

    The supplied file sets placed devices to lifetime 3888000 (45 days) and kits to 7200 (2 hours), with the nominal/min values in the file. Without it, placed devices can expire in 30–60 minutes. Critical order for already-expired placed objects: dismantle them BEFORE the restart, keep the recovered KIT in a player's inventory across the restart, and re-place them only AFTER restarting with the LFPG types registered. Restarting alone does not save objects that have already expired. Also copy the mod's .bikey key to your server keys folder as usual for signed mods.

    Technical notes

    Reference: public Workshop description (checked 2026-11-13) and a later code reference. Checked against the published Workshop package (item 3696475622) at code/config level on 2026-11-13 — this is not an in-game test, and your server settings can differ. Provenance: Steam Workshop / calculator provenance.

    Troubleshooting

    Devices appear but do not work

    • Confirm Dabs Framework and PowerGrid are both loaded, in that order.
    • Confirm LF_PowerGrid.json is still valid JSON after your edit.
    • Read the server log lines that mention LF_PowerGrid after a restart.

    Wires will not connect

    • See Basic Wiring for ports, limits and replacement.
    • Check whether the target port is already occupied — a new wire can replace the old one.