Skip to content

Discord Module Configuration

Info

JDA permissions can be found here.

botToken: YOUR TOKEN HERE

HELP: The token of the bot that will be used for the Discord module.

mainGuild: Guild ID

HELP: The ID of the main guild where the bot will be used.


botSettings:
  onlineStatus: online
  activity: none
  activityMessage: Minecraft
onlineStatus: online

HELP: The status of the bot.

VALUES: online, idle, dnd, invisible

activity: none

HELP: The activity of the bot.

VALUES: none, playing, listening, watching, competing, custom

activityMessage: Minecraft

HELP: The message of the activity of the bot.

VALUES: Any string


Info

embedSettings is currently not used in the plugin.

embedSettings:
  author: YVtils SMP
  authorIconURL: URL
author: YVtils SMP

HELP: The author of the embeds.

VALUES: Any string

authorIconURL: URL

HELP: The icon of the author of the embeds.

VALUES: Any image URL


whitelistFeature:
  channel: CHANNEL ID
  role: ROLE ID 1, ROLE ID 2, ROLE ID ...
channel: CHANNEL ID

HELP: The ID of the channel where the whitelist feature will be used.

role: ROLE ID 1, ROLE ID 2, ROLE ID ...

HELP: The ID of the roles that an user will gain when they are whitelisted.


serverInfoCommand:
  permission: PERMISSION
permission: PERMISSION

HELP: The permission that is required to use the command.

VALUES: Any JDA permission


whitelistCommand:
  permission: PERMISSION
permission: PERMISSION

HELP: The permission that is required to use the command.

VALUES: Any JDA permission


chatSync:
  enabled: true
  permission: PERMISSION
  channel: CHANNEL ID
enabled: true

HELP: Enable or disable the chat sync.

VALUES: true or false

permission: PERMISSION

HELP: The permission that is required to get messages synced to minecraft.

VALUES: Any JDA permission

channel: CHANNEL ID

HELP: The ID of the channel where the chat sync will be used.


consoleSync:
  enabled: true
  channel: CHANNEL ID
enabled: true

HELP: Enable or disable the console sync.

VALUES: true or false

channel: CHANNEL ID

HELP: The ID of the channel where the console sync will be used.


serverStats:
  enabled: true
  mode: both
  channel: CHANNEL ID
  layout:
    serverStatus:
      text: <emoji> | SERVER <status>
      emoji:
        online: 💚
        offline: ❤️
    serverVersion: 💻 | VERSION <version>
    lastPlayerCount: 🎮 | PLAYERS <count>
    lastRefreshed: ⌚ | <time>
enabled: true

HELP: Enable or disable the server stats.

VALUES: true or false

mode: both

HELP: The mode of the server stats.

VALUES: both, channels, description - both: Sends the stats in the channel and the description. - channels: Creates non joinable voice channels for the stats. - description: Sends the stats in the description of given channel.

channel: CHANNEL ID

HELP: The ID of the channel where the server stats will be used.

layout:
  serverStatus:
    text: <emoji> | SERVER <status>
    emoji:
      online: 💚
      offline: ❤️
  serverVersion: 💻 | VERSION <version>
  lastPlayerCount: 🎮 | PLAYERS <count>
  lastRefreshed: ⌚ | <time>

HELP: The layout of the server stats.


logChannel: CHANNEL ID

HELP: The ID of the channel where the logs will be sent.