> For the complete documentation index, see [llms.txt](https://arivia.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arivia.rlib.io/first-use/console-commands/untitled.md).

# ▸arivia.listjobs

`arivia.listjobs(` [**ᵗᵉˣᵗ**](https://wiki.facepunch.com/gmod/string)  job`)`

## ▸ Parameters

&#x20;     ***`str`**`     ``job (optional)`*\
&#x20;                            job name to search for

## ▸ Description

&#x20;        Allows an admin to view all jobs or search for a job in particular\
&#x20;        Useful when used with [**arivia.setjob**](/first-use/console-commands/arivia.setjob.md) to get the job command name

## ▸ Permissions

&#x20;       This command can only be executed by:\
&#x20;          ▸ Superadmin\
&#x20;          ▸ Console\
&#x20;          ▸ Staff with permission '**arivia\_forceteams**'

## ▸ Notes

&#x20;        If no job name specified; command will return all server jobs

## ▸ Example

{% tabs %}
{% tab title="Console" %}

```lua
> arivia.listjobs g

 -------------------------------------------------------
 Arivia » Search Results
 -------------------------------------------------------

 Name                     »   Command
 -------------------------------------------------------
 Gangster                 »   gangster
 Gun Dealer               »   gundealer

 -------------------------------------------------------
```

{% endtab %}
{% endtabs %}
