# Using Tacview with a Dedicated Server

Install Tacview on your dedicated server by following the same steps outlined in [Installing Tacview for DCS World](/tacview/flight-simulator/dcs-world/installing-tacview-for-dcs-world.md).

Configure the exporter options in `Saved Games\DCS.server\Config\options.lua` . If the options are not there, add them.

![DCS World - Dedicated Server options.lua](/files/EjYGjcG1U5bP4JnvdbYg)

```
["Tacview"] = {
	["tacviewAutoDiscardFlights"] = 10,
	["tacviewBookmarkShortcut"] = 0,
	["tacviewDataCaptureMode"] = 8,
	["tacviewDebugMode"] = 0,
	["tacviewExportPath"] = "C:\\Downloads\\",
	["tacviewFlightDataRecordingEnabled"] = true,
	["tacviewModuleEnabled"] = true,
	["tacviewMultiplayerFlightsAsClient"] = 2,
	["tacviewMultiplayerFlightsAsHost"] = 2,
	["tacviewPlaybackDelay"] = 600,
	["tacviewRealTimeTelemetryEnabled"] = true,
	["tacviewRealTimeTelemetryPassword"] = "",
	["tacviewRealTimeTelemetryPort"] = "42674",
	["tacviewRecordSimulationPauses"] = false,
	["tacviewRemoteControlEnabled"] = false,
	["tacviewRemoteControlPassword"] = "",
	["tacviewRemoteControlPort"] = "42675",
	["tacviewSinglePlayerFlights"] = 2,
	["tacviewTerrainExport"] = 0,
}
```

See [DCS Exporter Options](/tacview/flight-simulator/dcs-world/dcs-exporter-options.md) for an explanation of each option, and see the below table to learn how to configure each option directly in the `Saved Games\DCS.server\Config\options.lua` file.

| Option (options.lua)              | GUI label                                          | Values                                                                                                                               |
| --------------------------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| tacviewAutoDiscardFlights         | Flight Data Recording: Auto Discard Flights        | <p>0 – Never<br>10 – Shorter than 10 sec (default)<br>60 – Shorter than 1 min<br>300 – Shorter than 5 min</p>                        |
| tacviewBookmarkShortcut           | Flight Data Recording: Bookmark Injection Shortcut | Does not apply to dedicated server                                                                                                   |
| tacviewDataCaptureMode            | Flight Data Recording: Data Capture Mode           | X > 0 – Capture data every X frames                                                                                                  |
| tacviewDebugMode                  | Advanced Options: Debug Mode                       | <p>0 – Disabled (default)<br>1 – Minimal<br>2 – Full</p>                                                                             |
| tacviewFlightDataRecordingEnabled | Flight Data Recording: Enabled                     | <p>false – Disabled<br>true – Enabled</p>                                                                                            |
| tacviewModuleEnabled              | Tacview Module Enabled                             | <p>false – Disabled<br>true – Enabled</p>                                                                                            |
| tacviewMultiplayerFlightsAsClient | Multiplayer Flights – As Client                    | <p>0 – Do not record any data<br>1 – Record local player only<br>2 – Record all available data</p>                                   |
| tacviewMultiplayerFlightsAsHost   | Multiplayer Flights – As Host                      | <p>0 – Do not record any data<br>1 – Record local player only<br>2 – Record all available data<br>3 – Record one file per client</p> |
| tacviewRealTimeTelemetryEnabled   | Real-Time Telemetry: Enabled                       | <p>false – Disabled<br>true – Enabled</p>                                                                                            |
| tacviewRealTimeTelemetryPassword  | Real-Time Telemetry: Password                      | <p>"password" – Password required<br>"" – No password</p>                                                                            |
| tacviewRealTimeTelemetryPort      | Real-Time Telemetry: TCP Port (default 42674)      | 42674 – Default port                                                                                                                 |
| tacviewRecordSimulationPauses     | Record Simulation Pauses                           | <p>false – Disabled<br>true – Enabled</p>                                                                                            |
| tacviewRemoteControlEnabled       | Remote Control: Enabled                            | <p>false – Disabled<br>true – Enabled</p>                                                                                            |
| tacviewRemoteControlPassword      | Remote Control TCP Password                        | <p>"password" – Password required<br>"" – No password</p>                                                                            |
| tacviewRemoteControlPort          | Remote Control TCP Port (default 42675)            | 42675 – Default port                                                                                                                 |
| tacviewSinglePlayerFlights        | Single Player Flights                              | <p>0 – Do not record any data<br>1 – Record local player only<br>2 – Record all available data</p>                                   |
| tacviewTerrainExport              | Tools: Terrain Export                              | <p>0 – Disabled<br>1 – Predefined<br>2 – Unknown</p>                                                                                 |

#### Export Permissions

As explained further in [Muliplayer Flights As Host](/tacview/flight-simulator/dcs-world/multiplayer-flights-as-host.md), be sure to enable export permissions in the advanced options of your dedicated server:

[Dedicated Server Export Permissions](https://github.com/RaiaSoftwareInc/tacview.documentation/blob/main/flight-simulator/dcs-world/images/dcs-world-multiplayer-permissions.png)

#### The 10 Minute Delay

As explained further in [Muliplayer Flights As Host](/tacview/flight-simulator/dcs-world/multiplayer-flights-as-host.md), here are the configurations necessary to enforce or eliminate the default 10-minute delay:

**Option 1: Eliminate the 10-minute delay for all clients**

```
["tacviewRealTimeTelemetryEnabled"] = true,
["tacviewRealTimeTelemetryPassword"] = "",
```

**Option 2: Enforce a 10-minute delay for all clients except those who have the password**

```
["tacviewRealTimeTelemetryEnabled"] = true,
["tacviewRealTimeTelemetryPassword"] = "password",
```

**Option 3: Enforce a 10-minute delay for all clients**

`["tacviewRealTimeTelemetryEnabled"] = false,`

**Option 4: Enforce a delay of another length of time**

```
["tacviewRealTimeTelemetryEnabled"] = false,
["tacviewPlaybackDelay"] = 60,    -- 60, 120, 300, 600, 1200 or 1800 seconds.
```


---

# 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://raia-software-inc.gitbook.io/tacview/flight-simulator/dcs-world/using-tacview-with-dcs-dedicated-server.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.
