Domas Scripts
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Config
Copy Markdown
Open in ChatGPT
Open in Claude
Config = {}
Config.Debug = false
Config.DebugAC = true
Config.DefaultDeadlineDays = 7
Config.EnableHistory = true
Config.EnableLoans = true
Config.TransferFines = true
Config.AutopayCheck_Minutes = 00
Config.AutopayCheck_Hours = 17
-- Make sure you're doing this few minutes after autopaycheck
Config.ScanForLoans_Minutes = 01
Config.ScanForLoans_Hours = 17
-- Make sure you're doing this few minutes after scanforloans
Config.FineForLoans_Minutes = 02
Config.FineForLoans_Hours = 17
Config.FineLateLoan = 10000
-- Will check if late for paying bill
Config.ScanLateBills_Minute = 53
Config.ScanLateBills_Hour = 17
Config.LateBillFine = 10000
Config.OpenMenuCommand = 'billing'
Config.OpenMenuKey = 'M'
Config.LBPhoneSupport = true -- If using lp-phone Domas Billing app
Config.CreateBills = {
['police'] = {
label = 'Police',
minGrade = 0,
maxAmount = 5000,
createAppealables = true,
createTransferable = true,
society = 'police',
societyName = 'Police',
playerCut = 20, -- how much % will player get when bill paid
societyCut = 80, -- how much % will society get when bill paid
onlyPresetReasons = false, -- Will let only use preset reasons
},
}
Config.CityStatsJobs = {
['police'] = {
enabled = true,
label = "Police",
},
['ambulance'] = {
enabled = true,
label = "Ambulance",
},
['taxi'] = {
enabled = true,
label = "Taxi",
},
['mechanic'] = {
enabled = true,
label = "Mechanic",
},
}
Config.ViewUnPaidBills = {
['police'] = {
enabled = true,
minGrade = 0,
},
}
Config.ViewvCityStats = {
['police'] = {
enabled = true,
minGrade = 2,
},
}
Config.ViewAppeals = {
['police'] = {
enabled = true,
minGrade = 2,
onlyJobs = {'police', 'ambulance'}
},
}
Config.Reasons = {
[1] = {
job = 'police',
options = {
[1] = {
reason = 'Speeding',
amount = 500,
societyCut = 85,
playerCut = 15,
},
[2] = {
reason = 'Assault',
amount = 600,
societyCut = 85,
playerCut = 15,
},
[3] = {
reason = 'Killed officer',
amount = 700,
societyCut = 85,
playerCut = 15,
},
}
},
[2] = {
job = 'ambulance',
options = {
[1] = {
reason = 'Light healing',
amount = 500,
societyCut = 85,
playerCut = 15,
},
[2] = {
reason = 'Medium healing',
amount = 600,
societyCut = 85,
playerCut = 15,
},
[3] = {
reason = 'Heavy healing/revive',
amount = 700,
societyCut = 85,
playerCut = 15,
},
}
},
[3] = {
job = 'mechanic',
options = {
[1] = {
reason = 'Light healing',
amount = 500,
societyCut = 85,
playerCut = 15,
},
[2] = {
reason = 'Medium healing',
amount = 600,
societyCut = 85,
playerCut = 15,
},
[3] = {
reason = 'Heavy healing/revive',
amount = 700,
societyCut = 85,
playerCut = 15,
},
}
},
}
Config.Loans = {
['starter'] = {
label = 'START',
amount = 15000,
payback = 17000,
days = 7,
icon = 'flag-checkered',
},
['business'] = {
label = 'Business',
amount = 100000,
payback = 120000,
days = 7,
icon = 'building-shield',
},
['vehicle'] = {
label = 'Vehicle',
amount = 50000,
payback = 60000,
days = 7,
icon = 'car-side',
},
}
Config.Text = {
['create_bill'] = 'Bill created successfully!',
['submitted_appeal'] = 'Submitted appeal successfully!',
['paid_bills'] = 'All bills were paid successfully!',
['appeal_resolved'] = 'Appeal resolved successfully!',
['paid_bill'] = 'Bills was paid successfully!',
['no_money'] = 'Not enough money!',
['req_sent'] = 'Request sent!',
['req_accepted'] = 'You`ve acceted the bill transfer request!',
['req_accepted_not'] = 'You`ve canceled the bill transfer request!',
['took_loan'] = 'You`ve have taken a loan successfully!',
['no_loan'] = 'You have no active loan.',
['no_overpay'] = 'You cannot overpay your loan!',
['pay_completed'] = 'You`ve paid for loan',
['already_loan'] = 'You already have an active loan.',
['auto_pay'] = 'Auto pay ',
['auto_disabled'] = 'Disabled!',
['auto_enabled'] = 'Enabled!',
['new_bill'] = 'You`ve got a new bill!',
['new_bill_desc'] = 'You`ve got a new bill to pay!',
['auto_pay_loan'] = 'You`ve auto-paid for your loan!',
}
Config.Webhooks = {
['paid'] = 'https://discord.com/api/webhooks/',
['created'] = 'https://discord.com/api/webhooks/',
['appealed'] = 'https://discord.com/api/webhooks/',
['transfered'] = 'https://discord.com/api/webhooks/',
['loan_took'] = 'https://discord.com/api/webhooks/',
['loan_paid'] = 'https://discord.com/api/webhooks/',
['auto_fine'] = 'https://discord.com/api/webhooks/',
['recieved_money'] = 'https://discord.com/api/webhooks/',
['recieved_money_society'] = 'https://discord.com/api/webhooks/',
['anticheat'] = 'https://discord.com/api/webhooks/'
}
Config.AntiCheat = {
-- Config of the anticheat will not be shown here for security reaons
}
›
Last updated on
Was this page helpful?
Next to read:
Exports & Usagenull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message