> For the complete documentation index, see [llms.txt](https://docs.quantum-studios.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantum-studios.net/qtm-lib/server-functions/framework/general.md).

# General

## GetIdentifier

Description

{% code overflow="wrap" %}

```etlua
Framework.GetIdentifier(source)
```

{% endcode %}

### Arguments

| Argument | Data Type | Optional | Explanation |
| -------- | --------- | -------- | ----------- |
| source   | string    | no       | Player id   |

### Returns

| Data Type     | Explanation               |
| ------------- | ------------------------- |
| string \| nil | Returns player Identifier |

## GetIdentifierID

Description

```etlua
Framework.GetIdentifierID(identifier)
```

### Arguments

| Argument   | Data Type | Optional | Explanation       |
| ---------- | --------- | -------- | ----------------- |
| identifier | string    | no       | Player identifier |

### Returns

| Data Type     | Explanation       |
| ------------- | ----------------- |
| number \| nil | Returns player id |

## GetPlayers

Description

```etlua
Framework.GetPlayers()
```

### Returns

| Data Type | Explanation            |
| --------- | ---------------------- |
| table     | Table with all players |

## DoesJobExists

Description

```etlua
Framework.DoesJobExists(jobName)
```

| Argument | Data Type | Optional | Explanation                    |
| -------- | --------- | -------- | ------------------------------ |
| jobName  | string    | no       | jobName that should be checked |

### Returns

| Data Type | Explanation                      |
| --------- | -------------------------------- |
| boolean   | true if job exists, false if not |

## GetJobOnlineMembers

Description

```etlua
Framework.GetJobOnlineMembers(jobs)
```

| Argument | Data Type | Optional | Explanation                            |
| -------- | --------- | -------- | -------------------------------------- |
| jobs     | table     | no       | table with all job names to be checked |

### Returns

| Data Type | Explanation             |
| --------- | ----------------------- |
| integer   | count of online players |

## GetPosition

Description

```etlua
Framework.GetPosition(source)
```

### Arguments

| Argument | Data Type | Optional | Explanation |
| -------- | --------- | -------- | ----------- |
| source   | string    | no       | Player id   |

### Returns

| Data Type      | Explanation                |
| -------------- | -------------------------- |
| vector3 \| nil | Returns player coordinates |

## GetBank

Description

```etlua
Framework.GetBank(source)
```

### Arguments

| Argument | Data Type | Optional | Explanation |
| -------- | --------- | -------- | ----------- |
| source   | string    | no       | Player id   |

### Returns

| Data Type     | Explanation                |
| ------------- | -------------------------- |
| number \| nil | Returns player bank amount |

## HasGroup

Description

```etlua
Framework.HasGroup(source, group)
```

| Argument | Data Type | Optional | Explanation  |
| -------- | --------- | -------- | ------------ |
| source   | string    | no       | Player id    |
| group    | string    | no       | Player Group |

### Returns

| Data Type   | Explanation                 |
| ----------- | --------------------------- |
| bool \| nil | Returns if player has group |
