Cheaper deposit, stricter van return#
config.Depot.deposit = 250
config.Depot.lostVanFee = 250 -- keep all of it without the van
config.Depot.fullRefundOnDrop = false -- a disconnect counts as clocking out
Run without an XP system#
config.useXpSystem = false
config.hardsetLevelXP = 10 -- everyone works in the level 8 to 11 pay tier
Pay with a money reason on Qbox#
config.payReason = 'electrical-job-pay'
Tax and banking scripts can then match job pay by that reason. Deposit refunds use config.Depot.refundReason.
Share every crew payout#
config.crew.splitPay = true
config.crew.splitSingleSitePay = true
config.crew.bonusPerMember = 0.10
config.crew.bonusMax = 0.30
Add a house call#
config.houseData[#config.houseData + 1] = {
title = "House by the lake", -- only a label for you
location = vector3(-1500.0, 100.0, 55.0),
locationOne = vector3(-1505.0, 98.0, 55.0),
locationTwo = vector3(-1503.0, 104.0, 55.0),
}
The coordinates are placeholders; use spots from your own map. Adding to the end keeps config.weddingHouse and config.cutsceneHouse pointing at the same houses.
Load DLC interiors with another resource#
config.iplLoaders = { 'bob74_ipl', 'my-ipl-loader' }
Send the job log to your own resource#
config.Logging.resource can be any resource with a Log export. The job calls it with one table:
-- in your logging resource
exports('Log', function(entry)
-- entry.webhook config.Logging.webhook
-- entry.source player server id
-- entry.event clock_in, clock_out, job_paid, payout_refused, step_refused, wedding_bonus, refund_owed
-- entry.message readable text
-- entry.data table with the details
-- entry.level nil or 'warn'
print(('[%s] %s: %s'):format(entry.event, entry.source, entry.message))
end)
config.Logging = { enabled = true, resource = 'my-logger', webhook = 'jobs' }
How a call works#
flowchart LR
D["Depot NPC: deposit and van"] --> T["Call timer"]
T -->|"requestCall"| S["Server rolls type, site and repairs"]
S --> C["Crew in one sd-phone group"]
C -->|"claims, checked"| W["Work at the site"]
W -->|"payJob"| P["Server pays money, XP and loot"]
P --> T
When the countdown runs out the client asks the server for a call. Asking again before the countdown could have run out returns the time left instead of a call.
- Bank, store, house and interior: take the parts out of the van at the site, put them down at the marked spot and run the repair minigame. A failed repair wrecks the parts, costs a fine and sends the crew back to the van.
- ATM: pull the faulty machine, put it in the van, take the new one out and install it, for each marked ATM.
- Light poles: take the ladder to any pole of a model in
config.Posts, climb it and change the bulb. Poles on one call have to bepoleSpacingapart.
Stuck on a step?Ask in the Discord →