> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-sign-and-poster-studio/business.md).

# Business owners

Let business owners design and place their own signs with CAS Sign & Poster Studio: jobs and grades, the staff review, limits, fees and an area per business.

By default only staff use the studio. Turn on `Config.Business` and members of the jobs you list (from the grade you set) open it with the same `/signstudio` command to design and place signs for their own business.

```lua
Config.Business = {
    Enabled = true,
    Jobs = {
        { job = "saloon", grade = 0, label = "Saloon" },
        { job = "generalstore", grade = 2, label = "General Store", coords = vector3(0.0, 0.0, 0.0), radius = 40.0 }, -- your shop's coords
    },
    Review = true,
    MaxDesigns = 4,
    MaxSigns = 8,
    DesignFee = 25,
    SignFee = 5,
    AI = false,
}
```

| Setting            | What it does                                                                              |
| ------------------ | ----------------------------------------------------------------------------------------- |
| `job`, `grade`     | The job name as your framework stores it, and the lowest grade that may use the studio.   |
| `label`            | The business name the studio shows.                                                       |
| `coords`, `radius` | Optional: the business may only place signs within `radius` metres of `coords`.           |
| `Review`           | `true`: every export waits for staff approval before it is built. `false`: built at once. |
| `MaxDesigns`       | Designs per business (0 = no limit).                                                      |
| `MaxSigns`         | Signs in the world per business (0 = no limit).                                           |
| `DesignFee`        | Money taken on each export.                                                               |
| `SignFee`          | Money taken for each sign placed.                                                         |
| `AI`               | `true`: business members may use AI Design (on your server's key).                        |

Members of a business share its designs and its signs: they see, change, place, move and remove them; they never see other businesses' designs.

## The staff review

With `Review = true`, a business presses **Send for review** instead of Export. Staff online get a message, and the design shows **IN REVIEW** in the **Saved** tab (filter **Review**). The stamp opens the **Review** window, which shows the texture exactly as the business sent it (the very picture that will be built), then:

* **Approve and build**: the server builds it into a slot; it is live after the next restart and the business hears of it.
* **Send back**: with an optional note; the business sees the note on the design and can change it and send it again.

If the business changes a design while it waits, it leaves the review and must be sent again: staff only ever approve the texture they looked at. The export fee is taken only once the upload is complete.

Slots are only used by approved designs, so a business can never fill the server's slots on its own.
