# Set language for this configuration file. Delete the rest of the file to update. Thanks to the translators: Morty#0273 (ru_ru), PixelVoxel#4327 (ko_kr), thearchy.helios (zh_cn)
# - Wiki (Configuration guide): https://github.com/DenisD3D/Mc2Discord/wiki
#
#
# FOLLOW THE CONFIGURATION GUIDE IN THE WIKI: https://github.com/DenisD3D/Mc2Discord/wiki
#
#
# Support is available through the Discord server
[General]
# Token for the Discord bot account, equivalent to a password obtainable through the Discord website (see: https://github.com/DenisD3D/Mc2Discord/wiki/Discord-token)
token=""
# Channels configuration
# One [[Channels.Channel]] block should be created per Discord channel you want to setup
[Channels]
[[Channels.Channel]]
# Id of the Discord channel to send messages in (see: https://github.com/DenisD3D/Mc2Discord/wiki/Discord-ids)
id=1239599547575963720
# List of messages types to send that will be sent in this channel. Available values: "info", "chat", "command", "logs"
subscriptions=["info","chat","command"]
# Messages format in this channel. Available values: WEBHOOK, PLAIN_TEXT, EMBED
mode="WEBHOOK"
# Messages content configuration
# Variables (${xxx}) are replaced by corresponding values (see complete list of variables: https://github.com/DenisD3D/Mc2Discord/wiki/Variables)
# "global" variables may be used in any field
[Messages]
# When server start
start="The server has started"
# When server stop
stop="The server has stopped"
# When a player join the server ("player" variables are available)
join="${player_display_name} joined the game"
# When a player join the server ("player" variables are available)
leave="${player_display_name} left the game"
# When a player die ("player" and "death" variables are available)
death="${death_message}"
# When a player unlock an advancement ("player" and "advancement" variables are available)
advancement="${player_display_name} has made the advancement ${advancement_title}. ${advancement_description}."
# Commands configuration
[Commands]
# Prefix before each command. Minecraft default one is '/' (eg : /help)
prefix="!"
# If true, commands result are sent in a code block (```result```)
use_codeblocks=true
# Commands permissions configuration.
# One [[Commands.Permission]] block should be created per Discord channel you want to setup
[[Commands.Permission]]
# Id of the Discord member or Discord role the permission apply to (0 <=> everyone)
id=0
# Minecraft permission level that will be allowed, all commands up to that level will be available (-1 <=> No commands, 0 <=> all non-op commands, 3 <=> all op commands)
permission_level=-1
# List of commands that will be allowed in addition of the permission level
# Format used for messages sent in minecraft chat. ("${reply}", "${attachements}", "member", "message", "global" and minecraft formatting variables are available)
# Replace ${reply} in minecraft_chat_format if the message has a referenced message. ("member" (author of the referenced message) and "global" variables are available).
reply_format="Replying to ${member_nickname}: "
# Format used for chat messages in PLAIN_TEXT mode ("player", "message" and "global" variables are available)
# Level for server logs on Discord (supported values: FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL)
logs_level="INFO"
# List of commands to broadcast to Discord. If absent message will only be sent to Minecraft (supported values: say, me, tellraw)
broadcast_commands=["say","me","tellraw"]
# If true, any message sent by another mod will be logged to the console (used only for configuration of [[Misc.OtherModMessage]], must be disabled after)
verbose_other_mods_messages=false
# Configuration for messages from others mods
# Values may be found on the wiki (https://github.com/DenisD3D/Mc2Discord/wiki/Other-Mods-Messages) or by enabling verbose_other_mods_messages
[[Misc.other_mods_messages]]
# Name of the Java class the message is comming from
class_name=""
# Index of the class in the stacktrace
class_index=0
# Type the message will be sent as, must be one found in a Channels.Channel configuration