# Configuration

## Server Configuration

To use RoleplayBots interactive commands you must first configure your server. You can do this simply by running the command `/config server` inside your Discord server and filling out the options. Once you have typed the command you will be prompted to fill in 13 different options, 4 roles and 9 channels. This can seem overwhelming at first, but you can take a look at the list below to see exactly what you need to enter into the option box.

* `on_duty` - This is a role that people will be given once they are on patrol as either a police officer, firefighter or medic. We recommend you create a role called **On Duty** for this option. For RoleplayBot to access this role you must ensure that you place the @**On Duty** role below the **@RoleplayBot** role inside the role hierarchy menu.
* `law_enforcement` - This is a role that people require to access any law enforcement commands. We recommend you create a role called **Law Enforcement** or enter a role that all law enforcement units hold for this option.&#x20;
* `fire_department` - This is a role that people require to access any fire department and medical commands. We recommend you create a role called **Fire Department** or enter a role that all fire department units hold for this option.&#x20;
* `medical` - This is a role that people require to access any medical commands. We recommend you create a role called **Medical** or enter a role that all medical units hold for this option.&#x20;
* `emergency_calls` - This is a channel where all 9-1-1 and 3-1-1 calls will be sent. We recommend that you create a channel called **emergency\_calls** and allow all **On Duty** units to view the channel.
* `panic_alerts` - This is a channel where all panic and PASS alerts will be sent. We recommend that you create a channel called **panic\_alerts** and allow all **On Duty** units to view the channel.
* `jail_admissions` - This is a channel where all jail admissions will be sent. We recommend that you create a channel called **jail\_admissions** and allow all users to view the channel.
* `hospital_admissions` - This is a channel where all hospital admissions will be sent. We recommend that you create a channel called **hospital\_admissions** and allow all users to view the channel.
* `twitter_channel` - This is a channel where all tweets will be sent. We recommend that you create a channel called **twitter** and allow all civilians to view the channel. [What is Twitter (X)?](https://x.com)
* `tor_channel` - This is a channel where all anonymous TOR posts will be sent. We recommend that you create a channel called **tor** and allow all civilians to view the channel. [What is TOR?](https://www.torproject.org/)
* `police_logs` - This is a channel where all citations, fines, impounds and BOLOs will be sent. We recommend that you create a channel called **police\_logs** and allow all **Law Enforcement** units to view the channel.
* `civilian_logs` - This is a channel where all civilian character actions will be sent (Character created, deleted, edit, etc). We recommend that you create a channel called **civilian\_logs** and allow all staff members to view the channel.
* `economy_logs` - This is a channel where all economy actions will be sent (Money withdraw, deposited, paid, items bought, etc). We recommend that you create a channel called **economy\_logs** and allow all staff members to view the channel.

## Economy Configuration

To unlock access to RoleplayBot's economy module you must first configure its settings. This is done is a similar way to the server configuration, using the command `/config economy` and filling in some options.

* `starting_balance` - This is the amount of money everyone will receive when interacting with the economy for the first time.

## Disable & Enable Modules

To disable and restrict everyone from using certain modules you can run the `/disable module` command.

To re-enable a disabled module you can run the `/enable module` command.

## Deleting Configurations

If your having trouble with your configurations or simply want to delete/reset them you can use the provided **/delete\_config** command.


---

# 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://docs.roleplaybot.xyz/info/config.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.
