Configuration/MCB-V1 Config
Legend:
String = texts, enclosed by quotation mark("")
Array = lists. (Array of Strings is "list" of strings)
Boolean = true or false. (not enclosed by anything)
{
"localization": "en",
"message_prefix_discord": "{world} | {sender}",
"owner_id": "193970511615623168",
"broadcasts": {
"join_event": true,
"leave_event": true,
"hide_incognito_users": true,
"death_event": true
},
"trigger": ",",
"auto_delete_command_response": false,
"client_id": "212766387960152066",
"message_prefix_minecraft": "&a&l{guid}-{text channel} &r| &6&l{sender}",
"auto_update": false,
"permissions": {
"level_3": [
"12332131231231",
"193970511615623168"
],
"level_1": ["12332131231231"],
"level_2": ["12332131231231"]
},
"bot_token": "MjEyNzY2Mzg3OTYwMTUyMDY2.C4p3BA.daeJPDaAU6cgDwRSiOcbUnAk5uY",
"text_channels": [
"212411288091885568",
"3232323"
],
"command_text_channel": {
"help": [" "],
"mod": [
"289597207269736449",
"289597291940020225",
"2312321"
],
"fun": [" "],
"misc": [" "],
"info": [" "]
}
}
localization: <String Value>
- This will be the localization of the bot.
- Available localization: "en"(englis), "pl" (polish).
- Example: "localization": "en"
bot_token: <String Value>
- Discord bot 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"
client_id: <String Value>
- Discord bot client id. This can be obtained by going to discordapp.com > more > developers > my apps > (your bot) > client id.
- Make sure that you have the right Bot token or else the plugin would not work..
- Example: "client_id": "123456789"
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"
trigger: <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": ","
auto_delete_command_response: <Boolean Value>
- Toggle automatic deletion of bot's responses.
- Example: "auto_delete_command_response": true
auto_update: <Boolean Value>
- Toggle auto update of the plugin.
- Defaults to false, so if you want auto update. put true.
- Example: "auto_update": true
text_channels: <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. Also don't forget to enclose your text channels ids with an apostrophe(').
- Example:
"text_channels": ["231231", "23213213"]
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.
- placeholders: {sender}, {world} and {rank}
- rank place holder only supports PermissionsEx
- 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.
- placeholders: {sender}, {guild}, and {channel}
- 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
Comments