> For the complete documentation index, see [llms.txt](https://docs.lifev.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lifev.eu/scripts/standalone/lifevisuals_charcreator/konfiguration.md).

# Konfiguration

Alle editierbaren Dateien, Config-Werte und Befehle von lifevisuals\_charcreator.

Hier findest du alle Konfigurationen und die offenen (editierbaren) Dateien von **lifevisuals\_charcreator**.

### Dateien im Resource

| Bereich | Dateien                                                                                                                                                                                                                                    |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Server  | `bridge/server/esx.lua`, `bridge/server/qb.lua`, `server/characters.lua`, `server/commands.lua`, `server/framework.lua`, `server/main.lua`, `server/payments.lua`, `server/permissions.lua`, `server/surgery.lua`, `server/validation.lua` |
| Client  | `bridge/client/esx.lua`, `bridge/client/qb.lua`, `client/appearance.lua`, `client/helpnotify.lua`, `client/main.lua`, `client/notify.lua`, `client/scene.lua`, `client/sound.lua`, `client/surgery.lua`, `client/ui.lua`                   |
| Shared  | `config/locales/de.lua`, `config/locales/en.lua`, `shared/appearance.lua`, `shared/utils.lua`                                                                                                                                              |
| Config  | `config/config.lua`                                                                                                                                                                                                                        |
| SQL     | `sql/esx.sql`, `sql/qb.sql`                                                                                                                                                                                                                |

{% hint style="info" %}
**Editierbar:** `config/config.lua`, `config/locales/de.lua`, `config/locales/en.lua`
{% endhint %}

### Wichtige Config-Werte

| Wert                            | Standard                                       | Bedeutung                                                                                                                    |
| ------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `Config.Locale`                 | `'de'`                                         | Sprache aller Texte: `de` oder `en` (Dateien in `config/locales`); die aktive Sprache wird auch an die UI übergeben.         |
| `Config.Framework`              | `'auto'`                                       | `auto` erkennt ESX Legacy oder QBCore beim Start; mit `esx` bzw. `qb` erzwingst du eine Variante.                            |
| `Config.Debug`                  | `false`                                        | Gibt Ablaufentscheidungen in Server- und Client-Konsole aus. Im Download steht `true` — für den Livebetrieb auf `false`.     |
| `Config.Slot.Default`           | `5`                                            | Anzahl Charaktere pro Spieler, solange die Datenbank keinen Eintrag hat.                                                     |
| `Config.Slot.Max`               | `10`                                           | Obergrenze für Slots — `/charslots` und die Datenbankwerte werden daran geprüft.                                             |
| `Config.Slot.LegacyESXTable`    | `'multicharacter_slots'`                       | Übernimmt vorhandene Slot-Zahlen aus `esx_multicharacter` (Tabelle `multicharacter_slots`).                                  |
| `Config.Commands.Customize`     | `'charcustomize'`                              | Befehl, mit dem Staff das Aussehen des laufenden Charakters neu öffnet.                                                      |
| `Config.Commands.Slots`         | `'charslots'`                                  | Befehl, mit dem Staff einem Spieler eine feste Anzahl Charaktere zuteilt.                                                    |
| `Config.Relog.Command`          | `'relog'`                                      | Befehl zurück zur Charakterauswahl; registriert nur, wenn `Relog.Enabled` auf `true` steht.                                  |
| `Config.Chirurgie.Command`      | `'chirurgie'`                                  | Befehl für die Schönheits-OP. Im Download ist `Chirurgie.CommandEnabled` auf `false` — dann ist die Station der einzige Weg. |
| `Config.Chirurgie.Cost`         | `{ cash = 10000, bank = 10000, escrow = 1000…` | Preis je Zahlungsweg; abgerechnet wird nur der Wert, der zu `PaymentMethod` passt.                                           |
| `Config.Notifications.Provider` | `'esx'`                                        | Wo Spieler-Meldungen erscheinen: `standalone` (eigene UI), `esx`, `qb`, `framework` oder `custom`.                           |
| `Config.HelpNotifySystem`       | `'revolution_helpnotify'`                      | Hinweistexte („Drücke E …“) — `revolution_helpnotify` (Standard), `hex_4_hud`, `esx`, `qb`, `native` oder `custom`.          |
| `Config.Delete.Enabled`         | `true`                                         | Charaktere dürfen gelöscht werden; betroffene Tabellen stehen unter `Delete.Tables` (nach Framework getrennt).               |

<details>

<summary>Alle weiteren Config-Werte (166)</summary>

| Wert                                            | Standard                                        |
| ----------------------------------------------- | ----------------------------------------------- |
| `Config.Logo`                                   | `'https://imghost.lifev.eu/uploads/49b80cb16…`  |
| `Config.Sound`                                  | `true`                                          |
| `Config.Link`                                   | `'https://www.youtube.com/watch?v=xneiaE_SCg…`  |
| `Config.SoundVolume`                            | `35`                                            |
| `Config.Slot`                                   | `{ … }`                                         |
| `Config.Slot.Prefix`                            | `'char'`                                        |
| `Config.Slot.Table`                             | `'lifevisuals_character_slots'`                 |
| `Config.Identity`                               | `{ … }`                                         |
| `Config.Identity.NameMinLength`                 | `2`                                             |
| `Config.Identity.NameMaxLength`                 | `16`                                            |
| `Config.Identity.MinAge`                        | `18`                                            |
| `Config.Identity.MaxAge`                        | `99`                                            |
| `Config.Identity.MinHeight`                     | `140`                                           |
| `Config.Identity.MaxHeight`                     | `220`                                           |
| `Config.Identity.DefaultHeight`                 | `{ male = 182, female = 168 }`                  |
| `Config.Identity.DefaultDateOfBirth`            | `'01/01/2000'`                                  |
| `Config.Identity.Nationality`                   | `'USA'`                                         |
| `Config.Identity.PreventDuplicateNames`         | `true`                                          |
| `Config.Identity.BlacklistedNames`              | `{ … }`                                         |
| `Config.NewCharacter`                           | `{ … }`                                         |
| `Config.NewCharacter.Money`                     | `{ cash = 500, bank = 5000 }`                   |
| `Config.NewCharacter.Spawn`                     | `vector4(-1137.8004, -2806.8596, 27.7087, 23…`  |
| `Config.NewCharacter.Appearance`                | `nil`                                           |
| `Config.FallbackSpawn`                          | `vector4(-1137.8004, -2806.8596, 27.7087, 23…`  |
| `Config.Scene`                                  | `{ … }`                                         |
| `Config.Scene.Enabled`                          | `true`                                          |
| `Config.Scene.Coords`                           | `vector4(-1131.9703, -2776.7158, 27.7087, 60…`  |
| `Config.Scene.Bucket`                           | `900`                                           |
| `Config.Scene.Time`                             | `{ hour = 21, minute = 15, second = 0 }`        |
| `Config.Scene.Weather`                          | `'CLEAR'`                                       |
| `Config.Scene.Freeze`                           | `true`                                          |
| `Config.Scene.Invincible`                       | `true`                                          |
| `Config.Scene.Light`                            | `true`                                          |
| `Config.Scene.LightColor`                       | `{ r = 255, g = 224, b = 196 }`                 |
| `Config.Scene.LightDistance`                    | `2.6`                                           |
| `Config.Scene.LightHeight`                      | `1.4`                                           |
| `Config.Scene.LightRange`                       | `7.0`                                           |
| `Config.Scene.LightIntensity`                   | `0.5`                                           |
| `Config.Camera`                                 | `{ … }`                                         |
| `Config.Camera.Fov`                             | `48.0`                                          |
| `Config.Camera.Selection`                       | `{ … }`                                         |
| `Config.Camera.Selection.Distance`              | `3.9`                                           |
| `Config.Camera.Selection.MinDistance`           | `1.8`                                           |
| `Config.Camera.Selection.MaxDistance`           | `6.0`                                           |
| `Config.Camera.Selection.Height`                | `0.35`                                          |
| `Config.Camera.Selection.TargetHeight`          | `0.55`                                          |
| `Config.Camera.Selection.Yaw`                   | `165.0`                                         |
| `Config.Camera.Selection.Pitch`                 | `-3.0`                                          |
| `Config.Camera.Selection.AutoRotate`            | `7.0`                                           |
| `Config.Camera.Selection.OffsetX`               | `0.22`                                          |
| `Config.Camera.Creator`                         | `{ … }`                                         |
| `Config.Camera.Creator.Distance`                | `2.4`                                           |
| `Config.Camera.Creator.MinDistance`             | `0.4`                                           |
| `Config.Camera.Creator.MaxDistance`             | `5.0`                                           |
| `Config.Camera.Creator.Height`                  | `0.2`                                           |
| `Config.Camera.Creator.TargetHeight`            | `0.55`                                          |
| `Config.Camera.Creator.Yaw`                     | `180.0`                                         |
| `Config.Camera.Creator.Pitch`                   | `-2.0`                                          |
| `Config.Camera.Creator.AutoRotate`              | `0.0`                                           |
| `Config.Camera.Creator.OffsetX`                 | `0.2`                                           |
| `Config.Camera.ZoomStep`                        | `0.12`                                          |
| `Config.Camera.DragSensitivity`                 | `0.28`                                          |
| `Config.Camera.RotateSpeed`                     | `55.0`                                          |
| `Config.Camera.PitchLimit`                      | `60.0`                                          |
| `Config.Camera.Focus`                           | `{ … }`                                         |
| `Config.Camera.Focus.body`                      | `{ Distance = 3.2, TargetHeight = 1.0, Heigh…`  |
| `Config.Camera.Focus.face`                      | `{ Distance = 0.55, TargetHeight = 1.62, Hei…`  |
| `Config.Appearance`                             | `{ … }`                                         |
| `Config.Appearance.MaxComponent`                | `1000`                                          |
| `Config.Appearance.MaxTexture`                  | `1000`                                          |
| `Config.Appearance.MaxOverlay`                  | `255`                                           |
| `Config.Appearance.MaxColor`                    | `63`                                            |
| `Config.Appearance.MaxFeature`                  | `10`                                            |
| `Config.Appearance.MaxWeight`                   | `100`                                           |
| `Config.Appearance.PreviewInterval`             | `60`                                            |
| `Config.Security`                               | `{ … }`                                         |
| `Config.Security.Cooldown`                      | `250`                                           |
| `Config.Security.SessionTimeout`                | `900000`                                        |
| `Config.Security.MaxAppearanceBytes`            | `24000`                                         |
| `Config.Security.MaxActionsPerMinute`           | `30`                                            |
| `Config.Delete`                                 | `{ … }`                                         |
| `Config.Delete.RequireConfirmation`             | `true`                                          |
| `Config.Delete.Tables`                          | `{ … }`                                         |
| `Config.Delete.Tables.esx`                      | `{ … }`                                         |
| `Config.Delete.Tables.qb`                       | `{ … }`                                         |
| `Config.Admin`                                  | `{ … }`                                         |
| `Config.Admin.Groups`                           | `{ 'owner', 'admin', 'dev' }`                   |
| `Config.Admin.Ace`                              | `'lifevisuals.charcreator.admin'`               |
| `Config.AdminCommands`                          | `{ … }`                                         |
| `Config.AdminCommands.ResetChar`                | `{ … }`                                         |
| `Config.AdminCommands.ResetChar.Enabled`        | `true`                                          |
| `Config.AdminCommands.ResetChar.Command`        | `'resetchar'`                                   |
| `Config.AdminCommands.ResetChar.Groups`         | `{ 'owner', 'admin', 'dev' }`                   |
| `Config.AdminCommands.ResetChar.Ace`            | `'lifevisuals.charcreator.admin'`               |
| `Config.AdminCommands.ResetChar.Cooldown`       | `5`                                             |
| `Config.AdminCommands.ResetChar.NotifyTarget`   | `true`                                          |
| `Config.AdminCommands.ResetIdent`               | `{ … }`                                         |
| `Config.AdminCommands.ResetIdent.Enabled`       | `true`                                          |
| `Config.AdminCommands.ResetIdent.Command`       | `'resetident'`                                  |
| `Config.AdminCommands.ResetIdent.Groups`        | `{ 'owner', 'admin', 'dev' }`                   |
| `Config.AdminCommands.ResetIdent.Ace`           | `'lifevisuals.charcreator.admin'`               |
| `Config.AdminCommands.ResetIdent.Cooldown`      | `5`                                             |
| `Config.AdminCommands.ResetIdent.NotifyTarget`  | `true`                                          |
| `Config.Chirurgie`                              | `{ … }`                                         |
| `Config.Chirurgie.Enabled`                      | `true`                                          |
| `Config.Chirurgie.CommandEnabled`               | `false`                                         |
| `Config.Chirurgie.PaymentMethod`                | `'auto'`                                        |
| `Config.Chirurgie.Cooldown`                     | `3600`                                          |
| `Config.Chirurgie.RequiredItem`                 | `{ … }`                                         |
| `Config.Chirurgie.RequiredItem.Name`            | `nil`                                           |
| `Config.Chirurgie.RequiredItem.Count`           | `1`                                             |
| `Config.Chirurgie.RequiredItem.Remove`          | `true`                                          |
| `Config.Chirurgie.ChargeOn`                     | `'save'`                                        |
| `Config.Chirurgie.Location`                     | `{ … }`                                         |
| `Config.Chirurgie.Location.Enabled`             | `true`                                          |
| `Config.Chirurgie.Location.Coords`              | `vector4(360.8853, -589.3611, 27.66, 235.2271)` |
| `Config.Chirurgie.Location.Radius`              | `1.8`                                           |
| `Config.Chirurgie.Location.Key`                 | `38`                                            |
| `Config.Chirurgie.Location.Marker`              | `{ … }`                                         |
| `Config.Chirurgie.Location.Marker.Enabled`      | `true`                                          |
| `Config.Chirurgie.Location.Marker.Type`         | `21`                                            |
| `Config.Chirurgie.Location.Marker.Scale`        | `vector3(0.4, 0.4, 0.4)`                        |
| `Config.Chirurgie.Location.Marker.Color`        | `{ r = 0, g = 255, b = 150, a = 180 }`          |
| `Config.Chirurgie.Location.Marker.BobUpAndDown` | `false`                                         |
| `Config.Chirurgie.Location.Marker.FaceCamera`   | `true`                                          |
| `Config.Chirurgie.Location.Marker.ZOffset`      | `0.0`                                           |
| `Config.Chirurgie.Location.Blip`                | `{ … }`                                         |
| `Config.Chirurgie.Location.Blip.Enabled`        | `true`                                          |
| `Config.Chirurgie.Location.Blip.Sprite`         | `489`                                           |
| `Config.Chirurgie.Location.Blip.Color`          | `4`                                             |
| `Config.Chirurgie.Location.Blip.Scale`          | `0.7`                                           |
| `Config.Chirurgie.Location.Blip.Name`           | `'Schönheits-OP'`                               |
| `Config.Chirurgie.Location.HelpText`            | `'für eine Schönheitsoperation'`                |
| `Config.Payments`                               | `{ … }`                                         |
| `Config.Payments.Log`                           | `false`                                         |
| `Config.Payments.Currency`                      | `'$'`                                           |
| `Config.Payments.Escrow`                        | `{ … }`                                         |
| `Config.Payments.Escrow.Enabled`                | `false`                                         |
| `Config.Payments.Escrow.CanPay`                 | `nil`                                           |
| `Config.Payments.Escrow.Charge`                 | `nil`                                           |
| `Config.Payments.Escrow.Refund`                 | `nil`                                           |
| `Config.Commands`                               | `{ … }`                                         |
| `Config.Commands.Ace`                           | `'lifevisuals.charcreator'`                     |
| `Config.Relog`                                  | `{ … }`                                         |
| `Config.Relog.Enabled`                          | `true`                                          |
| `Config.Relog.Cooldown`                         | `10`                                            |
| `Config.Relog.Groups`                           | `nil`                                           |
| `Config.Relog.Ace`                              | `nil`                                           |
| `Config.Relog.UnloadDelay`                      | `400`                                           |
| `Config.Notifications`                          | `{ … }`                                         |
| `Config.Notifications.MenuToast`                | `true`                                          |
| `Config.Notifications.EsxTypes`                 | `{ … }`                                         |
| `Config.Notifications.EsxTypes.success`         | `'success'`                                     |
| `Config.Notifications.EsxTypes.error`           | `'error'`                                       |
| `Config.Notifications.EsxTypes.inform`          | `'info'`                                        |
| `Config.Notifications.QbTypes`                  | `{ … }`                                         |
| `Config.Notifications.QbTypes.success`          | `'success'`                                     |
| `Config.Notifications.QbTypes.error`            | `'error'`                                       |
| `Config.Notifications.QbTypes.inform`           | `'primary'`                                     |
| `Config.Notifications.Duration`                 | `5000`                                          |
| `Config.Notifications.Custom`                   | `nil`                                           |
| `Config.CustomHelpNotify`                       | `nil`                                           |
| `Config.Ui`                                     | `{ … }`                                         |
| `Config.Ui.ShowDelete`                          | `true`                                          |
| `Config.Ui.SlotDigits`                          | `2`                                             |
| `Config.Ui.MinLoadingTime`                      | `800`                                           |

</details>

### Befehle

Diese Chatbefehle bringt das Resource mit. Admin-Befehle sind über Gruppen in der Config geschützt.

| Befehl           | Zweck                                                                           |
| ---------------- | ------------------------------------------------------------------------------- |
| `/charcustomize` | Aussehen des laufenden Charakters neu im Creator bearbeiten (Staff)             |
| `/charslots`     | Charakter-Slots eines Spielers setzen: `/charslots <serverId> <anzahl>` (Staff) |
| `/chirurgie`     | Schönheits-OP öffnen — nur wenn `Chirurgie.CommandEnabled` auf `true` steht     |
| `/relog`         | Aktuellen Charakter entladen und zurück zur Charakterauswahl                    |
| `/resetchar`     | Charakter eines Spielers komplett neu durch den Creator schicken (Admin)        |
| `/resetident`    | Nur die Identität eines Spielers zurücksetzen (Admin)                           |

### Datenbank-Tabellen

| Datei         | Tabellen                                     | Befüllt mit      |
| ------------- | -------------------------------------------- | ---------------- |
| `sql/esx.sql` | `lifevisuals_character_slots`                | keine Demo-Daten |
| `sql/qb.sql`  | `lifevisuals_character_slots`, `playerskins` | keine Demo-Daten |

{% tabs %}
{% tab title="ESX" %}
Setze in deiner Config `Config.Framework = 'ESX'` (bzw. `'esx'`).
{% endtab %}

{% tab title="QBCore" %}
Dieses Resource erkennt QBCore automatisch; die Anbindung läuft über `qb-core`.
{% endtab %}
{% endtabs %}

***

API für eigene Scripts: [Exports](/scripts/standalone/lifevisuals_charcreator/exports.md) und [Events](/scripts/standalone/lifevisuals_charcreator/events.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lifev.eu/scripts/standalone/lifevisuals_charcreator/konfiguration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
