Skip to main content
Two files. config/core.lua is who does what, config/logs.lua is where entries go. Both ship readable, so they are yours to edit.

Everything is auto

Every backend setting defaults to auto, which means the bridge looks at what is running and picks it.
config/core.lua
Name one explicitly in two situations: your server runs two of something and you want to say which, or detection picked the wrong one.
config/core.lua
The name is the file name under modules/<kind>/, without the .lua.
Detection happens once, at load time. A resource that starts after the bridge cannot be seen by it, so the fix for “it did not detect my inventory” is nearly always the start order, not this file. Naming the backend here is the other fix: a named backend loads whether or not it had started yet.

What it covers

The full list is the contents of each folder under modules/.

Seeing what it picked

config/core.lua
Announce is on by default and deliberately not behind Debug. It is the first thing anyone looks at when an Awoken script says nothing happened, and asking someone to turn on debugging before they can see it wastes a support round trip. Anything reported as none usually means you do not run one, and occasionally it is the entire bug.
config/core.lua

Interaction without a target resource

With neither ox_target nor qb-target running, interactions fall back to a prompt and a key press. These settings are only read in that case.
config/core.lua
Change control and keyLabel together. Changing one leaves the prompt telling players to press the wrong key.

Items and money

config/core.lua
Every inventory keeps its images somewhere slightly different. If a picture does not appear in an Awoken UI, set the prefix by hand, with the trailing slash, or false to turn pictures off everywhere.
config/core.lua
MarkedBills.metadataKey is the metadata field your server stores a marked bill’s value under. A note written under the wrong name is worth nothing at all rather than being visibly broken, so check it matches.

How much crime at once

One ceiling across every Awoken resource, scaled by police on duty. A robbery, a boost, whatever comes next: they all count against the same number.
config/core.lua
  • limits is empty by default, which means no ceiling. Uncomment the ladder to turn it on. Read each line as: with this many police, at most this many jobs at once. The highest threshold that is met wins.
  • policeJobs is who counts as police for that ladder. Set it to your server’s own job names. Only officers on duty count.
  • timeout is minutes before a job is assumed dead and its slot returned. Set it comfortably longer than your longest job.
Each script also keeps a limit of its own. Both apply and the lower one wins.

The global cooldown

One timer shared by every robbery on the server, so a crew that empties a shop cannot walk straight into a bank. Off for everything by default.
config/core.lua
Set a resource to true to have it take part.
It takes two. A resource only starts the timer if it is listed, and only checks it if it is listed. One script set to true and the rest false is the same as off.

Evidence and stress

config/core.lua
Gloves stop fingerprints. The gloved lists are the clothing indices that count as gloves on your server, so a server with a custom clothing pack should update them. They live here rather than in each script because they describe your server’s clothing, not any one job. Stress only decides who applies it. How much a failed lockpick costs belongs to the script raising it.

Logging

config/logs.lua
key is the fallback destination. For Discord it is the full webhook URL. For Fivemerr or Fivemanage it is the API key.
Treat that value like a password. Anyone holding it can post to your channel. It lives in config/logs.lua rather than core.lua so it is easy to keep out of anything you share.

One channel per resource

Without channels, every Awoken script posts into the one feed above, and ten scripts sharing a feed is a feed nobody reads.
config/logs.lua
Keyed by resource name, so it needs no cooperation from the script: name it here and its logs move. Anything not named falls back to key. A plain name like robberies is a channel a script can ask for, which is how two resources share one feed on purpose.

A resource we do not support yet

Every file under modules/ ships readable, one per resource the bridge talks to. If you run an in-house MDT, or a fork of a public one, you are not waiting on us. See Exports for the contract, and copy the nearest existing adapter as your starting point.