Configuration

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

NameDescriptionExample / Values
frameworkServer framework.esx, qb
notifyNotification system.esx, qb, custom
keybindKey to open the tablet and its description.default: J
animAnimation settings when using the tablet.see below
propTablet object model and settings (model, bone, position, etc.).see below
dutyTimeHow often employee duty time is saved.default: 10 minutes
jobsList 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):

OptionDescription
defaultMaxEmployeesMaximum number of employees
changeEmployeeGradeRequired grade to promote
hireEmployeeRequired grade and distance to hire
fireEmployeeRequired grade and job after firing
resetEmployeeStatsRequired grade to reset stats
invoicesInvoice issuing – requirements, percentages, account
financesRequired grade for deposit, withdraw, change paycheck
washMoneyMoney laundering settings (account, limits, percentages, enabled)
upgradesUpgrades (e.g. laundering limit, stash slots, stash weight, employee count)
announcementsRequired grade for announcements
defaultStashSlotsDefault stash slots
defaultStashWeightDefault stash weight
maxGradeSalaryMax salary for a grade

Example services (services.lua)

Each job can have its own list of services offered to clients. Example for mechanic:

Service namePrice
Vehicle repair1000
Vehicle cleaning500
Towing1500
Engine diagnostics1200
Tire replacement800
Oil change600

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 to custom 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).