Configuration
Defaults below are copied from the shipped config.lua for version 1.5.3. Settings are described using the Configuration conventions.
⚙️ Items and wash settings
Config.Items = {
card = 'laundrycard',
dirtyCash = 'markedbills',
cleanCashAccount = 'cash'
}
Config.Wash = {
minAmount = 100,
maxAmount = 250000000,
washRate = 1.00,
serviceFeePercent = 0.15,
secondsPerHundredDirtyMoney = 2,
consumeCard = false,
cashAccountIsItem = true,
payoutAsItem = false,
cleanCashItem = 'cash'
}| Option | Default | What it does |
|---|---|---|
| Items.card | ‘laundrycard’ | Card item name. |
| Items.dirtyCash | ‘markedbills’ | Dirty money item. |
| Items.cleanCashAccount | ‘cash’ | Account used when clean cash is not an item. |
| Wash.minAmount / maxAmount | 100 / 250000000 | Limits per wash. |
| Wash.serviceFeePercent | 0.15 | Fee taken from the dirty money loaded. |
| Wash.secondsPerHundredDirtyMoney | 2 | Seconds of wash time per 100 dollars. |
| Wash.consumeCard | false | Remove the card on use. |
| Wash.cashAccountIsItem | true | Pay clean cash as an inventory item (cleanCashItem). Set false to pay into the account. |
⚙️ Interaction, creator and blip
Config.Interaction = 'target' -- target, drawtext, both
Config.Target = 'auto' -- auto, ox, qb, none
Config.DrawText = { key = 38, label = 'E', title = 'Laundromat' }
Config.Creator = {
enabled = true,
command = 'washingcreator',
allowedGroups = { 'dev', 'admin', 'god' },
allowDebug = true,
defaultModel = 'bkr_prop_prtmachine_dryer',
defaultRadius = 0.85,
maxMachines = 32
}
Config.Blip = { enabled = false, sprite = 500, color = 3, scale = 0.78, shortRange = true, label = 'Laundromat' }
Config.Security = { maxMachineDistance = 7.5 }| Option | Default | What it does |
|---|---|---|
| Config.Interaction | ‘target’ | target, drawtext or both. |
| Config.Target | ‘auto’ | ox_target is detected first, then qb-target. |
| Creator.allowedGroups | dev, admin, god | Orion Core groups that can use the creator. |
| Creator.allowDebug | true | When true and Config.Debug is on, everyone can use the creator. |
| Creator.maxMachines | 32 | Maximum saved machines. |
| Security.maxMachineDistance | 7.5 | How far a player can be from a machine and still use it. |
Last updated on