> For the complete documentation index, see [llms.txt](https://docs.spadnext.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spadnext.com/getting-started/common-tasks-and-issues/x-plane-specific-topics.md).

# X-Plane specific Topics

### Known incompatible X-Plane Plugins

```
- SAM - Scenery Animation Manager (stairportsceneries.plugin.aos)
```

This xplane-plugin can cause the SPAD plugin to crash and then crash X-Plane. Since that plugin is outdated and known to be incompatible to xp12 and is no longer maintained for a long time already, it is recommended to uninstall it

### X-Plane crashes with custom datarefs.txt

If X-Plane crashes after the aircraft is loaded and you have a custom datarefs.txt in place, check the X-Plane logfile for the last "AddDataref"-Entry from SPAD. This is normally the dataref that causes a problem, and most likely you will see a deprecated warning. Removing that dataref (and all datarefs in the same group) from your datarefs.txt should resolve this issue.

### X-Plane error: Discover port blocked

Most likely you have something running like e.g. Hyper-V which reserved the ports that are used by X-Plane for external communication. You will need to tell it not to reserve those ports.\
You can check with this commands:<br>

```
netsh int ipv4 show excludedportrange protocol=tcp
netsh int ipv4 show excludedportrange protocol=udp
```

\
\
None of the lists should include port **49707**\
You can change that reserved range as described here

<https://dandini.wordpress.com/2019/07/15/administered-port-exclusions-blocking-high-ports/>


---

# 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://docs.spadnext.com/getting-started/common-tasks-and-issues/x-plane-specific-topics.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.
