Quasar Store Logo

Commands and Exports

This section lists all available commands, exports, and events included in the script. You’ll find client-side, server-side, and shared functions designed to help developers integrate, extend, or interact with the system easily within their own scripts or frameworks.

Commands

This section lists all available commands included in the script. Each command is designed to simplify administration, player interaction, or debugging tasks. You’ll find detailed descriptions, usage examples, and permission requirements to help you manage and customize your server efficiently.

CommandDescription
/mechanic_creatorOpens the mechanic shop creator/management interface.





Server Exports

This section provides all available server exports for the script. These functions allow developers to interact with the system from the server side, manage data, trigger actions, and integrate with other resources. Each export includes a clear description and a practical example to simplify its implementation.

SendEngineSwapInvoice

exports['qs-mechanic-creator']:SendEngineSwapInvoice( customerSource, engineName, mechanicShopId, overrideAmount )

This export sends an invoice to a player for an engine swap. You provide the player’s server ID who will be charged, the engine name from your catalog, and the shop ID so the money goes to the correct society. You can optionally override the price; if not, it will use the default price defined in the EngineCatalog.