# Group Setup

## Properties

### Name

Key: `name`

Internal name of the group.

### Requirements

Key: `requirements`

Table of requirements to be in group.

* #### Job

  Key: `job`

  Job name identifier from your framework.
* #### Grades

  Key: `grades`

  Table with grades from your framework associated with previous job name
* #### Gang

  Key: `gang` Gang name identifier from qb-core or rcore\_gangs if `UseRCoreGangs` is enabled in config
* #### Items

  Key: `items`

  Table with items that you need to have in inventory

### See (visibility of groups)

Key: `see`

Table with internal names of groups that group should see.

{% hint style="warning" %}
⚠️ If players in group should see yourself, there need to be included also name of the same group!

⚠️ The name of group is not name of the job!
{% endhint %}

### Blip

Key: `blip`

Blip properties of the group. More [here in section with blip](#blip.md).

### Vehicle blip

Key: `vehicleBlip`

Blip properties of the group, when player sits in vehicle.

### Allow prefix & suffix editing

Key: `allowPrefixSuffixEdit`

Whether the player should be able to edit his prefix and suffix or not.

## Example

```lua
{
    name = 'example',
    requirements = {
        job = 'police',
        grades = {
            'recruit',
            'officer'
        },
        items = {}
    },
    see = {
        'example', -- ⚠️
        'example2',
    },
    blip = {
        name = '{PREFIX} {PLAYER_NAME} {SUFFIX}',
        sprite = 60,
        color = 8,
        headingIndicator = true,
        showCone = true,
        category = 7,
    },
    vehicleBlip = {
        color = 3,
        sirenFlash = 1,
    }
    allowPrefixSuffixEdit = true,
},
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_job_blips/group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
