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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| prefab | string | "" | The item's prefab, a {GUID}path. Never a DLC-owned prefab | |
| category | string | "equipment" | Category: weapon, ammo, clothing, equipment or tool | |
| price | integer | 100 | 0 to 1000000 | Price a buyer pays at an outlet |
| sellPrice | integer | 50 | 0 to 1000000 | Price an outlet pays a seller. Never above the price |
| legality | string | "legal" | Legality: legal, licensed (lawful with the licence), restricted (lawful only with the licence, e.g. police kit) or illegal | |
| licence | string | "" | Licence (LF_ELicenseType name) that makes carrying a licensed or restricted item lawful, e.g. FIREARM_PERMIT | |
| concealsFace | boolean | false | Clothing: hides the wearer's face from a witness | |
| concealsBuild | boolean | false | Clothing: hides the wearer's build from a witness | |
| removed | boolean | false | Hidden: 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| licence | string | "" | Gate: licence the buyer must hold (LF_ELicenseType name). Empty is no licence gate | |
| job | string | "" | 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 | |
| minRank | integer | 0 | 0 to 100 | Gate with the job: the lowest rank (police rank index, or job level) that may buy |
| orgRight | string | "" | Gate: organisation right the buyer's rank must carry (LF_EOrganizationPermission name). Empty is no right gate | |
| stock | integer | 0 | 0 to 10000 | Stock: 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 |
| restockSeconds | integer | 600 | 0 to 604800 | Restock: seconds after the first sale from a full shelf until the shelf is full again. 0 is no restock until the server restarts |
| issue | boolean | false | Issue: 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 | |
| issuePrefab | string | "" | 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 | |
| removed | boolean | false | Hidden: 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 | |
| grantsLicence | string | "" | 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| sweepIntervalSeconds | integer | 300 | 0 to 86400 | Seconds 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| enabled | boolean | true | Sweep this kind at all | |
| maxAgeSeconds | integer | 0 | 0 to 604800 | Seconds an entity must have gone without a player near it before it goes |
| minPlayerDistance | integer | 0 | 0 to 100000 | Metres to the nearest player; a closer entity is kept and its age starts over |
| maxHealthPercent | integer | 100 | 0 to 100 | Health percent at or below which an entity may go. 100 sweeps any damage state |
| exemptPrefabs | list 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| wantedAdd | integer | 1 | 0 to 5 | Wanted levels the crime adds when it is committed. Wanted caps at 5 |
| fine | integer | 0 | 0 to 1000000 | Fixed fine in cash. Above 0 the offence is listed on the officer's ticket form, in catalog order |
| sentenceSeconds | integer | 0 | 0 to 86400 | Jail 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 |
| repeatThreshold | integer | 0 | 0 to 1000 | Completed crimes of this kind after which a repeat adds wanted levels. 0 turns the repeat rule off |
| repeatWantedAdd | integer | 0 | 0 to 5 | Extra wanted levels a repeat adds on top of the normal amount |
| lawSection | integer | 0 | Law-book section this code is read under: criminal, road, narcotics or weapons (#4202) | |
| stackGroup | string | "" | 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 | |
| jailOnly | boolean | false | Jail 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| mode | string | "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) | |
| dayLengthMinutes | integer | 1440 | 1 to 10080 | Real minutes one in-game day lasts under accelerated mode. Ignored by the other modes |
| nightSpeed | number | 1 | 0.1 to 10 | How 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 |
| startHour | number | 8 | 0 to 24 | The in-game hour a fresh world starts at |
| clockOffsetMinutes | integer | 0 | -1440 to 1440 | Minutes 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| cuffedRule | string | "jail" | Logging out while cuffed: jail (the rejoin spawns in the cell), fine (taken from the bank) or release (only the cuffs come off) | |
| escortedCountsAsCuffed | boolean | true | A player escorted on foot by an officer counts as cuffed | |
| cuffedWantedAdd | integer | 1 | 0 to 5 | Wanted levels added for leaving custody (jail and fine rules) |
| cuffedMinJailSeconds | integer | 300 | 0 to 86400 | Shortest sentence in seconds for leaving custody under the jail rule |
| cuffedFine | integer | 1000 | 0 to 10000000 | Fine taken from the bank for leaving custody under the fine rule |
| cuffedFineAllowsDebt | boolean | true | The fine may take the bank below zero (debt). Off: only what the bank holds | |
| downedDies | boolean | true | Logging out while downed is death. Off: the body is left to the base game, and the rejoin is alive | |
| wantedLogoutAdd | integer | 0 | 0 to 5 | Wanted levels added for logging out while wanted and not in custody. The warrant itself always stays |
| jailClockOffline | boolean | false | A jail sentence counts down while the prisoner is offline. Off: only online time is served | |
| contactWindowSeconds | integer | 120 | 0 to 3600 | Seconds 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).
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| minutes | integer | 0 | 0 to 600 | Minutes 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| doorCloseDelaySeconds | number | 20 | 0 to 600 | Seconds a locked house's open door stays open before it closes itself. 0 turns the auto-close off |
| salePercent | integer | 100 | 10 to 100 | Percent 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| replacementFee | integer | 50 | 0 to 100000 | Cash the town clerk charges for a replacement identity card (a lost or stolen one). 0 replaces it free |
| showSeconds | number | 8 | 2 to 60 | Seconds 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| policeDutyPayPerSecond | number | 0.5 | 0 to 100 | Police duty pay in cash per second on duty, paid at the station desk on going off duty. 0 disables duty pay |
| medicDutyPayPerSecond | number | 0.4 | 0 to 100 | Medic duty pay in cash per second on duty, paid at the hospital desk on going off duty. 0 disables duty pay |
| dutyIdleSeconds | integer | 300 | 0 to 86400 | Duty 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 |
| benefitBalanceThreshold | integer | 500 | 0 to 1000000 | Unemployment benefit: a bank balance strictly below this may collect |
| benefitAmount | integer | 100 | 0 to 1000000 | Unemployment benefit: cash handed over per collection. 0 disables the benefit |
| benefitCooldownSeconds | number | 1200 | 0 to 86400 | Unemployment benefit: seconds between collections for one account |
| runMinDistance | number | 300 | 0 to 100000 | Delivery run: the drop-off must be at least this many metres (straight line) from where the run started, or the run pays nothing |
| runMinTimeFraction | number | 0.6 | 0 to 1 | Delivery run: the run must take at least this share of the expected driving time (distance over the road speed), or it pays nothing |
| runRoadSpeed | number | 10 | 1 to 100 | Delivery run: road speed in metres per second used to work out the expected driving time of a run |
| nightRunStartHour | integer | 21 | 0 to 24 | Night window (#3148): the hour of the world clock the night rate starts at. Both hours 0 reads as the shipped 21 to 5 |
| nightRunEndHour | integer | 5 | 0 to 24 | Night 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 |
| cargoDepositPercent | integer | 100 | 0 to 1000 | Delivery 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 |
| cargoDepositFallback | integer | 50 | 0 to 1000000 | Delivery cargo deposit: the deposit base when the shop price list has no sell price for the cargo |
| jobXpFirstLevel | integer | 500 | 1 to 1000000 | Delivery 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 |
| jobXpLevelGrowth | number | 2 | 1 to 10 | Delivery 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 |
| testUnlockAll | boolean | false | TESTING 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| levelThresholds | list of integer | [] | Total XP to reach level 2, 3, ... in rising order; the level is 1 plus the thresholds reached | |
| dailyXpCap | integer | 0 | 0 to 100000000 | Most 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| job | string | "" | Job id the XP goes to | |
| xp | integer | 0 | 0 to 100000 | XP for one unit of the action (one run, one fruit) |
| cooldownSeconds | number | 0 | 0 to 86400 | Seconds 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| job | string | "" | Job id whose level the licence needs | |
| minLevel | integer | 1 | 1 to 100 | Job 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| pay | integer | 40 | 1 to 1000000 | Cash one finished run of the job pays. Below 1 is refused and the shipped pay is used |
| nightRate | number | 1 | 0 to 10 | Night 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| enabled | boolean | false | Show the join notice toast at each player's first spawn of the session. Off in the core | |
| key | string | "" | 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| permitFee | integer | 250 | 0 to 1000000 | Licence desk: the firearm permit's fee in carried cash |
| permitWaitDays | number | 1 | 0 to 365 | Licence desk: in-game days from application to collection (0 issues at once) |
| permitConvictionDays | integer | 7 | 0 to 365 | Licence desk: a conviction within this many in-game days refuses the permit at application and at collection (0 turns the check off) |
| driverLicenceFee | integer | 100 | 0 to 1000000 | Licence 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| isInitialLicense | boolean | false | Granted free when a character starts with no licences | |
| requiresWhitelist | boolean | false | Needs 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| rentPrice | integer | 100 | 0 to 1000000 | Cash for one rent period at a locker site. 0 rents free |
| rentPeriodDays | integer | 7 | 0 to 3650 | Days one rent payment lasts. 0 means a locker never lapses |
| gracePeriodDays | integer | 2 | 0 to 3650 | Days after the paid-until moment before the contents move to the site's lost-and-found |
| reclaimFee | integer | 50 | 0 to 1000000 | Cash to take the contents back from lost-and-found. 0 reclaims free |
| weightCapacity | number | 60 | 1 to 10000 | Kilograms one locker holds |
Example
{
"lockers": {
"rentPrice": 100,
"rentPeriodDays": 7,
"gracePeriodDays": 2,
"reclaimFee": 50,
"weightCapacity": 60
}
}logoutBody
Owner config, section "logoutBody".
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| windowSeconds | integer | 300 | 0 to 3600 | Seconds a logged-out character stays in the world as a lootable body. 0 turns the body off (the character leaves with the player) |
| downedWindowSeconds | integer | 600 | 0 to 3600 | Seconds 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| foundingFee | integer | 250 | 0 to 10000000 | Carried cash the founder hands over at the registry desk to found an organization |
| nameMin | integer | 3 | 1 to 64 | Shortest organization name, in characters |
| nameMax | integer | 32 | 1 to 64 | Longest organization name, in characters |
| offerMs | integer | 120000 | 5000 to 3600000 | Milliseconds an invitation stands before the invitee has to be asked again |
| maxCashMove | integer | 1000000 | 1 to 100000000 | Largest single cash move into or out of an organization fund |
| priceExtraStorage | integer | 500 | 0 to 10000000 | Fund price of the extra storage upgrade |
| priceProcessingSlot | integer | 250 | 0 to 10000000 | Fund price of the processing slot upgrade |
| priceParkedVehicle | integer | 750 | 0 to 10000000 | Fund price of the parked vehicle upgrade |
| deskRange | number | 5 | 1 to 30 | Metres a player may stand from an organization desk when the server moves fund cash |
| heldGroundMaxPoints | integer | 1000 | 0 to 1000000 | Most points an organization banks by holding its hideout (#751); a saved total above it is clamped on load |
| hideoutLeaseIdleDays | integer | 14 | 0 to 3650 | Real days a hideout lease may stand with no member of its organization connected before the lease lapses (#2573); 0 = leases never lapse |
| wars | object | The 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| withdraw | boolean | false | May take cash out of the fund | |
| invite | boolean | false | May invite players | |
| kick | boolean | false | May kick members below this rank | |
| buyUpgrade | boolean | false | May buy upgrades from the fund | |
| manageRanks | boolean | false | May promote and demote members below this rank | |
| declareWar | boolean | false | May declare a war on another organization and answer a declaration made on it | |
| useStash | boolean | false | Reserved: the hideout stash opens for every member today | |
| manageTerritory | boolean | false | Reserved for territory: no effect yet | |
| spendFund | boolean | false | Reserved: 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| enableAutosave | boolean | true | Save the campaign periodically while it runs. Off leaves saving to the save points and the shutdown save | |
| autosaveInterval | number | 600 | 30 to 86400 | Seconds between autosaves |
| keepCash | boolean | true | Cash on hand survives a restart. Off: carried cash is gone after a restart; the bank is kept | |
| keepCarriedGear | boolean | true | Carried gear survives a restart. Off: a character respawns with the starting loadout, cash on hand included | |
| keepSurvival | boolean | true | Hunger and thirst survive a restart. Off: both start full | |
| keepWanted | boolean | true | Wanted levels survive a restart. Off: every warrant is cleared and its poster comes down | |
| keepJail | boolean | true | Jail sentences survive a restart. Off: every prisoner is free after a restart | |
| keepLicences | boolean | true | Earned 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| arrestMinRank | integer | 0 | 0 to 20 | Lowest police rank that may arrest (0 patrol, 1 senior) |
| escortMinRank | integer | 0 | 0 to 20 | Lowest police rank that may escort a suspect (0 patrol, 1 senior) |
| catchInActRadius | number | 10 | 0 to 200 | An on-duty officer this close (metres) when a crime is committed catches the suspect in the act: the report is identified at once |
| placeRadius | number | 80 | 0 to 2000 | A crime report names the nearest sign within this many metres as the place; beyond it the place is a map grid square |
| boardReadDistance | number | 4 | 1 to 30 | How close (metres) a player must stand to the wanted board for the server to answer a read |
| boardMaxPosters | integer | 8 | 1 to 20 | Most posters the wanted board shows, newest first |
| alarmSeconds | number | 30 | 1 to 600 | Seconds the site alarm sounds when at least one officer is on duty |
| loudAlarmSeconds | number | 60 | 1 to 600 | Seconds the site alarm sounds when nobody is on duty: the louder, longer alarm |
| alarmPrefab | string | "{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 | |
| loudAlarmPrefab | string | "{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 | |
| radioSoundProject | string | "{FD5E9674E51B9D13}Sounds/Props/Military/Radios/Props_Radios_Signals.acp" | Sound project of the radio chirp an on-duty officer hears with a dispatch | |
| radioSoundEvent | string | "SOUND_RADIO_SIGNAL_2" | Sound event of the radio chirp | |
| dispatchLogLines | integer | 5 | 1 to 20 | Dispatch lines the wanted board shows to on-duty police, newest first |
| ticketFirstDeadline | integer | 1800 | 1 to 86400 | Online seconds a ticket holder has to pay at the police desk before the amount goes up |
| ticketSecondDeadline | integer | 1800 | 1 to 86400 | Further online seconds after the first deadline before an unpaid ticket makes the holder wanted |
| ticketLateMultiplier | number | 2 | 1 to 10 | The amount is multiplied by this once, at the first deadline |
| officerKillOfWantedExempt | boolean | true | An on-duty officer who kills a suspect with wanted above 0 is not charged with murder | |
| alphaInstantApproval | boolean | false | ALPHA 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 | |
| searchCooldownSeconds | integer | 120 | 0 to 3600 | Seconds before the same player or vehicle can be searched for chain goods again. A repeat inside it is not rolled again. 0 disables |
| ticketMaxOpen | integer | 3 | 1 to 20 | Unpaid tickets one holder may carry; a further ticket is refused |
| ticketKeepPaid | integer | 3 | 0 to 20 | Paid tickets kept per holder so a receipt reprints after a restart |
| arrestReach | number | 5 | 1 to 30 | Metres an officer may stand from a suspect to arrest or fine from the police menu or the arrest action |
| jailArrivalRadius | number | 8 | 1 to 50 | Metres from the cell a jail escort counts as arrived |
| applyDeskRange | number | 6 | 1 to 30 | Metres a player may stand from the police application desk for the form to open |
| compliantSeconds | integer | 60 | 0 to 600 | Seconds 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 |
| spikeStripLifetimeSeconds | integer | 600 | 30 to 7200 | Seconds a deployed spike strip stays before it goes away by itself. An officer can pick it up sooner |
| applyMinPlaytimeHours | integer | 50 | 0 to 100000 | Hours of play (all jobs together) an account needs before it may apply to the police. 0 turns the gate off |
| applyRejectCooldownHours | integer | 72 | 0 to 100000 | Hours an applicant waits to apply again after a rejection. 0 turns the cooldown off |
| trialHours | integer | 168 | 0 to 100000 | Hours 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 |
| armoryCooldownMinutes | integer | 120 | 1 to 1440 | Minutes 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 |
| dutyShiftMaxSeconds | integer | 10800 | 0 to 86400 | Most 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 |
| trialSweepSeconds | integer | 60 | 10 to 3600 | Seconds between the server's checks for an on-duty officer whose trial ran out. That officer is clocked out |
| ticketRateWindowSeconds | integer | 10 | 1 to 60 | Seconds of the window in which an officer may send ticket requests (ticketRateBurst per window) |
| ticketRateBurst | integer | 3 | 1 to 50 | Ticket requests one officer may send per ticketRateWindowSeconds. More are refused |
| spikeStripMaxPerOfficer | integer | 2 | 1 to 20 | Spike strips one officer may have deployed at once. Each deployed strip checks for wheels 20 times a second |
| callRadius | number | 50 | 1 to 2000 | Metres 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| titleKey | string | "" | Localization key of the title, without the leading # | |
| fineCap | integer | 1000 | 0 to 10000000 | Largest fine an officer of this rank may write |
| payPerSecond | number | -1 | -1 to 1000 | Cash per on-duty second at clock-out. Negative uses the jobs config police rate |
| dutySecondsForNext | integer | 0 | 0 to 10000000 | On-duty seconds that promote an officer to the next rank. 0 means no time promotion |
| kit | list 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| prefab | string | "" | Alarm spawned at the site when officers are on duty | |
| loudPrefab | string | "" | Alarm spawned when nobody is on duty. Empty uses the normal prefab | |
| offences | list 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| wakeInHospital | boolean | true | After a death, respawn in a hospital bed (LF_HospitalBedComponent). Off, or no bed in the world: the spawn plaza | |
| billAmount | integer | 150 | 0 to 1000000 | Treatment bill written on paper at every respawn after a death, paid in cash at the hospital desk (#260). 0 disables the bill |
| wakeLoiterType | integer | 7 | 0 to 64 | Loiter animation the waking body plays: the base game tutorial's bed wake (7 full, 8 fast). 0 skips the animation |
| wakeRootMotion | boolean | true | The wake animation moves the body (root motion), so it gets off the bed instead of standing on it | |
| wakeLieSeconds | number | 0 | 0 to 600 | Seconds before the bed loiter is stopped into the get-up. 0 lets the animation end by itself |
| rejoinAtLastPosition | boolean | false | A 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) | |
| rejoinMaxAgeHours | integer | 12 | 0 to 720 | A 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| times | list of string | [] | Daily restart times, 24-hour HH:MM in the server's local time (for example 04:00). Empty means no scheduled restarts | |
| warningMinutes | list 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| enabled | boolean | true | Ask new players the rules quiz. Off lets everyone through | |
| repeatOnConnect | boolean | false | Ask on every connect, not once per account. The pass is still remembered for the staff tools | |
| passPercent | integer | 80 | 1 to 100 | Percent of the questions that must be right to pass |
| maxAttempts | integer | 3 | 0 to 20 | Failed 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| defaultBuyPrice | integer | 50 | 0 to 1000000 | Default buy price when no rule matches |
| defaultSellPrice | integer | 25 | 0 to 1000000 | Default sell price when no rule matches |
| extraItemPrefabs | list 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| prefab | string | "" | One prefab, matched by GUID; wins over the path substring and type/mode | |
| buyPrice | integer | 100 | 0 to 1000000 | Buy price: what the player pays |
| sellPrice | integer | 50 | 0 to 1000000 | Sell price: what the shop pays the player |
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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| radius | integer | 60 | 1 to 1000 | Metres from the site's centre within which a member counts as on the site |
| innerRadius | integer | 20 | 0 to 1000 | Metres from the site's centre of the inner ring; a member there counts double. 0 means no inner ring. At most radius |
| minMembersPresent | integer | 2 | 1 to 100 | Members of one organization that must stand on the site before it gains or captures |
| captureSeconds | integer | 300 | 1 to 86400 | Capture progress, in counted-member seconds, at which the site changes hands |
| decayPerHour | integer | 600 | 0 to 1000000 | Seconds of capture progress lost per hour while nobody stands on the site. 0 means progress never fades |
| flipCooldownSeconds | integer | 1800 | 0 to 604800 | Seconds after the site changes hands in which no new capture completes. 0 means no cooldown |
| rentPerHour | integer | 600 | 0 to 1000000 | Cash the holder earns per hour of holding the site. 0 earns nothing |
| maxRentBanked | integer | 3000 | 0 to 100000000 | Most cash a site banks for its holder before it is collected |
| activeWindowSeconds | integer | 300 | 1 to 86400 | Seconds 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| webhookUrl | string | "" | 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| enabled | boolean | true | On. 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| floor | integer | 80 | 1 to 1000000 | Taxi fare: the least a fare pays, and what a short hop pays |
| ratePerMetre | number | 0.04 | 0.001 to 1000 | Taxi fare: cash added per metre of straight-line distance beyond a short hop |
| cap | integer | 300 | 1 to 1000000 | Taxi fare: the most a fare pays, however far it went. Must not be below the floor |
| shortHopMetres | number | 100 | 0 to 10000 | Taxi 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| job | string | "" | Trade track id, e.g. FARMER, MINER, SMELTING, DELIVERY | |
| level | integer | 2 | The level that opens this, 2 to 30 | |
| textKey | string | "" | Localization key naming what the level opens, the unlock text row |
Example
{
"tradeUnlocks": {
"rows": {}
}
}vehicles
Vehicle prices.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| buyPercent | integer | 100 | 0 to 1000 | Percent of the base price the lot charges |
| sellBackPercent | integer | 50 | 0 to 1000 | Percent of the base price a sell-back pays (no desk consumes it yet) |
| chopPercent | integer | 30 | 0 to 1000 | Percent of the (capped) base price the chop shop pays |
| chopValueCap | integer | 3000 | 0 to 1000000 | The chop shop counts no vehicle for more than this; 0 for no cap |
| impoundPercent | integer | 10 | 0 to 1000 | Percent of the base price the impound desk charges |
| garagePercent | integer | 0 | 0 to 1000 | Percent of the base price a garage charges (free today) |
| lotNeedsDrivingLicence | boolean | false | The 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| spawnPrefab | string | "" | Locked child the buyer gets (the chop shop and impound see this one). Empty: none | |
| basePrice | integer | 0 | 0 to 1000000 | The one number: what the vehicle is worth |
| buyOverride | integer | -1 | -1 to 1000000 | Buy price override; -1 derives it |
| sellBackOverride | integer | -1 | -1 to 1000000 | Sell-back override; -1 derives it |
| chopOverride | integer | -1 | -1 to 1000000 | Chop payout override; -1 derives it |
| impoundOverride | integer | -1 | -1 to 1000000 | Impound fee override; -1 derives it |
| garageOverride | integer | -1 | -1 to 1000000 | Garage fee override; -1 derives it |
| lotId | string | "" | Lot id that sells this row (LF_VehicleLotComponent lot id). Empty: every lot | |
| capacityClass | string | "" | Capacity class from LF_Capacity (car, pickup, van, truck). Empty: unclassed | |
| nameKey | string | "" | 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| posters | integer | 4 | 1 to 8 | Posters 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) |
| stolenPosters | integer | 1 | 0 to 8 | How 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) |
| drawRadius | number | 30 | 5 to 100 | Metres 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.
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| safeBlocksPlayerDamage | boolean | true | Legacy: SAFE zones refuse player-on-player damage. Ignored once the rule table has a SAFE entry | |
| lawlessSuppressesWanted | boolean | false | Legacy: 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
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| op | string | "" | 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). | |
| blocksPlayerDamage | boolean | false | Player-on-player damage is refused when either side stands inside | |
| suppressesWanted | boolean | false | A murder inside raises no wanted level | |
| allowsRobbery | boolean | true | Robbery is allowed inside | |
| allowsVehicleTheft | boolean | true | Vehicle theft is allowed inside | |
| allowsWeaponDraw | boolean | true | Drawing a weapon is allowed inside | |
| fineMultiplier | number | 1 | 0 to 10 | Multiplier on fines for crimes committed inside |
| copsEnter | boolean | true | Police 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).
| Field | Type | Default | Range | What it does |
|---|---|---|---|---|
| festivalDay | integer | 3 | 1 to 7 | Day of the week the harbour festival runs, 1 to 7. |
| harbourName | string | "Saint Philippe" | The harbour town name the pack uses in announcements. | |
| chainsEnabled | boolean | true | Whether 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