Skip to main content

Configuration

Here is some information about the configuration of the bot.

Configuration file

The config.js file is located in the same folder as the app executable. This file contains all the configuration options for the app. You can find a list of all the configuration options below.

Configuration options

General

Here are the general configuration options. These options are located at the top of the configuration file.

OptionDescription
tokenThe token of the bot. You can find this token in the Discord Developer Portal.
licenseKeyThe license key of the bot. You can find your license keys by typing /license display in the support server.
guildIdThe ID of the discord server where the bot should be active. You can find this ID by enabling developer mode in Discord.
debugModeIf enabled the bot will log more information to the console.

databases

Here are the configuration options for the databases. These options are located in the databases object.

Utility Bot Database

This database is required for the bot to function, it stores all the data of the bot. Incorrect configuration of this database will result in errors on startup.

OptionDescription
hostThe host of the database.
userThe user of the database.
portThe port of the database.
passwordThe pass of the database.
databaseThe name of the database.

Servers

Here are the configuration options for the servers. These options are located in the servers object. This object contains an array of servers. Each server has its own configuration options.

OptionDescription
identifierThe identifier of the server. This identifier is used to identify the server in the configuration.
nameThe name of the server. This name is used in the messages.
server_ipThe IP of the server.
query_portThe query port of the server.
rcon_portThe RCON port of the server.
rcon_passwordThe RCON password of the server.
steam_cmd_folder_pathThe folder path of the steam cmd. this is only used for the server controller module.
install_folder_pathThe folder path of the server. this is only used for the server controller module.
note

If you have multiple servers you can copy the server object and change the information to match the other server and place it in the array.


Modules

This bot has a lot of modules that can be enabled or disabled. These modules are located in the modules object. Each module has its own configuration options.

Module nameDocumentation
Auctions ModuleLink
Changelogs ModuleLink
Controller ModuleLink
Embedder ModuleLink
Polls ModuleLink
Recruiting ModuleLink
Reporting ModuleLink
Requests ModuleLink
Responder ModuleLink
Selling ModuleLink
Suggestions ModuleLink
Welcomer ModuleLink
Wipe Countdown ModuleLink