# Installation

## General

This plugin can be installed on each of your servers. You can decide which instance should host the Discord bot, by enabling or disabling the Bot module in `DiscordBridge/Modules/bot.yml`.

### Multiple Instances

If you run multiple instances of this plugin, it's recommended to use Redis to forward chat from a in-game server to the instance that hosts the bot. You can also have each instance host their own bot instance, if you can't use Redis. So, Redis is optional, but recommended.

## Instance Setup

1. Place the downloaded plugin file in the plugins folder of your server.
2. Start the server.
3. **If this instance should host the Discord bot:** [Setup the bot module.](/discordbridge/modules/bot.md) **If you do not wish this instance to run the Discord bot, make sure to disable the module in `/DiscordBridge/Modules/bot.yml.`**
4. Make any changes you wish to `config.yml` (especially the section named `general`), configure the modules located in `/DiscordBridge/Modules`
   * [Chat](/discordbridge/modules/chat.md)
   * [Linking](/discordbridge/modules/linking.md)
   * [Lands](/discordbridge/modules/lands.md)
   * [Events](/discordbridge/modules/events.md)
   * [Tickets](/discordbridge/modules/tickets.md)
5. Restart the server. At initial setup and when enabling or disabling modules, a restart is required. Some other options require a restart as well. If so there is a note stating that at the option. Otherwise, executing `/discordbridge admin reload` is sufficient.
6. Optional: Set permissions in your permissions plugin: [Link](/discordbridge/permissions/permissions.md)


---

# 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://wiki.incredibleplugins.com/discordbridge/configuration/installation.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.
