> For the complete documentation index, see [llms.txt](https://captivatehelp.newbluelive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://captivatehelp.newbluelive.com/play-and-update-graphics/chapter-index-3/connect-statcrew.md).

# Connect Stat Crew statistical data to a graphic

Captivate can connect to the Stat Crew database and display incoming statistical data in graphics. Each sport in the menu offers about 20 per-graphic-shape entries (Game Open, Break Score, Lower Third, Top Players, Multiplayer 1/2/3, Player/Team Matchup, etc.), each binding a different variable set.

{% hint style="info" %}
This feature is not available in Captivate Present.
{% endhint %}

* [Single Player Stats](#single-player-stats)
* [Multiplayer Stats on the Same Team](#multiplayer-stats-on-the-same-team)
* [Comparing Stats from both Teams](#comparing-stats-from-both-teams)

## Single Player Stats

1. If you plan to use images in your graphic, ensure the following:
   * Images live in a Textures folder next to the `nbtlproj` file. (Create the folder if absent.)
   * Images are in that folder **before** opening the project file in Captivate.
   * Images are named `lastnamefirstinitial.png`.
2. In Captivate’s playout interface, open a project (if one isn’t already open) and select a graphic in the Project List.

   **💡 TIP**\
   For best results, use a graphic that matches the name of the data controller template (e.g., Ivory Corner Info pairs with the Corner Info Stat template).
3. Under the Data Controller column, choose **Add source** > **Sports** > **Stat Crew Stats** and select a sport, team, and the type of data you want.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-e38d073f5a4b20ed5bc23ec98ba4c86d908a67bb%2Fimage_7456.jpg?alt=media" alt="Stat Crew Stats menu"><figcaption></figcaption></figure></div>

   The data appears as a tab in the Layer Properties panel.
4. Navigate to the Stat Crew Stats controller tab and select your Stat Crew XML file or enter its path/URL. Browse to the file from your local disk if needed.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-142333524d475af1e09eafd922568bc7073c9918%2Fimage_8229.jpg?alt=media" alt="Browse XML file"><figcaption></figcaption></figure></div>
5. Enter the Hex codes for Home and Visitor team colors if desired and click **Save**.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-911d0299c27a344834403239d61b9d3e88b59550%2Fimage_4806.jpg?alt=media" alt="Team colors"><figcaption></figcaption></figure></div>

   **❗ IMPORTANT**\
   If the status light in the top-right corner is green, your XML is connected. If red:

   * Your XML is not connected — reload or re-enter the path.
   * Your XML is connected but isn’t returning the expected sport data — connect to a different XML file or input.

     <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-2a0ddaa10dcd34bf734fda518a102bb17479fcef%2Fimage_3571.png?alt=media" alt="Status light"><figcaption></figcaption></figure></div>
6. The selected data item populates under the chosen team. Select the player to highlight in the **Player** dropdown.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-0af260606927362825c161759f6eea4f17faeb3b%2Fimage_4125.jpg?alt=media" alt="Player dropdown"><figcaption></figcaption></figure></div>
7. Use the gear icon to open **Variable Settings** and select the stats to represent in your graphic.

   **💡 TIP**\
   **Troubleshooting:** The dropdown tends to populate at the top of the controller. Scroll up if you don’t see it.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-de76daee80d95906c831777714ca6a112d4fbf9a%2Fimage_70.jpg?alt=media" alt="Stats variable settings"><figcaption></figcaption></figure></div>

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-1b602b5f8dd00a3c9b204137fbec7c5aaa4d7335%2Fimage_5294.jpg?alt=media" alt="Selected player stats"><figcaption></figcaption></figure></div>
8. If there are missing data links, click **Link Data** in the **Preview** panel to view the input variables.
9. Click and drag a Stat Crew Stats variable onto an object in your graphic, or right-click to select the design object.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-a1195faa96d43b932aff78a92126139f2f2e14d3%2Fimage_3389.jpg?alt=media" alt="Drag variable"><figcaption></figcaption></figure></div>

   **📌 NOTE**\
   To verify which variable label maps to which team or player, reference the Live Values tab. Test by manually adjusting the data in the input box.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-69cea49d2043a643da274c00fc511489ca8d3000%2Fimage_3666.jpg?alt=media" alt="Live Values tab"><figcaption></figcaption></figure></div>
10. Repeat for each variable you want.

**📌 NOTE**\
To make manual changes live to your XML, save the XML so the changes are reflected in Captivate. See [Legacy XML controller](/play-and-update-graphics/chapter-index-2/legacy-xml-controller.md) for the older **General > XML** / **Sports > XML** menu flow, or [Tables](/play-and-update-graphics/chapter-index-1/tables-overview.md) to switch a project to the new Tables controller.

<div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-64c9fd661b67d47b99a9c54d12ce40747207e8dd%2Fimage_769.jpg?alt=media" alt="Linked stats"><figcaption></figcaption></figure></div>

## Multiplayer Stats on the Same Team

This workflow connects Stat Crew data from a single team for multi-player comparisons or single-team showcases.

1. Ensure your textures folder is set up as described in the Single Player Stats section above.
2. Open a project and select a graphic in the Project List.

   **💡 TIP**\
   For best results, use a matching graphic template (e.g., Acrylic Headshot 3).

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-e7b7df33b1228a3fdecfd16258764b0198df64d3%2Fimage_2514.jpg?alt=media" alt="Acrylic Headshot 3"><figcaption></figcaption></figure></div>
3. Under Data Controller, select **Add source** > **Sports** > **Stat Crew Stats** > **Sport** > **Team** > **Multiplayer 1**.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-e049e92756ed9083c1c37ecb06da0d83204b8aac%2Fimage_4988.jpg?alt=media" alt="Multiplayer 1 menu"><figcaption></figcaption></figure></div>
4. Navigate to the Stat Crew Stats controller tab and select your XML file.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-09e0c731ef0183571dc8e3af498b19d1f34673c2%2Fimage_6116.jpg?alt=media" alt="Browse XML"><figcaption></figcaption></figure></div>

   **❗ IMPORTANT**\
   Verify the status light is green.
5. Select the gear icon next to the team to configure data assignments.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-068aae6cfb759a14be49165b7db6d8c576c20901%2Fimage_4315.jpg?alt=media" alt="Team gear icon"><figcaption></figcaption></figure></div>
6. Use the **Players** dropdown to select the players to highlight.
7. Use the **Stats** dropdown to select the stats.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-c62b5ac42f0282ad63de66b35103b94cb52f70e8%2Fimage_2714.jpg?alt=media" alt="Players and stats"><figcaption></figcaption></figure></div>

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-af958c31e78b7c50be9bad9982d06e313d1c8636%2Fimage_776.jpg?alt=media" alt="Player list"><figcaption></figcaption></figure></div>
8. Click **Link Data** in the **Preview** panel to connect any missing links.
9. Drag-and-drop or right-click to link each variable.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-7dd8d74fe2adf7436628e83489bde24189be6612%2Fimage_9450.jpg?alt=media" alt="Link variables"><figcaption></figcaption></figure></div>

   **💡 TIP**\
   **Troubleshooting:** If the graphic goes white after connecting or re-assigning variables, click **Edit Graphic** in the Designer, highlight the affected layers, navigate to **Properties > Style**, and ensure variable is unchecked under Color Style. Save and return.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-d92dee05fb91ed9aabb197c7c900dff85c2a71c2%2Fimage_1702.jpg?alt=media" alt="Color style fix"><figcaption></figcaption></figure></div>
10. To link images, click on the image design element in the Preview panel and assign the file location.

<div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-6ba5694254105da6a20774ff3524eac383bc691a%2Fimage_5198.jpg?alt=media" alt="Image link"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-6557992e53d17f1e370477237c6f9f8666fec03c%2Fimage_7003.jpg?alt=media" alt="Textures folder"><figcaption></figcaption></figure></div>

## Comparing Stats from both Teams

This workflow compares Stat Crew data across both teams in the game for matchup graphics.

1. Set up your textures folder as described above.
2. Open a project and select a graphic in the Project List.

   **💡 TIP**\
   For best results, use a matching graphic template (e.g., Acrylic Player Comparison).
3. Under Data Controller, select **Sports** > **Stat Crew Stats** > **Sport** > **Game** > **Player Matchup** (or matching data type).

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-38160cb0e3edee9b496277c1ce3296e60860267b%2Fimage_7970.jpg?alt=media" alt="Player Matchup menu"><figcaption></figcaption></figure></div>
4. Navigate to the Stat Crew Stats controller tab and select your XML file.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-09e0c731ef0183571dc8e3af498b19d1f34673c2%2Fimage_6116.jpg?alt=media" alt="Browse XML"><figcaption></figcaption></figure></div>

   **❗ IMPORTANT**\
   Verify the status light is green.
5. Navigate to **Game > Player Matchup** to select the players from each team’s dropdown.
6. Select the gear icon next to **Player Matchup** to configure stats.
7. Use the **Stats** dropdown to select the stats.
8. Click **Link Data** in the **Preview** panel and connect any missing variables.
9. Drag-and-drop or right-click to link each variable.

   <div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-bae5f7f40c341642cf2eafc352bb6ba305956271%2Fimage_1806.jpg?alt=media" alt="Link comparison variables"><figcaption></figcaption></figure></div>
10. Repeat for each variable.

**📌 NOTE**\
To make manual changes live to your XML, save the XML.

<div align="left"><figure><img src="https://352477438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFCWMxradHcVjURnrXSYX%2Fuploads%2Fgit-blob-9d0fa5c9057ab2a55e674efffefdb24a42ff3a8a%2Fimage_1939.jpg?alt=media" alt="Live comparison"><figcaption></figcaption></figure></div>

## Stat Crew Scoreboards

Stat Crew offers two different controllers, and which one you want depends on what you are putting on air.

* **Stat Crew Statistics** — the one this article covers above. Player and team statistics: leaders, comparisons, box-score figures.
* **Stat Crew Scoreboards** — the live score state instead. Teams, score, period, possession, fouls and timeouts, as the game runs.

Connect a scoreboard the same way: choose **Select a Datasource**, find **Stat Crew Scoreboards**, and pick your sport. The controller appears as a tab in the **Layer Properties** panel, and you link its variables to your design exactly as you would for statistics.

The variables a scoreboard offers are the ones a scoreboard needs, and they vary by sport. Basketball, for example, provides:

| Variable                                 | Holds                                       |
| ---------------------------------------- | ------------------------------------------- |
| `Home Team` / `Visitor Team`             | Full team names                             |
| `Home Team Short` / `Visitor Team Short` | Abbreviated names, for narrow lower thirds  |
| `Home Score` / `Visitor Score`           | The score                                   |
| `Period`                                 | The current period                          |
| `Home Poss.` / `Visitor Poss.`           | Which team has possession                   |
| `Home Fouls` / `Visitor Fouls`           | Team fouls                                  |
| `Home Timeouts` / `Visitor Timeouts`     | Timeouts remaining                          |
| `Message`                                | A free-text line you can put on the graphic |

Other sports carry the fields that sport needs — the tab lists everything available once you have selected one, so connect from what you see there rather than assuming the set above.

**💡 TIP**\
You can run both controllers at once. A common arrangement is a persistent scoreboard driven by **Stat Crew Scoreboards** and a lower third driven by **Stat Crew Statistics**, each on its own graphic.


---

# 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://captivatehelp.newbluelive.com/play-and-update-graphics/chapter-index-3/connect-statcrew.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.
