A comprehensive RedM resource for managing paychecks, billing, and society funds. Created by Legends Studio.
- Configurable payment intervals
- Different pay scales based on job and grade
- Automatic paycheck distribution
- Discord webhook notifications for payments
/bill
command for authorized jobs- Commission-based billing (configurable percentage)
- Interactive billing menu using Feather Menu
- Two-way confirmation system for bills
- Protection against excessive billing (minimum balance protection)
- Support for multiple society systems:
- Mega Companies
- Syn Society
- Automatic fund distribution to society accounts
- Commission splitting between biller and society
- Customizable debug mode
- Configurable billing jobs
- Adjustable commission rates
- Customizable payment intervals
- Flexible job grade payment scales
- Discord webhook integration
- VORP Core
- Feather Menu
- Mega Companies (optional)
- Syn Society (optional)
- Ensure you have all dependencies installed
- Copy the resource to your resources folder
- Add
ensure lr-paychecks
to yourserver.cfg
- Configure the
config.lua
file to your needs
config = {
debug = true, -- Enable/disable debug mode
society = "syn_society", -- Choose society system (mega_companies or syn_society)
webhook = "", -- Discord webhook URL for notifications
billCommission = 0.1, -- Commission rate for billing (10%)
billCommand = "bill", -- Command to open billing menu
timer = 30 -- Paycheck interval in minutes
}
Configure different jobs and their pay grades in config.lua
:
config.paycheckJob = {
doctor = {
job = "doctor",
pay = {
{grade = 0, paycheck = 9},
{grade = 1, paycheck = 11},
-- Add more grades as needed
}
}
-- Add more jobs as needed
}
Configure which jobs can use the billing system:
config.billJob = {
"val_doctor",
"str_doctor",
-- Add more jobs as needed
}
- Paychecks are automatically received based on the configured interval
- Players will receive notifications when they get paid
- Use
/bill
command to open billing menu - Enter target player ID and amount
- Confirm the billing details
- Target player will receive a confirmation prompt
- Once confirmed, funds are distributed between society and biller
- Feel free to open issues or submit pull requests with suggestions/fixes.