> 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/system/lifevisuals_mainsync/installation.md).

# Installation

Der komplette Leitfaden, um lifevisuals\_mainsync zu installieren: Abhängigkeiten, Dateien, SQL und \`server.cfg\`.

Hier bekommst du den vollständigen Leitfaden, um **lifevisuals\_mainsync** auf deinem Server zum Laufen zu bekommen.

### Voraussetzungen

Dieses Produkt lädt ohne externe Abhängigkeiten — nur FiveM und ein `ensure`-Eintrag in `server.cfg` sind nötig.

### Schritt für Schritt

{% stepper %}
{% step %}

#### 1. lifevisuals\_mainsync entpacken

Lege den Ordner `lifevisuals_mainsync` aus deinem Download in dein `resources`-Verzeichnis. Der Ordnername muss exakt `lifevisuals_mainsync` bleiben, sonst schlagen Export-Aufrufe und `@lifevisuals_mainsync`-Abhängigkeiten fehl.
{% endstep %}

{% step %}

#### 2. Config prüfen: `config.lua`

Öffne `config.lua` und passe Pfad, Webhooks und Berechtigungs-Gruppen an deine Stadt an. Die wichtigsten Werte stehen im Kapitel [Konfiguration](/scripts/system/lifevisuals_mainsync/konfiguration.md).
{% endstep %}

{% step %}

#### 3. `server.cfg` ergänzen

Reihenfolge einhalten — ein Resource startet nicht, wenn seine Abhängigkeit noch nicht geladen ist:

```cfg
ensure lifevisuals_mainsync
```

{% endstep %}

{% step %}

#### 4. Server neustarten und testen

Starte den Server neu (nicht nur `restart`) und prüfe die Konsole: erscheinen keine Fehler zu Abhängigkeiten, ist das Resource einsatzbereit.
{% endstep %}
{% endstepper %}

### Wenn es nach dem Start hakt

| Prüfen                             | Ursache                                                                     |
| ---------------------------------- | --------------------------------------------------------------------------- |
| UI bleibt leer oder Fehler im Chat | In `config.lua` setzen — häufig Rechtschreibfehler in Item- oder Job-Namen. |

***

Weiter im Kapitel: [Konfiguration](/scripts/system/lifevisuals_mainsync/konfiguration.md) — welche Werte du in der Config setzen solltest.


---

# 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/system/lifevisuals_mainsync/installation.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.
