BS Business Tablet Configuration
Below you will find a detailed description of all configuration options for the bs-businesstablet resource. This will help you easily adjust the tablet to your server's needs.
Main options
Name | Description | Example / Values |
---|---|---|
framework | Server framework. | esx , qb |
notify | Notification system. | esx , qb , custom |
keybind | Key to open the tablet and its description. | default: J |
anim | Animation settings when using the tablet. | see below |
prop | Tablet object model and settings (model, bone, position, etc.). | see below |
dutyTime | How often employee duty time is saved. | default: 10 minutes |
jobs | List of available jobs/companies and their detailed configuration. | see below |
Details of selected sections
keybind
- defaultKey – default key to open the tablet (e.g.
J
) - description – key description (e.g. for help menu)
anim
- dict – animation dictionary (e.g.
amb@code_human_in_bus_passenger_idles@female@tablet@idle_a
) - name – animation name (e.g.
idle_a
) - flag – animation flag (e.g. 51, allows walking while animating)
- scenario (optional) – alternative to animation, e.g.
WORLD_HUMAN_SMOKING
prop
- model – object model (e.g.
prop_cs_tablet
) - bone – bone number to which the object is attached (default 28422 – right hand)
- offset – offset from the bone (e.g.
vector3(0.0, 0.0, 0.0)
) - rotation – object rotation (e.g.
vector3(0.0, 0.0, 0.0)
)
dutyTime
- saveIntervalMinutes – how often (in minutes) employee duty time is saved (e.g. 10)
Job configuration
Each job/organization (e.g. mechanic
) has its own section with options:
- employees – employee management (max employees, promotions, hiring, firing, reset stats)
- invoices – invoice issuing (required grade, account, employee percentages, etc.)
- finances – finances management (deposit, withdraw, change paycheck)
- washMoney – money laundering (enabled/disabled, limits, target account)
- upgrades – upgrades (e.g. laundering limit, employee count, stash slots/weight)
- announcements – announcements (required grade)
- defaultStashSlots – default stash slots
- defaultStashWeight – default stash weight
- maxGradeSalary – max salary for a grade
Example (for job mechanic
):
Option | Description |
---|---|
defaultMaxEmployees | Maximum number of employees |
changeEmployeeGrade | Required grade to promote |
hireEmployee | Required grade and distance to hire |
fireEmployee | Required grade and job after firing |
resetEmployeeStats | Required grade to reset stats |
invoices | Invoice issuing – requirements, percentages, account |
finances | Required grade for deposit, withdraw, change paycheck |
washMoney | Money laundering settings (account, limits, percentages, enabled) |
upgrades | Upgrades (e.g. laundering limit, stash slots, stash weight, employee count) |
announcements | Required grade for announcements |
defaultStashSlots | Default stash slots |
defaultStashWeight | Default stash weight |
maxGradeSalary | Max salary for a grade |
Example services (services.lua)
Each job can have its own list of services offered to clients. Example for mechanic:
Service name | Price |
---|---|
Vehicle repair | 1000 |
Vehicle cleaning | 500 |
Towing | 1500 |
Engine diagnostics | 1200 |
Tire replacement | 800 |
Oil change | 600 |
To add your own services, edit the services.lua
file and add more entries to the appropriate job.
Tips:
- After each configuration change, restart the server or reload the resource.
- If you use your own notification system, set
notify
tocustom
and implement your own handler. - You can freely change default values to fit your server's needs.
If you have questions about the configuration, join the Brusie Studio Discord (opens in a new tab).