Configuration/MCB-V0 Config
# config version
CONFIG_VERSION: 0.2.8
# token of the bot that's going to be used
bot_token: sample.bot_token
# User ID of the owner
owner_id: 123456789
# Set the prefix of your command
command_executor: "~!"
# Text channel ID of the guild you want to bind to Minecraft
chat_channel:
- 9876543212
- 9382382323
# ID's of people who has permissions to do MineCordBot commands
whitelist:
- 193970511615623168
# message prefix that will be seen in Discord
message_prefix_discord: Minecraft
# message prefix that will be seen in minecraft. This support conventional Bukkit Formatting. i.e &6, &e, etc.
message_prefix_minecraft: Discord
# toggle different events to be broadcasted on discord
broadcast:
death_event: true
join_event: true
leave_event: true
hide_user_with_incognito_perm: false
CONFIG_VERSION: <String Value>
- The current version of the config file.
- Do not change!
- Example: CONFIG_VERSION: 0.2.8.
bot_token: <String Value>
- Discord bot client id token. This can be obtained by going to discordapp.com > more > developers > my apps > (your bot) > token.
- Make sure that you have the right Bot token or else the plugin would not work..
- Example: bot_token: sample.bot_token.
owner_id: <String Value>
- Id of the owner of the bot or the owner of the server.
- to get IDs easily. Open discord, click on user settings (cog icon next to mute and deafen icon) > Appearance > Enable Developer mode. Now you can right click a User, Bot, Channels, etc. and copy their ID.
- Example: owner_id: 123456789.
command_executor: <String Value>
- Set of characters that will differentiate regular texts from a MineCordBot command.
- Will be used in front of every MineCordBot command.
- Command executor cannot be a forward slash "/"
- Example: command_executor: "~!".
chat_channel: <Array of Strings>
- List of text channels where MineCordBot will bind Minecraft with.
- Make sure to remove the default channels that are set.
- To add more textchannels you can either do the "textchannel add <textchannel id>" command from discord or manually add it on the config file (text channel ids should be in a new line and starting with "-" from the config file). Make sure not to use "TAB" when you create a new line for text channel id, instead use two spaces.
- Example:
chat_channel:
- 123456789
- 987654321
message_prefix_discord: <String Value>
- This is the prefix of messages that are coming from Minecraft and will be seen on Discord.
- To change prefix you can either use the discord command "prefix discord replace <new prefix>" or edit the value that are set in the config file.
- Example: message_prefix_discord: FromAwesomeServer
message_prefix_minecraft: <String Value>
- This is the prefix of message that are coming from Discord and will be seen on Minecraft.
- To change prefix you can either use the discord command "prefix minecraft replace <new prefix>" or edit the value that are set in the config file.
- This supports Formatting Codes. to learn more about Formatting Codes, click here.
- Example: message_prefix_minecraft: &6&lDrocsid
Broadcast
- Enable or disable Minecraft events to be broadcasted on Discord.
- death_event, join_event, and leave_event are pretty self explanatory.
- (death, join, leave)_event: <boolean Value>
- this section can only be true or false
- hide_user_with_incognito_perm, enables or disable the join and leave event for players that have the permissions "minecordbot.incognito.*"
- hide_user_with_incognito_perm: <boolean Value>
- this section can only be true or false
More Questions? Click here to see FAQs
