A community playtest is open. Download the M2 Living Town build, play it, and tell us what broke. Download and play

Everon, 1989 · life/RP for Arma Reforger

For server owners

Every field of your config

The owner file is $profile:LifeFramework/config.json. Every section below lists each field with its type, default, range and meaning. A value you leave out keeps the shipped default, so write only what you change.

Build the file in the browser with the config generator, or write it by hand. A file starts with schemaVersion (currently 1).

catalogue

The item catalogue and its outlets: Configs/Catalogue/LF_ItemCatalogue.conf, then each pack overlay of this class (D4), then the owner's `catalogue` section, then (on a client) the server's streamed values.

items (records, keyed by a stable key)

Catalogue items, keyed by id. Records are an object keyed by a stable key. The key is the item id (pistol_m9, raincoat_green). An id no shipped item has adds one, which must set prefab; an existing id changes only the fields given. removed: true takes the item out of every outlet; a later layer can put it back with removed: false.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
prefabstring""The item's prefab, a {GUID}path. Never a DLC-owned prefab
categorystring"equipment"Category: weapon, ammo, clothing, equipment or tool
priceinteger1000 to 1000000Price a buyer pays at an outlet
sellPriceinteger500 to 1000000Price an outlet pays a seller. Never above the price
legalitystring"legal"Legality: legal, licensed (lawful with the licence), restricted (lawful only with the licence, e.g. police kit) or illegal
licencestring""Licence (LF_ELicenseType name) that makes carrying a licensed or restricted item lawful, e.g. FIREARM_PERMIT
concealsFacebooleanfalseClothing: hides the wearer's face from a witness
concealsBuildbooleanfalseClothing: hides the wearer's build from a witness
removedbooleanfalseHidden: no outlet sells it; a later layer can set it back. The remove verb takes the item out of the list instead

offers (records, keyed by a stable key)

Outlet offers, keyed by outlet/item: which counter sells which item behind which gate. Records are an object keyed by a stable key. The key is outlet/item (gun_counter/pistol_m9): the outlet id a shop counter names, a slash, and the catalogue item id. A new key adds the offer; an existing key changes only the gate fields given. removed: true takes the item off that outlet.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
licencestring""Gate: licence the buyer must hold (LF_ELicenseType name). Empty is no licence gate
jobstring""Gate: job the buyer must be in (POLICE is an on-duty officer and the rank is the police rank; any other id is an LF_EJobType name the buyer works now and the rank is the job level). Empty is no job gate
minRankinteger00 to 100Gate with the job: the lowest rank (police rank index, or job level) that may buy
orgRightstring""Gate: organisation right the buyer's rank must carry (LF_EOrganizationPermission name). Empty is no right gate
stockinteger00 to 10000Stock: units the outlet holds of this item. 0 is no limit. A sale beyond what is left is refused (out of stock); server memory only, so a restart refills it
restockSecondsinteger6000 to 604800Restock: seconds after the first sale from a full shelf until the shelf is full again. 0 is no restock until the server restarts
issuebooleanfalseIssue: the outlet hands the item out free to a buyer who passes the gates, and books a serial to them (the police armory, #1763). No money moves
issuePrefabstring""Issue: the prefab handed out instead of the item's own, a twin that carries a serial component. Empty hands out the item's prefab
removedbooleanfalseHidden: the outlet no longer sells the item; a later layer can set it back. The remove verb takes the offer out of the list instead
grantsLicencestring""Licence row: the counter issues this licence (LF_ELicenseType name) under the licence office's rules (fee, clean record, wait; LF_LicenceDesk) instead of selling an item. m_sItem is then only the row's key and names no catalogue item. Empty is an item row

Example

{
  "catalogue": {
    "items": {
      "pistol_m9": {
        "price": 650,
        "sellPrice": 300
      }
    },
    "offers": {
      "gun_counter/pistol_m9": {
        "licence": "FIREARM_PERMIT"
      },
      "clothing_rack/raincoat_green": {
        "removed": true
      }
    }
  }
}

cleanup

The cleanup config: Configs/World/LF_CleanupConfig.conf with the owner's cleanup section over it.

FieldTypeDefaultRangeWhat it does
sweepIntervalSecondsinteger3000 to 86400Seconds between sweeps. 0 turns the sweep off

rules (records, keyed by a stable key)

One rule per kind. Records are an object keyed by a stable key. The key is the kind: item, vehicle or body. A kind the shipped config has not listed adds a rule.

Fields of each record

FieldTypeDefaultRangeWhat it does
enabledbooleantrueSweep this kind at all
maxAgeSecondsinteger00 to 604800Seconds an entity must have gone without a player near it before it goes
minPlayerDistanceinteger00 to 100000Metres to the nearest player; a closer entity is kept and its age starts over
maxHealthPercentinteger1000 to 100Health percent at or below which an entity may go. 100 sweeps any damage state
exemptPrefabslist of string[]Prefab name parts that are never swept

Example

{
  "cleanup": {
    "sweepIntervalSeconds": 300,
    "rules": {}
  }
}

crime

The crime catalog config: Configs/Crime/LF_CrimeCatalog.conf, with the owner's `crime` section layered over it.

crimes (records, keyed by a stable key)

Offences, in order. The ticket form lists the ones with a fine in this order. Records are an object keyed by a stable key. The key is the crime id, a localization key such as #LF-Offence_Robbery; saved crime records use the same string. An id no shipped entry has adds an offence at the end; an existing id changes only the fields given.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
wantedAddinteger10 to 5Wanted levels the crime adds when it is committed. Wanted caps at 5
fineinteger00 to 1000000Fixed fine in cash. Above 0 the offence is listed on the officer's ticket form, in catalog order
sentenceSecondsinteger00 to 86400Jail time in seconds when this offence is on the prisoner's reports. 0 leaves the sentence to the wanted level; otherwise the longer of the two applies
repeatThresholdinteger00 to 1000Completed crimes of this kind after which a repeat adds wanted levels. 0 turns the repeat rule off
repeatWantedAddinteger00 to 5Extra wanted levels a repeat adds on top of the normal amount
lawSectioninteger0Law-book section this code is read under: criminal, road, narcotics or weapons (#4202)
stackGroupstring""Stacking group (#4202). Codes of one group on a charge sheet do not add: the higher counts. Empty stacks with nothing, so the code always adds
jailOnlybooleanfalseJail only (#4202). The code refuses a fine: the officer cannot offer to pay it, and it adds nothing to the fine total

Example

{
  "crime": {
    "crimes": {
      "#LF-Offence_Robbery": {
        "wantedAdd": 2,
        "repeatThreshold": 3,
        "repeatWantedAdd": 1
      },
      "#LF-Offence_Shoplifting": {
        "sentenceSeconds": 600
      }
    }
  }
}

dayCycle

The `dayCycle` owner section (M4, #1343): how fast the in-game clock runs.

FieldTypeDefaultRangeWhat it does
modestring"vanilla"How the in-game clock runs: vanilla (the base game's), accelerated (a day lasts dayLengthMinutes real minutes) or realtime (follows the real clock plus clockOffsetMinutes)
dayLengthMinutesinteger14401 to 10080Real minutes one in-game day lasts under accelerated mode. Ignored by the other modes
nightSpeednumber10.1 to 10How many times faster the night runs than the day under accelerated mode (#3149): the server switches the manager's day duration at sunset and sunrise to the day's divided by this. 1 changes nothing
startHournumber80 to 24The in-game hour a fresh world starts at
clockOffsetMinutesinteger0-1440 to 1440Minutes added to the in-game clock

Example

{
  "dayCycle": {
    "mode": "vanilla",
    "dayLengthMinutes": 1440,
    "nightSpeed": 1,
    "startHour": 8,
    "clockOffsetMinutes": 0
  }
}

disconnect

Disconnect rules: what logging out does to a player who is cuffed, escorted, downed, wanted or jailed, so leaving never escapes an arrest, a death or a sentence.

FieldTypeDefaultRangeWhat it does
cuffedRulestring"jail"Logging out while cuffed: jail (the rejoin spawns in the cell), fine (taken from the bank) or release (only the cuffs come off)
escortedCountsAsCuffedbooleantrueA player escorted on foot by an officer counts as cuffed
cuffedWantedAddinteger10 to 5Wanted levels added for leaving custody (jail and fine rules)
cuffedMinJailSecondsinteger3000 to 86400Shortest sentence in seconds for leaving custody under the jail rule
cuffedFineinteger10000 to 10000000Fine taken from the bank for leaving custody under the fine rule
cuffedFineAllowsDebtbooleantrueThe fine may take the bank below zero (debt). Off: only what the bank holds
downedDiesbooleantrueLogging out while downed is death. Off: the body is left to the base game, and the rejoin is alive
wantedLogoutAddinteger00 to 5Wanted levels added for logging out while wanted and not in custody. The warrant itself always stays
jailClockOfflinebooleanfalseA jail sentence counts down while the prisoner is offline. Off: only online time is served
contactWindowSecondsinteger1200 to 3600Seconds after police contact (a stop, a search, a chase report) in which logging out wanted is jailed like a cuffed logout. 0 turns the rule off

Example

{
  "disconnect": {
    "cuffedRule": "jail",
    "escortedCountsAsCuffed": true,
    "cuffedWantedAdd": 1,
    "cuffedMinJailSeconds": 300,
    "cuffedFine": 1000,
    "cuffedFineAllowsDebt": true,
    "downedDies": true,
    "wantedLogoutAdd": 0,
    "jailClockOffline": false,
    "contactWindowSeconds": 120
  }
}

grace

The grace period setting (Configs/Moderation/LF_Grace.conf).

FieldTypeDefaultRangeWhat it does
minutesinteger00 to 600Minutes of playtime a new character is protected from being held up or arrested (and may not rob). 0 = no grace. A first crime ends it early

Example

{
  "grace": {
    "minutes": 0
  }
}

houses

The houses owner-config section: Configs/Houses/LF_Houses.conf with the owner's `houses` section layered over it.

FieldTypeDefaultRangeWhat it does
doorCloseDelaySecondsnumber200 to 600Seconds a locked house's open door stays open before it closes itself. 0 turns the auto-close off
salePercentinteger10010 to 100Percent of the listed price a house or a plot sells for at its For sale sign. Below 100 is a pacing discount (the alpha sets it), 100 is the shipped price

Example

{
  "houses": {
    "doorCloseDelaySeconds": 20,
    "salePercent": 100
  }
}

idCard

The photo identity card: Configs/Identity/LF_PhotoIdCard.conf with the owner's `idCard` section layered over it.

FieldTypeDefaultRangeWhat it does
replacementFeeinteger500 to 100000Cash the town clerk charges for a replacement identity card (a lost or stolen one). 0 replaces it free
showSecondsnumber82 to 60Seconds a card held up to another player (Show ID, a police request) stays on their screen

Example

{
  "idCard": {
    "replacementFee": 50,
    "showSeconds": 8
  }
}

jobs

Job pay, job XP and job levels.

FieldTypeDefaultRangeWhat it does
policeDutyPayPerSecondnumber0.50 to 100Police duty pay in cash per second on duty, paid at the station desk on going off duty. 0 disables duty pay
medicDutyPayPerSecondnumber0.40 to 100Medic duty pay in cash per second on duty, paid at the hospital desk on going off duty. 0 disables duty pay
dutyIdleSecondsinteger3000 to 86400Duty idle pause: an officer or medic on duty who for this many seconds neither moves 2 m, turns their view, nor rides a moving vehicle has the duty clock paused (no pay, no rank time) until they do. 0 turns the pause off
benefitBalanceThresholdinteger5000 to 1000000Unemployment benefit: a bank balance strictly below this may collect
benefitAmountinteger1000 to 1000000Unemployment benefit: cash handed over per collection. 0 disables the benefit
benefitCooldownSecondsnumber12000 to 86400Unemployment benefit: seconds between collections for one account
runMinDistancenumber3000 to 100000Delivery run: the drop-off must be at least this many metres (straight line) from where the run started, or the run pays nothing
runMinTimeFractionnumber0.60 to 1Delivery run: the run must take at least this share of the expected driving time (distance over the road speed), or it pays nothing
runRoadSpeednumber101 to 100Delivery run: road speed in metres per second used to work out the expected driving time of a run
nightRunStartHourinteger210 to 24Night window (#3148): the hour of the world clock the night rate starts at. Both hours 0 reads as the shipped 21 to 5
nightRunEndHourinteger50 to 24Night window (#3148): the hour of the world clock the night rate ends at (the window may wrap midnight). Equal non-zero hours make a day with no night
cargoDepositPercentinteger1000 to 1000Delivery cargo deposit: percent of the cargo's shop sell price taken at the start of a run. It is returned on delivery and kept when the run is abandoned. 0 turns the deposit off
cargoDepositFallbackinteger500 to 1000000Delivery cargo deposit: the deposit base when the shop price list has no sell price for the cargo
jobXpFirstLevelinteger5001 to 1000000Delivery career before job tracks: XP from level 1 to 2. Read only to migrate a version 7-27 save's career onto the DELIVERY job; set it to what this server used
jobXpLevelGrowthnumber21 to 10Delivery career before job tracks: each later level needed this many times the XP of the one before. Read only to migrate a version 7-27 save
testUnlockAllbooleanfalseTESTING ONLY, never on a live server. Opens every whitelist-gated job (police roster, playtime, application) to every player so a tester can clock in. A dedicated server ignores it unless the mission header allows it; the flagship config must not set it

tracks (records, keyed by a stable key)

Job level ladders: the XP thresholds of each job. Records are an object keyed by a stable key. The key is the job id (CIVILIAN, DELIVERY, FARMER, ...). A job no shipped track has adds one, which must set levelThresholds; an existing key changes only the fields given. The level is 1 plus the thresholds a character's XP has reached, so a changed table reaches existing saves.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
levelThresholdslist of integer[]Total XP to reach level 2, 3, ... in rising order; the level is 1 plus the thresholds reached
dailyXpCapinteger00 to 100000000Most XP one character earns in this job per day of server time (24 h since boot); 0 for no cap

xpAwards (records, keyed by a stable key)

XP each in-world action awards, the job it feeds and its cooldown. Records are an object keyed by a stable key. The key is the action id the game awards (delivery_run, fruit_pick, gather). An action no shipped award has adds one, which must set job; an existing key changes only the fields given.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
jobstring""Job id the XP goes to
xpinteger00 to 100000XP for one unit of the action (one run, one fruit)
cooldownSecondsnumber00 to 86400Seconds before the same character earns this action's XP again; 0 for none

licenceGates (records, keyed by a stable key)

Licence gates that differ from the shipped catalog: the job and level a licence needs. Records are an object keyed by a stable key. The key is a licence name (LF_ELicenseType, e.g. MINER_GOLD). A licence with no row keeps its shipped gate (its family job, its catalog level); a new row must set job and minLevel.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
jobstring""Job id whose level the licence needs
minLevelinteger11 to 100Job level the licence needs

runPays (records, keyed by a stable key)

What a finished delivery run pays, one row per job (PARCEL, FUEL_DELIVERY, TAXI); a pack sets its own rows. Records are an object keyed by a stable key. The key is the delivery job (PARCEL, FUEL_DELIVERY or TAXI). A job with no row keeps its shipped pay; an existing key changes only the fields given.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
payinteger401 to 1000000Cash one finished run of the job pays. Below 1 is refused and the shipped pay is used
nightRatenumber10 to 10Night rate (#3148): a run finished inside the night window pays this times the pay, the extra shown as its own part of the pay toast. 1 (or below) pays no night rate. The core ships 1; a pack raises it

Example

{
  "jobs": {
    "policeDutyPayPerSecond": 0.5,
    "medicDutyPayPerSecond": 0.4,
    "dutyIdleSeconds": 300,
    "benefitBalanceThreshold": 500,
    "benefitAmount": 100,
    "benefitCooldownSeconds": 1200,
    "runMinDistance": 300,
    "runMinTimeFraction": 0.6,
    "runRoadSpeed": 10,
    "nightRunStartHour": 21,
    "nightRunEndHour": 5,
    "cargoDepositPercent": 100,
    "cargoDepositFallback": 50,
    "jobXpFirstLevel": 500,
    "jobXpLevelGrowth": 2,
    "testUnlockAll": false,
    "tracks": {
      "FARMER": {
        "dailyXpCap": 3000
      },
      "DELIVERY": {
        "levelThresholds": [
          400,
          1200,
          3000
        ]
      }
    },
    "xpAwards": {
      "delivery_run": {
        "xp": 120
      }
    },
    "licenceGates": {
      "MINER_GOLD": {
        "job": "MINER",
        "minLevel": 4
      }
    },
    "runPays": {}
  }
}

joinNotice

The `joinNotice` owner section: one toast at each player's first spawn of the session.

FieldTypeDefaultRangeWhat it does
enabledbooleanfalseShow the join notice toast at each player's first spawn of the session. Off in the core
keystring""Localization key of the notice text, with or without the leading #. Empty shows nothing and logs a warning

Example

{
  "joinNotice": {
    "enabled": false,
    "key": ""
  }
}

licences

The owner's `licences` section (D8): which licences a new character starts with and which need the job whitelist.

FieldTypeDefaultRangeWhat it does
permitFeeinteger2500 to 1000000Licence desk: the firearm permit's fee in carried cash
permitWaitDaysnumber10 to 365Licence desk: in-game days from application to collection (0 issues at once)
permitConvictionDaysinteger70 to 365Licence desk: a conviction within this many in-game days refuses the permit at application and at collection (0 turns the check off)
driverLicenceFeeinteger1000 to 1000000Licence desk: the driving licence's fee in carried cash, issued at once

rules (records, keyed by a stable key)

Per-licence flags, keyed by licence name. A licence with no row keeps the catalog's flags. Records are an object keyed by a stable key. The key is a licence name as LF_ELicenseType spells it (POLICE_ACCESS, MINER_GOLD, ...). A name that is not a licence is refused. The job level a licence needs is jobs.licenceGates.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
isInitialLicensebooleanfalseGranted free when a character starts with no licences
requiresWhitelistbooleanfalseNeeds the job whitelist before it can be unlocked

Example

{
  "licences": {
    "rules": {
      "POLICE_FINE": {
        "requiresWhitelist": false
      }
    },
    "permitFee": 250,
    "permitWaitDays": 1,
    "permitConvictionDays": 7,
    "driverLicenceFee": 100
  }
}

lockers

The lockers owner-config section: Configs/Lockers/LF_Lockers.conf with each pack overlay (the mission header's m_aLF_ConfigOverlays, #3192) and then the owner's `lockers` section layered over it.

FieldTypeDefaultRangeWhat it does
rentPriceinteger1000 to 1000000Cash for one rent period at a locker site. 0 rents free
rentPeriodDaysinteger70 to 3650Days one rent payment lasts. 0 means a locker never lapses
gracePeriodDaysinteger20 to 3650Days after the paid-until moment before the contents move to the site's lost-and-found
reclaimFeeinteger500 to 1000000Cash to take the contents back from lost-and-found. 0 reclaims free
weightCapacitynumber601 to 10000Kilograms one locker holds

Example

{
  "lockers": {
    "rentPrice": 100,
    "rentPeriodDays": 7,
    "gracePeriodDays": 2,
    "reclaimFee": 50,
    "weightCapacity": 60
  }
}

logoutBody

Owner config, section "logoutBody".

FieldTypeDefaultRangeWhat it does
windowSecondsinteger3000 to 3600Seconds a logged-out character stays in the world as a lootable body. 0 turns the body off (the character leaves with the player)
downedWindowSecondsinteger6000 to 3600Seconds the body stays when the player left downed and did not die (disconnect downedDies off). Never shorter than windowSeconds

Example

{
  "logoutBody": {
    "windowSeconds": 300,
    "downedWindowSeconds": 600
  }
}

organizations

Organization tuning: the founding fee, name length, offer lifetime, fund cash limit, upgrade prices and the desk reach.

FieldTypeDefaultRangeWhat it does
foundingFeeinteger2500 to 10000000Carried cash the founder hands over at the registry desk to found an organization
nameMininteger31 to 64Shortest organization name, in characters
nameMaxinteger321 to 64Longest organization name, in characters
offerMsinteger1200005000 to 3600000Milliseconds an invitation stands before the invitee has to be asked again
maxCashMoveinteger10000001 to 100000000Largest single cash move into or out of an organization fund
priceExtraStorageinteger5000 to 10000000Fund price of the extra storage upgrade
priceProcessingSlotinteger2500 to 10000000Fund price of the processing slot upgrade
priceParkedVehicleinteger7500 to 10000000Fund price of the parked vehicle upgrade
deskRangenumber51 to 30Metres a player may stand from an organization desk when the server moves fund cash
heldGroundMaxPointsinteger10000 to 1000000Most points an organization banks by holding its hideout (#751); a saved total above it is clamped on load
hideoutLeaseIdleDaysinteger140 to 3650Real days a hideout lease may stand with no member of its organization connected before the lease lapses (#2573); 0 = leases never lapse
warsobjectThe rules of an organization war: the fee, the answer window, how long a war lasts, the cooldown between the same two organizations, the shorter cooldown after a declaration lapses, the member minimum and the two kill rules.

rankDefaults (records, keyed by a stable key)

Rights of the default ranks a new organization starts with, one entry per rank id (founder, officer, member). A rank with no entry keeps its shipped rights. Applies to organizations founded after the change; a saved organization keeps its own ranks. Records are an object keyed by a stable key. The key is a default rank id: founder, officer or member. The entry starts from the shipped rights, so only the permissions written change. It applies to organizations founded afterwards; a saved organization keeps its own ranks.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
withdrawbooleanfalseMay take cash out of the fund
invitebooleanfalseMay invite players
kickbooleanfalseMay kick members below this rank
buyUpgradebooleanfalseMay buy upgrades from the fund
manageRanksbooleanfalseMay promote and demote members below this rank
declareWarbooleanfalseMay declare a war on another organization and answer a declaration made on it
useStashbooleanfalseReserved: the hideout stash opens for every member today
manageTerritorybooleanfalseReserved for territory: no effect yet
spendFundbooleanfalseReserved: spending the fund on something other than an upgrade

Example

{
  "organizations": {
    "foundingFee": 500,
    "nameMin": 3,
    "nameMax": 32,
    "offerMs": 120000,
    "maxCashMove": 1000000,
    "priceExtraStorage": 500,
    "priceProcessingSlot": 250,
    "priceParkedVehicle": 750,
    "deskRange": 5,
    "heldGroundMaxPoints": 1000,
    "hideoutLeaseIdleDays": 14,
    "rankDefaults": {
      "officer": {
        "withdraw": true
      }
    },
    "wars": {
      "fee": 5000,
      "answerSeconds": 600,
      "lengthSeconds": 7200,
      "cooldownSeconds": 86400,
      "lapseCooldownSeconds": 3600,
      "minMembers": 3,
      "warKillsAreMurder": false,
      "tagWarKills": true
    }
  }
}

persistence

The owner's `persistence` section: how the autosave runs, and which fields survive a restart.

FieldTypeDefaultRangeWhat it does
enableAutosavebooleantrueSave the campaign periodically while it runs. Off leaves saving to the save points and the shutdown save
autosaveIntervalnumber60030 to 86400Seconds between autosaves
keepCashbooleantrueCash on hand survives a restart. Off: carried cash is gone after a restart; the bank is kept
keepCarriedGearbooleantrueCarried gear survives a restart. Off: a character respawns with the starting loadout, cash on hand included
keepSurvivalbooleantrueHunger and thirst survive a restart. Off: both start full
keepWantedbooleantrueWanted levels survive a restart. Off: every warrant is cleared and its poster comes down
keepJailbooleantrueJail sentences survive a restart. Off: every prisoner is free after a restart
keepLicencesbooleantrueEarned licences survive a restart. Off: characters keep only the starter licences

Example

{
  "persistence": {
    "enableAutosave": true,
    "autosaveInterval": 600,
    "keepCash": true,
    "keepCarriedGear": true,
    "keepSurvival": true,
    "keepWanted": true,
    "keepJail": true,
    "keepLicences": true
  }
}

police

Police tuning: per-rank permissions, the wanted board and crime reports, and the paper ticket: offences with fixed amounts, both deadlines, and the late rule.

FieldTypeDefaultRangeWhat it does
arrestMinRankinteger00 to 20Lowest police rank that may arrest (0 patrol, 1 senior)
escortMinRankinteger00 to 20Lowest police rank that may escort a suspect (0 patrol, 1 senior)
catchInActRadiusnumber100 to 200An on-duty officer this close (metres) when a crime is committed catches the suspect in the act: the report is identified at once
placeRadiusnumber800 to 2000A crime report names the nearest sign within this many metres as the place; beyond it the place is a map grid square
boardReadDistancenumber41 to 30How close (metres) a player must stand to the wanted board for the server to answer a read
boardMaxPostersinteger81 to 20Most posters the wanted board shows, newest first
alarmSecondsnumber301 to 600Seconds the site alarm sounds when at least one officer is on duty
loudAlarmSecondsnumber601 to 600Seconds the site alarm sounds when nobody is on duty: the louder, longer alarm
alarmPrefabstring"{3C7A51E2D94B08F6}Prefabs/Police/LF_SiteAlarm.et"Alarm spawned at the site when officers are on duty. Its LF_SiteAlarmComponent sets the sound, hear range, and light
loudAlarmPrefabstring"{8E15F0B7A26C4D93}Prefabs/Police/LF_SiteAlarm_Loud.et"Alarm spawned at the site when nobody is on duty: the loud siren, a longer range, a brighter flashing light
radioSoundProjectstring"{FD5E9674E51B9D13}Sounds/Props/Military/Radios/Props_Radios_Signals.acp"Sound project of the radio chirp an on-duty officer hears with a dispatch
radioSoundEventstring"SOUND_RADIO_SIGNAL_2"Sound event of the radio chirp
dispatchLogLinesinteger51 to 20Dispatch lines the wanted board shows to on-duty police, newest first
ticketFirstDeadlineinteger18001 to 86400Online seconds a ticket holder has to pay at the police desk before the amount goes up
ticketSecondDeadlineinteger18001 to 86400Further online seconds after the first deadline before an unpaid ticket makes the holder wanted
ticketLateMultipliernumber21 to 10The amount is multiplied by this once, at the first deadline
officerKillOfWantedExemptbooleantrueAn on-duty officer who kills a suspect with wanted above 0 is not charged with murder
alphaInstantApprovalbooleanfalseALPHA ONLY: a police application filed at the station desk is approved at once, with no playtime gate, cooldown or trial, so testers can clock in without an administrator. Off on a live server
searchCooldownSecondsinteger1200 to 3600Seconds before the same player or vehicle can be searched for chain goods again. A repeat inside it is not rolled again. 0 disables
ticketMaxOpeninteger31 to 20Unpaid tickets one holder may carry; a further ticket is refused
ticketKeepPaidinteger30 to 20Paid tickets kept per holder so a receipt reprints after a restart
arrestReachnumber51 to 30Metres an officer may stand from a suspect to arrest or fine from the police menu or the arrest action
jailArrivalRadiusnumber81 to 50Metres from the cell a jail escort counts as arrived
applyDeskRangenumber61 to 30Metres a player may stand from the police application desk for the form to open
compliantSecondsinteger600 to 600Seconds after a hold-up during which the held-up player, holding no weapon, may be handcuffed by an on-duty officer. A downed player may always be. 0 allows downed players only
spikeStripLifetimeSecondsinteger60030 to 7200Seconds a deployed spike strip stays before it goes away by itself. An officer can pick it up sooner
applyMinPlaytimeHoursinteger500 to 100000Hours of play (all jobs together) an account needs before it may apply to the police. 0 turns the gate off
applyRejectCooldownHoursinteger720 to 100000Hours an applicant waits to apply again after a rejection. 0 turns the cooldown off
trialHoursinteger1680 to 100000Hours a new officer is on trial after an approval. The roster entry ends when the trial does unless the officer was promoted first. 0 means no trial
armoryCooldownMinutesinteger1201 to 1440Minutes of real time between two armory kits for one officer. Saved, so clocking out and a restart do not reset it. At least 1: the spike strip and roadblock kit carry no serial, so only the cooldown limits them
dutyShiftMaxSecondsinteger108000 to 86400Most seconds of one duty shift that count for duty pay and rank; 0 means no cap. Past it the clock runs on unpaid until the officer clocks out and in again, so an officer who walked away from the game stops earning. A disconnect also stops the clock
trialSweepSecondsinteger6010 to 3600Seconds between the server's checks for an on-duty officer whose trial ran out. That officer is clocked out
ticketRateWindowSecondsinteger101 to 60Seconds of the window in which an officer may send ticket requests (ticketRateBurst per window)
ticketRateBurstinteger31 to 50Ticket requests one officer may send per ticketRateWindowSeconds. More are refused
spikeStripMaxPerOfficerinteger21 to 20Spike strips one officer may have deployed at once. Each deployed strip checks for wheels 20 times a second
callRadiusnumber501 to 2000Metres from a police call site within which the fine by the officer holding the call completes it

ranks (records, keyed by a stable key)

The rank ladder, lowest first. A rank is its index here and a saved index never changes meaning: append, never reorder. Index 0 is patrol and 1 is senior. Records are an object keyed by a stable key. The key is the rank id (patrol, senior). An id the ladder has changes that rank only in the fields given; an id it lacks appends a rung at the end, because a saved rank is its index and never moves. A remove is refused on a shipped rank and on any rank that is not the last. A rank written in the stream leaves out kit.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
titleKeystring""Localization key of the title, without the leading #
fineCapinteger10000 to 10000000Largest fine an officer of this rank may write
payPerSecondnumber-1-1 to 1000Cash per on-duty second at clock-out. Negative uses the jobs config police rate
dutySecondsForNextinteger00 to 10000000On-duty seconds that promote an officer to the next rank. 0 means no time promotion
kitlist of string[]Kit prefabs drawn at the armory. Only prefabs in the station catalog are issued

alarmKinds (records, keyed by a stable key)

The site alarms by robbery type: each kind names the alarm prefab that sounds at the site (a bank bell, a till buzzer), a loud twin for when nobody is on duty, and the offences that use it when the robbed thing names no kind itself. A site with no kind keeps the plain siren above. Shipped values only; the owner config does not override kinds. Records are an object keyed by a stable key. The key is the alarm kind id (bank, fuel, store, van), the id a robbed thing's alarm kind names. An id no shipped kind has adds one, which must set prefab; an existing id changes only the fields given. offences replaces the kind's offence list.

Fields of each record

FieldTypeDefaultRangeWhat it does
prefabstring""Alarm spawned at the site when officers are on duty
loudPrefabstring""Alarm spawned when nobody is on duty. Empty uses the normal prefab
offenceslist of string[]Offence keys (localization keys) that use this kind when the robbed thing names none

Example

{
  "police": {
    "arrestMinRank": 0,
    "escortMinRank": 0,
    "ranks": {
      "patrol": {
        "fineCap": 1500
      }
    },
    "alarmKinds": {},
    "catchInActRadius": 10,
    "placeRadius": 80,
    "boardReadDistance": 4,
    "boardMaxPosters": 8,
    "alarmSeconds": 30,
    "loudAlarmSeconds": 60,
    "alarmPrefab": "{3C7A51E2D94B08F6}Prefabs/Police/LF_SiteAlarm.et",
    "loudAlarmPrefab": "{8E15F0B7A26C4D93}Prefabs/Police/LF_SiteAlarm_Loud.et",
    "radioSoundProject": "{FD5E9674E51B9D13}Sounds/Props/Military/Radios/Props_Radios_Signals.acp",
    "radioSoundEvent": "SOUND_RADIO_SIGNAL_2",
    "dispatchLogLines": 5,
    "ticketFirstDeadline": 1800,
    "ticketSecondDeadline": 1800,
    "ticketLateMultiplier": 2,
    "officerKillOfWantedExempt": true,
    "alphaInstantApproval": false,
    "searchCooldownSeconds": 120,
    "ticketMaxOpen": 5,
    "ticketKeepPaid": 3,
    "arrestReach": 6,
    "jailArrivalRadius": 8,
    "applyDeskRange": 6,
    "compliantSeconds": 60,
    "spikeStripLifetimeSeconds": 600,
    "applyMinPlaytimeHours": 50,
    "applyRejectCooldownHours": 72,
    "trialHours": 168,
    "armoryCooldownMinutes": 120,
    "dutyShiftMaxSeconds": 10800,
    "trialSweepSeconds": 60,
    "ticketRateWindowSeconds": 10,
    "ticketRateBurst": 3,
    "spikeStripMaxPerOfficer": 2,
    "callRadius": 50
  }
}

respawn

Where a dead player wakes and what it costs.

FieldTypeDefaultRangeWhat it does
wakeInHospitalbooleantrueAfter a death, respawn in a hospital bed (LF_HospitalBedComponent). Off, or no bed in the world: the spawn plaza
billAmountinteger1500 to 1000000Treatment bill written on paper at every respawn after a death, paid in cash at the hospital desk (#260). 0 disables the bill
wakeLoiterTypeinteger70 to 64Loiter animation the waking body plays: the base game tutorial's bed wake (7 full, 8 fast). 0 skips the animation
wakeRootMotionbooleantrueThe wake animation moves the body (root motion), so it gets off the bed instead of standing on it
wakeLieSecondsnumber00 to 600Seconds before the bed loiter is stopped into the get-up. 0 lets the animation end by itself
rejoinAtLastPositionbooleanfalseA returning character spawns where it logged out (rejoinAtLastPosition, #1778). Off: the normal spawn point. A jail return and a hospital wake come first; a stale or unsafe spot falls back to the spawn point (LF_RejoinSpot)
rejoinMaxAgeHoursinteger120 to 720A saved spot older than this many hours is stale and the character takes the spawn point. 0 means no age limit

Example

{
  "respawn": {
    "wakeInHospital": true,
    "billAmount": 150,
    "wakeLoiterType": 7,
    "wakeRootMotion": true,
    "wakeLieSeconds": 0,
    "rejoinAtLastPosition": false,
    "rejoinMaxAgeHours": 12
  }
}

restarts

The `restarts` owner section (M4, #1343): when the server restarts each day and how far ahead players are warned.

FieldTypeDefaultRangeWhat it does
timeslist of string[]Daily restart times, 24-hour HH:MM in the server's local time (for example 04:00). Empty means no scheduled restarts
warningMinuteslist of integer[]Minutes before a restart at which players are warned, each 1 to 120. The shipped leads are 15, 5 and 1

Example

{
  "restarts": {
    "times": [],
    "warningMinutes": [
      15,
      5,
      1
    ]
  }
}

rulesQuiz

The rules orientation quiz switches: Configs/Rules/LF_Quiz.conf, then each pack overlay of this class, then the owner's `rulesQuiz` section.

FieldTypeDefaultRangeWhat it does
enabledbooleantrueAsk new players the rules quiz. Off lets everyone through
repeatOnConnectbooleanfalseAsk on every connect, not once per account. The pass is still remembered for the staff tools
passPercentinteger801 to 100Percent of the questions that must be right to pass
maxAttemptsinteger30 to 20Failed attempts before the player is kicked. 0 lets them retry for ever

Example

{
  "rulesQuiz": {
    "enabled": true,
    "repeatOnConnect": false,
    "passPercent": 80,
    "maxAttempts": 3
  }
}

shops

Price table for the shop system.

FieldTypeDefaultRangeWhat it does
defaultBuyPriceinteger500 to 1000000Default buy price when no rule matches
defaultSellPriceinteger250 to 1000000Default sell price when no rule matches
extraItemPrefabslist of string[]Extra item prefabs priced outside the entity catalog

priceRules (records, keyed by a stable key)

Ordered price rules; later matches override earlier ones. Records are an object keyed by a stable key. The rule's key is a prefab-path substring, or type:<flags>,mode:<mode> to match by arsenal type (mode defaults to 2, any). A key no shipped rule has adds a rule; an existing key changes only the fields given.

Record key formats

  • Prefabs/Items/Food/ (a prefab-path substring; every prefab whose path contains it matches)
  • prefab:<GUID> (one prefab, by its 16 hex digit GUID)
  • type:<flags>,mode:<mode> (an arsenal type; mode defaults to 2, any)

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
prefabstring""One prefab, matched by GUID; wins over the path substring and type/mode
buyPriceinteger1000 to 1000000Buy price: what the player pays
sellPriceinteger500 to 1000000Sell price: what the shop pays the player
hiddenbooleanfalseNever offer this item in any shop

Example

{
  "shops": {
    "defaultBuyPrice": 50,
    "defaultSellPrice": 25,
    "priceRules": {
      "Prefabs/Items/Food/": {
        "buyPrice": 10,
        "sellPrice": 5
      },
      "Prefabs/Weapons/": {
        "hidden": true
      }
    },
    "extraItemPrefabs": []
  }
}

sites

The rules of each contested site: radius, member minimum, capture, decay, flip cooldown and rent, per hideout id (#2679, gang war #1022).

rules (records, keyed by a stable key)

The rules of each contested site, one entry per hideout id the site guards. A field an entry leaves out has the default rule. The core ships none: a pack adds the sites of its map. Records are an object keyed by a stable key. The key is the hideout id the site guards. An id no shipped entry has adds a site; an existing id changes only the fields given. A field an entry leaves out has the default rule.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
radiusinteger601 to 1000Metres from the site's centre within which a member counts as on the site
innerRadiusinteger200 to 1000Metres from the site's centre of the inner ring; a member there counts double. 0 means no inner ring. At most radius
minMembersPresentinteger21 to 100Members of one organization that must stand on the site before it gains or captures
captureSecondsinteger3001 to 86400Capture progress, in counted-member seconds, at which the site changes hands
decayPerHourinteger6000 to 1000000Seconds of capture progress lost per hour while nobody stands on the site. 0 means progress never fades
flipCooldownSecondsinteger18000 to 604800Seconds after the site changes hands in which no new capture completes. 0 means no cooldown
rentPerHourinteger6000 to 1000000Cash the holder earns per hour of holding the site. 0 earns nothing
maxRentBankedinteger30000 to 100000000Most cash a site banks for its holder before it is collected
activeWindowSecondsinteger3001 to 86400Seconds a member stays counted as active after the last thing they did on the site

Example

{
  "sites": {
    "rules": {
      "hideout_example": {
        "captureSeconds": 180,
        "rentPerHour": 900
      }
    }
  }
}

staff

The `staff` owner section (M4, #1343): where staff notifications are posted.

FieldTypeDefaultRangeWhat it does
webhookUrlstring""Webhook URL staff notifications are posted to. A secret: set it only in the host's own config.json. Empty means no notifications

Example

{
  "staff": {
    "webhookUrl": ""
  }
}

systems

The `systems` section: which systems this server runs.

switches (records, keyed by a stable key)

On or off per system, keyed by system id. Turning a system off keeps its saved data, so turning it on again restores it. Records are an object keyed by a stable key. The key is a system id: a Feature/<Area> folder name (Farming) or a named part of one (Robbery, Pager), as Configs/Systems/LF_SystemCatalog.conf lists them. Turning a system off hides its actions, refuses its requests and spawns nothing; its saved data is kept, so turning it on again restores it. A framework system (LOCKED), a system with no switch yet (NOT_YET), and turning off one that an enabled system needs are refused at boot, and the system stays on.

Fields of each record

FieldTypeDefaultRangeWhat it does
enabledbooleantrueOn. Off hides the system's actions, refuses its requests and spawns nothing; its saved data is kept

Example

{
  "systems": {
    "switches": {}
  }
}

taxiFares

Taxi fare numbers: Configs/Jobs/LF_TaxiFares.conf with the owner's `taxiFares` section layered over it.

FieldTypeDefaultRangeWhat it does
floorinteger801 to 1000000Taxi fare: the least a fare pays, and what a short hop pays
ratePerMetrenumber0.040.001 to 1000Taxi fare: cash added per metre of straight-line distance beyond a short hop
capinteger3001 to 1000000Taxi fare: the most a fare pays, however far it went. Must not be below the floor
shortHopMetresnumber1000 to 10000Taxi fare: a drop-off this many metres or fewer from the pickup pays the floor only. 0 prices every metre

Example

{
  "taxiFares": {
    "floor": 80,
    "ratePerMetre": 0.04,
    "cap": 300,
    "shortHopMetres": 100
  }
}

tradeUnlocks

The unlock table: one row per trade per level 2 to 30.

rows (records, keyed by a stable key)

Unlock rows: trade, level, text key.

Fields of each record

FieldTypeDefaultRangeWhat it does
jobstring""Trade track id, e.g. FARMER, MINER, SMELTING, DELIVERY
levelinteger2The level that opens this, 2 to 30
textKeystring""Localization key naming what the level opens, the unlock text row

Example

{
  "tradeUnlocks": {
    "rows": {}
  }
}

vehicles

Vehicle prices.

FieldTypeDefaultRangeWhat it does
buyPercentinteger1000 to 1000Percent of the base price the lot charges
sellBackPercentinteger500 to 1000Percent of the base price a sell-back pays (no desk consumes it yet)
chopPercentinteger300 to 1000Percent of the (capped) base price the chop shop pays
chopValueCapinteger30000 to 1000000The chop shop counts no vehicle for more than this; 0 for no cap
impoundPercentinteger100 to 1000Percent of the base price the impound desk charges
garagePercentinteger00 to 1000Percent of the base price a garage charges (free today)
lotNeedsDrivingLicencebooleanfalseThe car lot sells only to a buyer who holds the driving licence

vehicles (records, keyed by a stable key)

Per-vehicle base prices and overrides. Records are an object keyed by a stable key. The key is the vehicle's prefab GUID (16 hex digits, the lot's vanilla car or its locked child). A GUID no shipped vehicle has adds one, which must set basePrice. An existing key changes only the fields given; an override of -1 derives the price.

Record key formats

  • 54C3CC22DEBD57BE (the vehicle's prefab GUID, 16 hex digits)

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
spawnPrefabstring""Locked child the buyer gets (the chop shop and impound see this one). Empty: none
basePriceinteger00 to 1000000The one number: what the vehicle is worth
buyOverrideinteger-1-1 to 1000000Buy price override; -1 derives it
sellBackOverrideinteger-1-1 to 1000000Sell-back override; -1 derives it
chopOverrideinteger-1-1 to 1000000Chop payout override; -1 derives it
impoundOverrideinteger-1-1 to 1000000Impound fee override; -1 derives it
garageOverrideinteger-1-1 to 1000000Garage fee override; -1 derives it
lotIdstring""Lot id that sells this row (LF_VehicleLotComponent lot id). Empty: every lot
capacityClassstring""Capacity class from LF_Capacity (car, pickup, van, truck). Empty: unclassed
nameKeystring""Localization key of the catalogue row, for a lot that lists this row itself

Example

{
  "vehicles": {
    "buyPercent": 100,
    "sellBackPercent": 50,
    "chopPercent": 30,
    "chopValueCap": 3000,
    "impoundPercent": 10,
    "garagePercent": 0,
    "lotNeedsDrivingLicence": false,
    "vehicles": {
      "54C3CC22DEBD57BE": {
        "basePrice": 1200,
        "impoundOverride": 200
      }
    }
  }
}

wantedBoard

The posters drawn on the wanted board's face (docs/architecture/visual-boards-budget.md): Configs/Police/LF_WantedPosters.conf with the owner's `wantedBoard` section layered over it.

FieldTypeDefaultRangeWhat it does
postersinteger41 to 8Posters on the wanted board's face, newest first: one row up to 4, two rows up to 8. Each picture costs the viewer a few ms for 3 s after a change (docs/architecture/visual-boards-budget.md)
stolenPostersinteger10 to 8How many of those places reported stolen cars may take, newest first, after the wanted people. 0 keeps stolen cars off the face (they stay on the officers' Read card)
drawRadiusnumber305 to 100Metres from the board within which a player's game draws the posters; beyond it plus 5 m they are released

Example

{
  "wantedBoard": {
    "posters": 4,
    "stolenPosters": 1,
    "drawRadius": 30
  }
}

zones

The zone rule sets: Configs/Moderation/LF_Zones.conf with the owner's `zones` section layered over it.

FieldTypeDefaultRangeWhat it does
safeBlocksPlayerDamagebooleantrueLegacy: SAFE zones refuse player-on-player damage. Ignored once the rule table has a SAFE entry
lawlessSuppressesWantedbooleanfalseLegacy: a murder inside a LAWLESS zone raises no wanted level. Ignored once the rule table has a LAWLESS entry

ruleSets (records, keyed by a stable key)

One entry per rule: what that rule does. Records are an object keyed by a stable key. The key is the rule name: NORMAL, SAFE or LAWLESS. A rule changes only the fields given. A rule with no shipped entry starts from what the two legacy flags say.

Fields of each record

FieldTypeDefaultRangeWhat it does
opstring""Overlay verb for this id: add, replace, patch or remove. Empty patches an id that exists and adds one that does not (docs/config/override-model.md).
blocksPlayerDamagebooleanfalsePlayer-on-player damage is refused when either side stands inside
suppressesWantedbooleanfalseA murder inside raises no wanted level
allowsRobberybooleantrueRobbery is allowed inside
allowsVehicleTheftbooleantrueVehicle theft is allowed inside
allowsWeaponDrawbooleantrueDrawing a weapon is allowed inside
fineMultipliernumber10 to 10Multiplier on fines for crimes committed inside
copsEnterbooleantruePolice may enter and act inside

Example

{
  "zones": {
    "ruleSets": {
      "SAFE": {
        "fineMultiplier": 2
      },
      "LAWLESS": {
        "suppressesWanted": true
      }
    },
    "safeBlocksPlayerDamage": true,
    "lawlessSuppressesWanted": false
  }
}

everon1989

Pack LF_Everon1989: Settings of the 1989 Everon pack. A sample section: the owner's config.json can set it, but nothing reads it yet (the M5 chains will).

FieldTypeDefaultRangeWhat it does
festivalDayinteger31 to 7Day of the week the harbour festival runs, 1 to 7.
harbourNamestring"Saint Philippe"The harbour town name the pack uses in announcements.
chainsEnabledbooleantrueWhether the pack turns its resource chains on.

Check a file before a restart

The server refuses a bad value, skips a bad section and ignores an unknown key, and tells you only in its log. config-check reports the same problems first, offline, with line and column, using this schema.

tools\cli config-check path\to\config.json

ERROR  5:24  shops.defaultBuyPrice is not a whole number; keeping the shipped value
WARN   7:5  shops.bogus is not a known key; ignored

Exit code 1 on any error. --strict fails on warnings too, --json prints the problems for a script. Full usage is in owner-config.md.

Generated from config.schema.json and config.example.json at build time.

Back to server owners