Skip to content

Configuration

Jens edited this page Jan 26, 2022 · 3 revisions

Rename config.json.example to config.json.

  • Set logFile to the path you set earlier.

  • set prefix to a prefix of your choice. This is used for Discord commands.

  • set chatChannel with your Discord channel ID for the chat messages. (Help)

  • set consoleChannel to the channel ID if you want to have a seperate channel for executing factorio commands. This won't return a response. WARNING: COMMANDS EXECUTED MIGHT DISABLE ACHIEVEMENTS

  • set cleanMessages to true if you want to have clean messages in Factorio. WARNING: THIS WILL DISABLE ACHIEVEMENTS!

  • set deleteMessages to true if you want to delete every sent message in the selected Discord channel.

  • set sentMessages to true if you want every sent message in the selected Discord channel made fancy. Set deleteMessages to true for the best experience.

  • set logLines to true if you want to have every line in the log file to be logged to console, includes chat, warnings and joins/leaves WARNING: LOG SIZE WILL INCREASE BY A LOT AFTER A WHILE (GBs)

  • set RconIP to the RCON IP (should normally remain localhost, or 127.0.0.1, unless connecting to a remote Factorio server).

  • set RconPort to the RCON port.

  • set RconPassword to the RCON password which is set with the --rcon-password flag.

  • set token to the bot's token as mentioned when creating a new application.

Clone this wiki locally