Bablo ResourcesDocs

Commands

Bablo Dealerships registers three chat commands. Their names come from config.lua, so your server may use different names. The defaults are shown here. Everything else is done at the interaction points of a dealership and in the panels.

CommandDefaultWhoSet in
Open the admin panel/dealereditorServer adminsConfig.AdminCommand
The vehicles you are still paying off/myfinanceEvery playerConfig.FinanceCommand
Give up a stock run/cancelrunThe driver of a stock runConfig.StockRun.CancelCommand

None of the commands is restricted with an ACE. /dealereditor checks on the server whether the player is a server admin when it is used.


/dealereditor

Opens the admin panel with the Dealerships, Vehicles, Photo studio, Part prices and Theme tabs. See Admin Panel.

PLAINTEXT
/dealereditor

Only server admins can open it: framework admins and players with the ACE in Config.AdminAce. Everyone else gets You are not allowed to do that. Who counts as a server admin is listed under Admin command.

The command does nothing while another panel of the script is open.


/myfinance

Opens My finance, where a player sees every vehicle they are still paying off, what is left on each and when the next payment is due. Pay instalment makes the next payment ahead of schedule and Pay off settles everything that is left. See Financing.

PLAINTEXT
/myfinance

Every player can use it. Chat suggests it with the text “Show the vehicles you are paying off”, and payment reminders tell the player to use it.

Set Config.FinanceCommand = false to not register it. See Finance command.


/cancelrun

Gives up the stock run you are on. The truck, the trailer and its load are removed, and the ordered vehicles are back at the depot, so they can be collected on another run.

PLAINTEXT
/cancelrun

While a run is active the tracker on screen shows the command as Give up the run. A player who is not on a run gets You are not on a stock run.

Set CancelCommand in Config.StockRun to false or '' to not register it. See Stock run.


Debug

These commands only exist while Config.DEBUG = true. They have no permission check, so every player can use them. Keep Config.DEBUG = false on a live server.

They are meant for setting up and testing. Most of them print their result in the F8 console.

CommandWhat it does
/dealertp x y z [heading]Teleports you to the coordinates.
/dealerposPrints your position, heading and interior in the F8 console.
/dealerscanPrints a text map of the showcase garage interior in the F8 console.
/dealerstudio [land, sea or air] [prop ...]Opens the showroom of the nearest dealership in the showcase studio, also when the studio is off for that dealership. With land, sea or air it picks the nearest dealership of that kind. Every extra word is a prop that is tried as the platform, one every 9 seconds.
/dealerreveal [model] [cover]Puts a test vehicle (sultan by default) under a hand-over cover in front of you and prints how the cover was fitted. Add coupe, sedan, super, suv, van or pickup to force that cover. Walk up and press E to try the reveal.
/dealerreveal clearRemoves the test vehicles and their covers.
/dealerrig [metres] [model ...]Starts a test stock run with the depot straight ahead of you (90 metres by default) and the given vehicles on the trailer. Nothing is added to any stock. Using it while you are on a run cancels that run.
/dealerdecks [trailer]Prints the measured decks of the car trailer (Config.Delivery.Trailer by default) and where six test cars fit on it.

Keys

The script registers no key bindings of its own. These keys are used:

KeyUsed forChanged in
EInteraction points of a dealership that are not used with the target eye, and pulling the cover off a covered vehicleFixed
SPACEPause or resume a photo shootConfig.PhotoStudio.PauseKey
BACK (Backspace)Stop a photo shoot earlyConfig.PhotoStudio.StopKey

See Photo studio for the key names you can use.