Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration


Configuration Files

These files are open (not escrowed):

File
What is inside

config_job.lua

Language, interaction, lobby, XP, daily tasks, economy, notify, keys, tutorial, work outfit, blips, Discord log

config_station.lua

Job start point, tow vehicles, trailer, stand types, stations, stock, supplies, orders, register, menu, eating, stand name sign

config.lua

Hand feel at the counter and grill, grill cook-time ring. Change only if you know what you tune

config_sound.lua

Sounds and stand music

branding/

Your own trailer textures (see Trailer Branding)

custom_tables.lua, trailer_layout.lua, steam_tuned.lua

Trailer layout and props — leave as they are

locales/*.lua

Texts in 14 languages

shared/npc_outfits.lua

Customer outfits

items/*.lua

Item definitions per inventory

tw-foodstandjob_depot/config.lua

Depot name

tw-foodstandjob_trailers/vehicle_names.lua

Trailer names


Changing Settings

Way
Best for

In game: /twlib → Settings → Food Stands

Crew size, cooldown, level rules, reward split, interaction, economy multipliers, teleport into the vehicle, keys, tutorial, work outfit. Use the Restart button to apply.

Edit the config files

Everything else. Save and restart tw-foodstandjob.

Server console

twlib set tw-foodstandjob Config.MaxPlayersInLobby 4, then restart tw-foodstandjob.

See tw-lib → Configuration.


General (config_job.lua)

Config.InteractionHandler

Meaning

'interact'

tw-lib 3D interaction: a dot + [E] capsule (default)

'ox-target' / 'qb-target'

Target eye

'drawtext'

Key prompt

'auto'

ox_target or qb-target, whichever runs, else drawtext

'default'

The tw-lib setting for all Tworst jobs

The printed trailer labels (counter tags, menu boards, the ice cream sign) follow Config.Locale too. Every language of the package is included: English en, Chinese zh, German de, Spanish es, French fr, Hungarian hu, Japanese ja, Dutch nl, Portuguese pt, Romanian ro, Russian ru, Slovenian sl, Swedish sv, Turkish tr.


Lobby & Crew

Who Can Run a Stand

typeJobs locks a single stand type to a job: a listed type can only be taken out by that job, the rest follow Config.Job.job. It checks the player who starts the shift.


Economy

All money in one place. 1.0 = default, 0.5 = half, 2.0 = double. Changes apply after a restart.

Balanced per hour. With the default work multipliers, one hour of work earns about the same net on every stand type (measured: 118 to 148 $/hour). Keep them unless you want your own economy.

The whole Config.Economy block can be changed in /twlib.


Levels & Daily Tasks

kind

Counts

deliver

Delivered orders

ontime

On-time NPC deliveries

player

Orders from player customers

earn

Money earned from sales

Tasks reset every 24 hours. {} = no daily tasks.


Vehicles, Blips & Keys

publicBlip shows every open stand on the map for all players and removes it when the stand closes. false = only the crew sees its own stand.


Notifications

Value
Meaning

'own'

The job's own notification (default)

'auto'

Finds a running notify script (okokNotify, brutal_notify, mythic_notify, codem-notification, ox_lib, ...), else the framework's, else the job's own

a name

'okokNotify', 'ox_lib', 'qb', 'qbx', 'esx', 'brutal_notify', 'mythic_notify', 'codem-notification', 'codem-supreme-notification', 'g-notifications', 'is_ui', 'lation_ui', 'vms_notifyv2', 'wasabi_uikit', '17mov_Hud', 'gs-notify'

a function

Your own export

If the chosen script fails, the job's own notification shows instead — never lost, never shown twice.


Tutorial & Work Outfit


Discord Shift Log

Server values are server-only: tw-lib never sends them to players and keeps them in the database, not in the file.


Job Start Point (config_station.lua)

Mode
Meaning

'single'

One point for all stand types (default: the depot near Vespucci)

'perType'

Each type at its own point in typeLocations; types without a point use the single point

noMap is where the NPC and the spawn move when the depot is not running. display sets the showroom trailers outside the depot.

Trailer hitch

The physics hitch has a break force: breakForce in config_station.lua. Raise it if trailers come loose too easily, lower it for a looser hitch. A hitch broken by a crash is detected and reported, and the trailer is never left half-hitched.


Trailer Branding (branding/)

Put your own brand on the trailers without touching any model.

  1. Open tw-foodstandjob/branding/original/. It has 20 template textures: STREETWORTH, DONER KEBAB, PIZZERIA, the menu boards and more.

  2. Make your own PNG with the same file name as the texture you want to replace.

  3. Keep the same size and no transparency.

  4. Put it in tw-foodstandjob/branding/ and restart.

The job swaps that art on every trailer at runtime. Remove your PNG to go back to the original. See branding/README.txt in the package.


Stand Types

label is the name players see. typeOrder is the order in the lobby panel. Remove a type from typeOrder to hide it.


Stand Name

File: config_station.lua, Config.StandProps.sign.

Key
What it does

default

Name on a stand with no name set. Each type can set its own default.

min / max

Letter count. Spaces count.

cooldown

Seconds between two name changes.

dui

true: a name with letters outside the 3D set (Chinese, Japanese, Korean, Cyrillic and more) shows on a name card. false: only names the 3D letters can spell are allowed. With false, Chinese names need the tw-foodstandjob_cjk resource.

banned

Blocked names. The match ignores case, accents, spaces and punctuation. A name that contains a blocked word is blocked too.

profanity

Your own blocked words. Empty by default. Same matching as banned.

See Gameplay → Stand Name and Installation → Optional: 3D Chinese Letters.


Stock & Supplies

  • startStock / typeStock — what a stand has when the shift starts.

  • supply — the items in the G supply menu, each with its own amount and base price; refundRate for unused stock; stockMax per item.

  • delivery.courier — the courier NPC that brings the boxes (false = the box appears at once).

Prices are base prices; scale them all with Config.Economy.supplyCost.


Orders

Key
Meaning

interval

Seconds between two customers at normal demand

waitSec / leaveSec

On-time limit / give-up limit

wish

Special requests: chance, a second "No ..." chance, tip multiplier

demand

How late / failed / on-time orders move the demand, and how fast it recovers

pay.ownerCut

Owner's share of each delivery before the job-point split

pay.points

Job points per kind of work

area

Food area: radius, same-type and other-type multipliers

rep

Reputation: star effect on the customer rate

Customer queue

The queue follows how fast your crew serves. New customers come only while the queue can be served before they give up, so a slow crew does not lose customers in a full queue.

  • maxQueue = 4 is still the hard cap.

  • svcStart sets the starting guess of the service speed, before the stand has measured the crew.

Pay split

split

Meaning

'points'

Default. Fixed shares first, then the owner's cut, then the rest by job points

'equal'

Everyone online gets the same share of each order, owner included

Set it in config_station.lua.


Register


Player Menu & Menu Board

min / max are the price limits as a multiple of the base price. elastic sets how much a higher price lowers demand for that item, tip / tipMax how much it lowers tips.

Config.Menu items take an optional label: the name players see. Translate here.

Display order: the owner's name in the stand menu, then label, then name.


Eating & Drinking

Values are 0–100 (qb / qbx metadata or esx_status). byItem overrides single items.


Grill Cook-Time Ring (config.lua)

One setting covers the burger, taco and hot dog grills.

Set doneRing = true to show the ring.


Sound & Music (config_sound.lua)


Depot Name (tw-foodstandjob_depot/config.lua)

The name on the outside sign and the lobby board. 3–16 characters: A–Z, 0–9, space and & - ' .. Lowercase becomes uppercase; an invalid name keeps STREETWORTH. A long name is shrunk to fit the sign.


Usage Statistics

The job sends anonymous usage counts — no names, IDs or IPs. You can turn them off in /twlib. Details: tworst.tr/privacy.


Event Protection

Every event a client sends to the job passes one gate on the server:

  • Rate limit - each player may send each event a limited number of times per second (20 by default, more for the fast sync events). Extra calls are dropped.

  • Error guard - a broken or forged event prints one red line in the console and does nothing; the job keeps running.

  • Server state only - pay, stock, orders and XP are counted from the server's own state. A client cannot say "I delivered" or "give me money".

Type foodstandrpc in the server console to see how many events were dropped or failed since the start. Nothing to configure.


Need Help?

Join our Discord and open a ticket.

Last updated