> For the complete documentation index, see [llms.txt](https://tru-development.gitbook.io/tru-development-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tru-development.gitbook.io/tru-development-docs/tru-multijob/usage-and-integrations.md). Agents can also search and read this documentation through its [MCP server](https://tru-development.gitbook.io/tru-development-docs/~gitbook/mcp).

# Usage and Integrations

Documentation / Tru-Multijob

## Usage and Integrations

Open the menu with `/multijob` or F6.

### Server exports <a href="#server-exports" id="server-exports"></a>

```lua
exports['tru-multijob']:OpenMenu(source)
exports['tru-multijob']:GetJobs(sourceOrIdentifier)
exports['tru-multijob']:AddJob(sourceOrIdentifier, jobName, grade)
exports['tru-multijob']:RemoveJob(sourceOrIdentifier, jobName)
```

### ACE permissions <a href="#ace-permissions" id="ace-permissions"></a>

```cfg
add_ace group.admin tru.multijob.admin allow
add_ace group.vip tru.multijob.slots.5 allow
```

### In-game verification <a href="#in-game-verification" id="in-game-verification"></a>

Save two valid jobs, switch between them, clock out, reconnect and confirm the saved jobs remain.

### Integration guidance <a href="#integration-guidance" id="integration-guidance"></a>

Check that the job and grade exist in your framework before adding them. Test slot limits with a normal player rather than an administrator. Keep custom integration changes separate from protected resource logic. When calling an export, use the actual running resource name.

### Player and administrator workflow <a href="#player-and-administrator-workflow" id="player-and-administrator-workflow"></a>

Open the menu as a regular character, select a saved job and verify that the framework reports the expected job and grade. Clock out and confirm the unemployed state. For server-side integrations, validate the caller and the requested job before invoking AddJob or RemoveJob; do not expose unrestricted job assignment through a client-triggered event. Test protected roles and slot limits separately.
