Bablo ResourcesDocs

Team & Ranks

A player-owned dealership has an owner and a team. Each team member holds a rank, and the rank decides which parts of the Management Panel they can use.

The team is managed on the Team tab, which needs the employees permission. This page describes dealerships set to Built-in roles in the Dealership Creator. Dealerships set to Server job work differently, see Server job staff.


Ranks

Ranks are the same for every dealership on the server. They come from Config.Ranks, highest first.

LUA
Config.Ranks = {
    { name = 'General Manager',  about = 'Runs the dealership alongside the owner.',                          permissions = { 'admin' } },
    { name = 'Sales Manager',    about = 'Leads the sales floor: hires staff, sets prices and closes deals.', permissions = { 'employees', 'inventory', 'sell', 'deliver', 'records' } },
    { name = 'Stock Controller', about = 'Orders vehicles, sets prices and brings stock in.',                 permissions = { 'inventory', 'deliver', 'records' } },
    { name = 'Accountant',       about = 'Looks after the dealership account and the books.',                 permissions = { 'finances', 'records' } },
    { name = 'Sales Advisor',    about = 'Sells vehicles and takes customers on test drives.',                permissions = { 'sell', 'records' } },
    { name = 'Driver',           about = 'Collects ordered stock from the depot.',                            permissions = { 'deliver' } },
    { name = 'Trainee',          about = 'Sells under supervision and sees no records.',                      permissions = { 'sell' } },
}
RankPermissions
General Manageradmin
Sales Manageremployees, inventory, sell, deliver, records
Stock Controllerinventory, deliver, records
Accountantfinances, records
Sales Advisorsell, records
Driverdeliver
Traineesell

The Owner is not a rank. The owner has full access, and nobody can change or remove them. The about text is shown in the job offer and in the rank list. See also Configuration.

Permissions

PermissionShown asWhat it allows
adminFull accessEverything below.
employeesManage the teamThe Team tab: hire, change ranks and fire.
inventoryManage stock and pricingThe Orders tab (order, cancel orders, set prices), the Showroom floor tab, prices and scrapping on Pre-owned, and Requests.
financesManage the accountThe Account and Settings tabs.
sellSell vehiclesThe Stock tab (sell, test drives), selling from Pre-owned, and Requests. With the default settings also the staff tablet.
deliverCollect stockThe Incoming tab and stock runs.
recordsView recordsThe Dashboard, Sales and Incoming tabs.

A permission name in Config.Ranks that is not in this table is ignored.

If you rename or remove a rank in Config.Ranks, the employees who hold it lose their access to the panel until someone gives them a rank that exists. On the Team tab their rank then carries the note This rank is no longer on the ladder.


Hiring

  1. On the Team tab, click Hire team member.
  2. Pick the player under Who joins the team? They have to stand within Config.Offers.Distance metres of you, 15 by default.
  3. Pick the Rank.
  4. Click Send job offer.

The player gets a Job offer window with the dealership, the rank, its description and what the rank lets them do. They have Config.Offers.JobSeconds seconds, 60 by default, to click Accept job or Decline. Until then the Team tab lists them as Offer pending with the time left and a Cancel offer button.

RuleDetail
Ranks you can offerOnly ranks that hold no permission you lack. The others are marked Includes permissions your own rank does not have. With admin you can offer every rank.
Already on the teamThe owner and current employees cannot be hired again: Jordan Hayes already works at this dealership.
One offer at a timeA player with a job offer or a dealership offer still open cannot get another: Jordan Hayes already has an offer waiting.
Busy playerIf the player has another window open, the offer opens as soon as they are free.

You are told how it ended: Jordan Hayes accepted the offer and joined as Sales Advisor., Jordan Hayes declined the job offer. or The job offer to Jordan Hayes expired without an answer.


The team list

The Team tab lists the owner and every employee with their Name, Rank, the date they Joined, the Vehicles sold and the Revenue from their sales. A green dot marks who is online. The Ranks card next to the list shows every rank, what it may do and how many people hold it.

Changing a rank

Click Change rank on a row, pick the new rank and click Save rank. The employee gets Your rank at Premium Deluxe Motorsport is now Sales Manager.

Firing

Click Fire on a row and confirm. The employee loses access right away and gets You no longer work at Premium Deluxe Motorsport. Their past sales stay in the records. A staff tablet they still carry no longer opens.

Limits

  • You cannot change your own rank or fire yourself.
  • The owner cannot be given a rank or fired.
  • You can only change or fire someone whose rank holds no permission you lack, and only give ranks you could offer when hiring. Otherwise the buttons are greyed out with Their rank holds permissions yours does not, so you cannot change it.

Linking a framework job

By default, working at a dealership has nothing to do with the player’s job on your framework. A server admin can link the two in the creator: in the Staff section, switch on Also set a server job, pick the Server job and choose a Job grade for each role.

WhenWhat happens to the job
A player accepts a job offerThey get the server job at the grade of their rank. A rank without a grade gets grade 0.
A rank is changedThe grade changes to the one of the new rank.
An employee is firedIf they still hold the dealership’s job, they get Config.UnemployedJob at grade 0.
LUA
Config.UnemployedJob = 'unemployed'

The job is only changed while the player is online. Someone who is fired or given a new rank while offline keeps the job and grade they had. The owner’s job is never changed.


Server job staff

With Server job chosen in the creator, there is no hiring in the panel at all:

  • Everyone who holds the chosen job is staff of the dealership.
  • The job grade decides the permissions. A server admin ticks them per grade in the creator. A grade with nothing ticked counts as staff but cannot use the panel.
  • Hiring, promoting and firing are done with the job tools of your framework.
  • The Team tab only shows The team is managed through the job system.
  • The dealership has no owner, so it cannot be sold or handed over.

Settings

LUA
Config.Offers = { JobSeconds = 60, TransferSeconds = 90, Distance = 15.0 }
KeyDefaultMeaning
JobSeconds60Seconds a player has to answer a job offer. Between 15 and 600.
TransferSeconds90Seconds a player has to answer an offer for a dealership, see Account & Settings.
Distance15.0Metres the other player may stand away for job offers, dealership offers and staff sales. Between 2 and 100.