> 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/starting-a-server.md).

# Starting a Server

Your **Server** makes your starship simulation possible by linking your **Crew Stations** with the virtual universe outside the ship. Here's how to set one up:

{% stepper %}
{% step %}

### Set up your Content Pack

Before you can start a server, 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 "Start Server" from the main menu

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

{% step %}

### Select a Ship

<div align="left"><figure><img src="/files/iShr4yoEPteF7MN1EsEP" alt=""><figcaption></figcaption></figure></div>

This determines what ship will be spawned with the server.  We recommend using the "**USS Example**," which is a sample ship and is selected by default. However, if you want to start the server with a different default ship, you can select one from the dropdown menu.
{% endstep %}

{% step %}

### Select a Script

<div align="left"><figure><img src="/files/TwV9AFLfOGpMqvw0GcPh" alt=""><figcaption></figcaption></figure></div>

This determines what script will be loaded when the server starts.  We recommend using the "**Demo**" script, which is selected by default. However, if you want to start the server with a different default script, you can select one from the dropdown menu.  You can always load different scripts later.
{% endstep %}

{% step %}

### Select Modules

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

Modules determine what features will be active on the Server.  For most situations, we recommend selecting **Viewscreen** and leaving the other options unselected.

* **Viewscreen** — This displays the 3D world outside the ship, videos, and other visual content.  It also plays the background music and sound effects.
  * Select this option if your Server is connected to the big display at the front of your ship.
* **Flight Director** — This displays the Flight Director controls, which control the simulation from behind the scenes.
  * Typically the Flight Director should join the server as a client (instead of running on the server itself), but if you want to start a Server + Flight Director controls for setup, testing, etc., then you can select this option.
* **Hardware Helm** — This uses controllers (joystick, flight sim yoke controller, etc.) connected to the Server to [steer the ship](/infinity-command/getting-started/steering.md).
  * If your controller is connected to your Server computer, select this module.
  * If your controller is connected to your Pilot's computer, leave this module unselected.
    {% endstep %}

{% step %}

### Launch

Click on the "Launch" button.

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

This will start the server, spawn the default ship, and load the default script.  Now you're ready for other devices to join the server as Crew Stations or the Flight Director.
{% 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/starting-a-server.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.
