Skip to content

Frontier Wire — Configuration ​

Frontier Wire is configured in two places:

  • The admin desk in game (/frontier_mailbox): everything an administrator tunes while playing. Saved in the database, applied at once, no restart.
  • config.lua: only what needs a restart (framework, item names, catalogs, map blips, game assets, capacity limits). It is not escrowed.

Admin desk tabs ​

TabContents
StationsCreate, edit, open or close post offices; clerk, radius, postage, delivery time, access
Message archiveEvery telegram on the server, searchable, read only
PlayersEvery character and their mailbox; assign an address; courier standing and trust
ServicePrices, word limit, the carrier bird, the address prefix, defaults players may override, the mail reminder
Wax sealsThe seals, their colour and emblem, and "Who may use it" (jobs and ranks)
Parcels & cashCash enclosures, parcel fees and limits, the item rule
Courier workPay, cooldowns, limits, time rules, trust and the level table
Discord logsWebhook link and which kinds of events are logged
Server setupThe values of config.lua, read only

Station fields ​

FieldMeaning
Name, townShown to players and on the map
Clerk modelFrom Config.ClerkModels
Position, headingSet by placing the clerk
Radius0.5 to 10 m; how close a player must be
Postage mode and pricefree, flat (per telegram) or word (per word)
Delivery time and modeSeconds; fixed, or distance = seconds per kilometre
AccessEveryone, listed jobs, listed character ids, or jobs or characters
Animations, greetings, farewells, voice cooldownClerk behaviour
Open / closedA closed office cannot be used

Clerks are local, non-networked peds. They appear when a player comes within 60 m and are removed beyond 80 m (Config.Streaming).

In-game settings and their defaults ​

SettingDefaultMeaning
paperPrice / birdPrice0.25 / 5Price of a blank telegram / a carrier bird
maxWords250Longest message a player may write
allowBirdonCarrier bird service
birdCommandbirdThe command that calls a waiting bird
birdFlightMinutes2Minutes a bird telegram is in the air (0 = at once)
birdCallSeconds40Time to call a landed bird
birdTakeSeconds120Time to take the telegram from the bird
addressPrefixFWPrefix of new mailbox addresses (letters only)
defaultTheme, defaultFontparchment, handwritingDefaults for paper colour and writing style
userTheme, userFont, userSeal, userVoiceonWhether players may choose their own
clerkVoicesonClerks speak
reminderEnabled, reminderDistance, reminderCooldownon, 25 m, 600 sUnread-mail reminder near a post office
moneyEnabled, moneyByBird, moneyByStation, moneyMaxon, on, on, 500Cash enclosures
parcelEnabled, parcelByBird, parcelByStationonParcels
parcelStationFee/Kinds/Count/Weight1 / 5 / 20 / 10Post office parcel fee and limits
parcelBirdFee/Kinds/Count/Weight1 / 2 / 5 / 1.5Bird parcel fee and limits
parcelFilter, parcelList, parcelCategoriesallall, blacklist, whitelist or categories
parcelWeightUnitkgLabel for weights
courierEnabledonCourier work
courierCooldown, courierRetry10, 5 minRest between jobs; wait before asking again
courierDailyLimit, courierChance10, 60 %Jobs per 24 hours (0 = no limit); chance of a delivery run
courierBasePay, courierPerKm, courierPerLetter2, 1.5, 0.25Pay
courierTimeBase, courierTimePerKm, courierLowWarning180 s, 100 s, 30 sTime limit of a job
courierTrustDelivery, courierTrustPerLetter, courierTrustFailed, courierFailRest10, 2, 15, 20 minTrust earned and lost
courierMinCarry, courierMaxSpeed, courierMinSeconds, courierMinDistance, courierBagSize180 s, 22 m/s, 60 s, 500 m, 25Anti-abuse rules
courierLevels5 levelsRows of {trust, label, jobsInRow, payBonus}, rising from trust 0
seals7 sealsRows of {key, label, color, emblem, jobs}; at least one for everyone

Wax seals ​

Default seals: Crimson, Black, Emerald, Navy and Gold wax (for everyone, emblem of the player's choice), and two seals of office:

SealJobEmblem
Sheriff's OfficePoliceStar
Doctor's OfficedoctorCross

These are VORP's default job names and are case-sensitive. Change them on the Wax seals tab if your server names them differently.

Where the job list comes from ​

"Who may use it" lists the framework's jobs and ranks:

  • With a current vorp_core they come from its job registry (Core.GetRegisteredJobs()), which VORP scripts fill themselves.
  • With an older vorp_core the adapter reads the vorp_police, vorp_medic and vorp_paycheck configs.
  • In both cases every job, rank and job title that characters hold is added. unemployed is left out.
  • Refresh asks again (at most every 10 seconds). A job with no known ranks offers only "All ranks".
  • Jobs the framework cannot list can be named in Config.SealJobs.

config.lua ​

KeyDefaultMeaning
Framework, Inventory'auto''auto' or the adapter name ('vorp')
Notify'vorp'Notification adapter
Locale'en'Language file in locale/
AdminAce'frontier_mailbox.admin'ACE permission for the admin desk
AdminCommand'frontier_mailbox'Admin desk command
MailCommand'mymail'Player command that shows their own mailbox address and unread count; '' turns it off
Itemsfour namesInventory item names
ClerkModelsfour models{label, model, voice, speech} choices for clerks
StationDefaultsradius 3.0, voiceCooldown 5Values of a new station
Themesparchment, ivory, rosePaper palettes {key, label, colors}
EmblemsemptyYour own seal emblems
SealJobsemptyExtra job names for the seal editor
Blipsstation, bird, routeMap blips: enabled, style, sprite, scale, color, range, name
Streamingspawn 60, despawn 80, limit 40Clerk streaming distances and cap per client
Limitssee belowRequest and delivery limits
ControlsE hold 1000 msPrompt and placement keys
Scenesmodels, speech, birdPaper and bird model, clerk scenarios and speech lines, shoulder bird values
lua
Config = {
    Framework = 'auto', -- 'auto' (detects it) or 'vorp'
    Inventory = 'auto', -- 'auto' (detects it) or 'vorp'
    Notify = 'vorp',
    Locale = 'en',
    AdminAce = 'frontier_mailbox.admin',
    AdminCommand = 'frontier_mailbox',
    MailCommand = 'mymail', -- '' turns the player command off
    Items = {
        paper = 'frontier_mailbox_paper', bird = 'frontier_mailbox_bird',
        sealed = 'frontier_mailbox_sealed', received = 'frontier_mailbox_received'
    },
    StationDefaults = {radius = 3.0, voiceCooldown = 5},
    Streaming = {spawn = 60.0, despawn = 80.0, limit = 40},
    Limits = {concurrent = 64, perPlayer = 2, pages = 12, requestsPerSecond = 500, burst = 750,
        databaseRequestsPerSecond = 100, databaseBurst = 150, deliveryBatch = 250},
    -- ClerkModels, Themes, Emblems, SealJobs, Blips, Controls and Scenes: see config.lua
}

The shoulder bird values in Scenes (bone CP_L_Shoulder, offset -0.015 / 0.030 / 0.090, rotation 0 / 0 / -2, birdStill = true) are tuned for male and female characters. Leave them unless you change the bird model.

Your own emblems, paper colours and clerks ​

Wax seal emblems. Eleven are built in: telegraph, quill, dove, post office, envelope, star, cross, scales, coin, ledger, lock. To add one:

  1. Put a PNG, SVG or WebP in web/emblems/ (file name: letters, digits, _, -).

  2. Add a line to Emblems in config.lua:

    lua
    Emblems = {
        {key = 'badge', label = 'Marshal badge', file = 'badge.png'},
    },
  3. Restart the resource.

The key must start with a letter and never change later, because seals remember it. Only the shape of the picture is used; it is pressed into the wax in one colour. Use a transparent background, a simple bold shape, about 128 × 128 pixels.

Paper colours. Add a row to Config.Themes:

lua
{key = 'night', label = 'Night blue', colors = {paper = '#...', ink = '#...'}},

Colours you leave out come from parchment. Keys: paper, paperLight, paperDark, ink, muted, line, accent, green, red.

Clerks. Add a row to Config.ClerkModels: {label, model, voice, speech}. voice is an RDR2 speech bank; speech is a profile from Config.Scenes.speech.profiles. A model without a voice uses the fallback voice for its sex.

Languages ​

Every text players and administrators see is in one file per language in locale/, which is not escrowed. English (en.lua) is the reference.

  1. Copy locale/en.lua and name the copy after the language, for example locale/nl.lua.
  2. Translate the text on the right of each =. Never change the key on the left.
  3. Set Locale = 'nl' in config.lua and restart.

Rules for translators:

  • %s is filled in with a name or a number, in order. Keep every %s, in the same order.
  • A text containing ' is written in "double quotes". Keep \n (a line break).
  • One text per line, ending with a comma.
  • A key missing from the file is shown in English, so a half-finished translation still works.
  • If the file has a mistake, the server console says so and English is shown instead.

Texts an administrator types in game (station names, seal names, courier level names) are stored as typed and are not translated.

Version check ​

At start the server compares its version with the latest Frontier Forge release. When a newer one exists, the console prints both versions and asks you to update from the Cfx portal. The admin desk shows the installed version at the bottom left. Without internet access the check stays silent.

Frontier Forge — RedM documentation for VORP.