# LG Helicam

## Step 1 - Create and Configure Your LiveKit Account

1. Go to [**https://livekit.com**](https://livekit.com) and create a free account.
2. Once your account has been created, navigate to:\
   [**https://cloud.livekit.io/**](https://cloud.livekit.io/)
3. In the dashboard, open the **Settings** menu.
4. Select **API Keys**.
5. Choose the **first API key** listed.

You will then be able to view the following information:

* **WebSocket URL**
* **API Key**
* **API Secret**

These values will be required for configuring the script.

***

## Step 2 - Configure Your `server.cfg`

Open your **server.cfg** file.

Locate the section where your server tags are defined (the line beginning with `sets tags`).

Directly underneath this line, add the following configuration:

```
set lg_helicam_lk_key    "YOUR_LIVEKIT_API_KEY"
set lg_helicam_lk_secret "YOUR_LIVEKIT_API_SECRET"
```

Replace the placeholders with the **API Key** and **API Secret** obtained from your LiveKit dashboard.

***

## Step 3 - Create the NPAS Live Share Browser Shortcut

For best compatibility we recommend using **Google Chrome**.

1. Create a **new desktop shortcut** for your browser.
2. Rename the shortcut to something easily recognisable, such as **NPAS Helicam**.
3. Right-click the shortcut and select **Properties**.
4. In the properties window, open the **Shortcut** tab.
5. Locate the field labelled **Target:**.

You will need to replace the contents of the **Target:** field with the appropriate command for your browser.

<figure><img src="/files/fVYNgoPE25URJ1VKSqwJ" alt="" width="439"><figcaption></figcaption></figure>

***

### Google Chrome

```
"C:\Program Files\Google\Chrome\Application\chrome.exe" --unsafely-treat-insecure-origin-as-secure="http://YOUR_IP:YOUR_PORT/" --user-data-dir="C:\chrome-helicam"
```

***

### Microsoft Edge

```
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --unsafely-treat-insecure-origin-as-secure="http://YOUR_IP:YOUR_PORT/" --user-data-dir="C:\edge-helicam"
```

***

### Brave

```
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --unsafely-treat-insecure-origin-as-secure="http://YOUR_IP:YOUR_PORT/" --user-data-dir="C:\brave-helicam"
```

***

### Opera

```
"C:\Users\%USERNAME%\AppData\Local\Programs\Opera\opera.exe" --unsafely-treat-insecure-origin-as-secure="http://YOUR_IP:YOUR_PORT/" --user-data-dir="C:\opera-helicam"
```

***

### Opera GX

```
"C:\Users\%USERNAME%\AppData\Local\Programs\Opera GX\opera.exe" --unsafely-treat-insecure-origin-as-secure="http://YOUR_IP:YOUR_PORT/" --user-data-dir="C:\operagx-helicam"
```

***

## Important

Replace **`YOUR_IP`** and **`YOUR_PORT`** with the **same server IP address and port configured in the script’s `config.lua`.**

Example:

```
http://123.45.67.89:30120/
```

After entering the command into the **Target:** field, press **Apply**, then **OK**.

***

## Note

Browser installation paths may vary depending on your system and how the browser was installed. If the shortcut does not work, ensure the **browser executable path matches your installation location**.

If you require assistance with the setup, please **open a support ticket in our Discord server**.

**Discord:**\
<https://discord.gg/lgmods>


---

# 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://docs.lgmods.co.uk/scripts/lg-helicam.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.
