> For the complete documentation index, see [llms.txt](https://infinity-command.gitbook.io/infinity-command/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinity-command.gitbook.io/infinity-command/getting-started/flight-director.md).

# Flight Director

The [Flight Director](/infinity-command/flight-director/overview.md) is the "dungeon master" or "man behind the green curtain" who operates the simulation from behind the scenes.

For convenience, it's possible to run the Flight Director controls directly on the server. This can be useful for writing and testing custom missions.

Under normal conditions, however, the Server should be set as the Viewscreen, and the Flight Director should connect as a client.  Here's how:

{% stepper %}
{% step %}

### Set up your Content Pack

Before you can access the Flight Director controls, you'll need to [set up your Content Pack](/infinity-command/getting-started/content-pack.md).  This only needs to be done once.
{% endstep %}

{% step %}

### Select "Join Server" from the main menu

{% endstep %}

{% step %}

### Connect to the Server

The Server automatically broadcasts itself across the local network.  If you select the "**Auto-connect to the first detected server**" option, then the app will take care of the connection for you.

<figure><img src="/files/JAFyKmeJmAP14KxKIxJY" alt=""><figcaption></figcaption></figure>

Alternatively, you can enter the Server's IP address manually and click "Connect."

<details>

<summary>Finding your Server's IP address</summary>

If you run your Server with the Viewscreen module, then you can hit the `Esc` key to bring up a menu, which displays its local IP address.

</details>
{% endstep %}

{% step %}

### Select a Ship

Currently, only the default ship ([which was spawned when the server started](/infinity-command/getting-started/starting-a-server.md)) is available. Down the road, all the player ships in the current simulation will be available.

<figure><img src="/files/ZzQtpQgSURPQvB7AF51z" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Select "Flight Director" from the Specialty Roles at the bottom

<figure><img src="/files/wvniNToyUAGBZPYJrKOq" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://infinity-command.gitbook.io/infinity-command/getting-started/flight-director.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
