# Your First Plugin

## Preface

{% hint style="info" %}
A Plugin is a compiled C# assembly file that is loaded by BepInEx to allow for custom code to be executed, such as patches or custom behaviour
{% endhint %}

{% hint style="danger" %}
This guide assumes you are running windows 10 or 11, own GTFO on steam, and have r2modman installed
{% endhint %}

{% hint style="warning" %}
Is this missing something you want help with? Try asking in our Discord server.
{% endhint %}


---

# 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://gtfo-modding.gitbook.io/wiki/guides/your-first-plugin.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.
