Skip to Content

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' }
OptionDefaultWhat 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 / maxAmount100 / 250000000Limits per wash.
Wash.serviceFeePercent0.15Fee taken from the dirty money loaded.
Wash.secondsPerHundredDirtyMoney2Seconds of wash time per 100 dollars.
Wash.consumeCardfalseRemove the card on use.
Wash.cashAccountIsItemtruePay 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 }
OptionDefaultWhat it does
Config.Interaction‘target’target, drawtext or both.
Config.Target‘auto’ox_target is detected first, then qb-target.
Creator.allowedGroupsdev, admin, godOrion Core groups that can use the creator.
Creator.allowDebugtrueWhen true and Config.Debug is on, everyone can use the creator.
Creator.maxMachines32Maximum saved machines.
Security.maxMachineDistance7.5How far a player can be from a machine and still use it.
Last updated on