Dutchy30

Untitled

Sep 19th, 2018
1,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. # Don't change this.
  2. config-version: 7
  3.  
  4.  
  5. # You will need to create a new application on
  6. # https://discordapp.com/developers/applications/me/create
  7. #
  8. # Give it a sensible name then click 'Create App'.
  9. # Scroll down and click 'Create a Bot User'.
  10. # Then reveal the bot token where it says 'Token: click to reveal'.
  11. # Finally paste this token here
  12. bot-token: ****
  13.  
  14. # Set this to the ID of the guild that the bot will be used
  15. # for and any in-game functionality will take effect here.
  16. # Get this by enabling Developer Mode in User Settings ->
  17. # Appearance and scrolling down to the advanced section. Once
  18. # enabled, right click on the guild, select 'Copy ID' and
  19. # paste it here.
  20. guild-id: ***
  21.  
  22. # This is whether you are using BungeeCord. Install the plugin
  23. # on a BungeeCord server as well if you are.
  24. bungee: true
  25.  
  26. # Logs messages of internal stuff. Don't enable unless
  27. # you need support.
  28. debug: true
  29.  
  30.  
  31. # This is the settings for MySQL, if you wish to use it for
  32. # data. If MySQL is disabled, YAML will be used by default.
  33. mysql:
  34.  
  35. # Whether or not to use MySQL for data.
  36. enabled: true
  37.  
  38. # The IP of the database.
  39. ip: 127.0.0.1
  40.  
  41. # The name of the database.
  42. database: mc_4
  43.  
  44. # The username for the database user.
  45. username: mc_4
  46.  
  47. # The password for the database user.
  48. password: ****
  49.  
  50.  
  51. # These are the in-game messages that can be configured.
  52. messages:
  53. invalid-usage: '&cInvalid command usage.'
  54. already-linked: '&cYou have already linked your account.'
  55. sent-message-to: 'Message sent to: {channel}'
  56. toggled-discord-chat: 'Discord chat has been toggled: {status}.'
  57. send-on-discord: '&7Code: &a{code}\n&7You need to confirm on Discord! Send the command &a?confirm {code} {username} &7within 10 minutes to confirm!'
  58.  
  59. # This is what is put before commands. For example,
  60. # when you do ?msg on a bot, the ? is the command
  61. # prefix.
  62. command-prefix: '!'
  63.  
  64. # This is what the bot account will be shown to be playing
  65. # in Discord.
  66. bot-game: DiscordMinecraft
  67.  
  68. # This is whether the above option is enabled.
  69. use-bot-game: true
  70.  
  71. # This is the message that will be sent if the user
  72. # does not have the correct permissions to execute the
  73. # command.
  74. no-permission-message: '**Error**: You do not have permission to execute this command.'
  75.  
  76. # Message when the condition [minArgs] is false.
  77. not-enough-args-message: '**Error**: Incorrect usage.'
  78.  
  79. # Message when the condition [maxArgs] is false.
  80. too-many-args-message: '**Error**: Incorrect usage.'
  81.  
  82. # Message when the condition [argsIsInt] or [argIsNumber] is false.
  83. invalid-args-message: '**Error**: Incorrect usage.'
  84.  
  85. # Message when the condition [isNameOfOnlinePlayer] is false.
  86. player-offline-message: '**Error**: Player not found.'
  87.  
  88. confirm-link-message: '{player} tried to link their Minecraft account to this Discord user account. Please type **?confirm** within **10 minutes**. If this wasn''t you, nothing will happen if you ignore this message.'
  89.  
  90. discord-say-message: '**From Minecraft ({player})**: {message}'
  91.  
  92. ################
  93. ### Commands ###
  94. ################
  95.  
  96. # You can simply add commands to the bot as seen below:
  97. # This example is fully annotated and shows an implementation
  98. # of all functionality. It is recommended to save a copy of
  99. # this for future reference, but if you lose it you can
  100. # find it on the resource page.
  101. #
  102. # In this particular example, we are making a command that
  103. # allows moderators to message online players from Discord.
  104. #
  105. # Create a command by simply creating a new config key named
  106. # "command-{name}" with {name} being the command that should
  107. # be executed, for example in ?msg, "msg" is the name.
  108. command-msg:
  109.  
  110. # Within this, create a key for role. Set this to the name
  111. # of the role, or "everyone" if anyone can use it.
  112. role: Moderator
  113.  
  114. # Here you can set the conditions required for the command
  115. # to successfully execute and call the actions (lower down).
  116. # A list of all conditions with detailed descriptions can
  117. # be found on the resource page.
  118. #
  119. # Please note that conditions are checked in order and will
  120. # stop being checked once one is false.
  121. conditions:
  122.  
  123. # Here, we are checking that the amount of arguments is at
  124. # least 2. This because we need to supply the name of the
  125. # user and at least one word for the message.
  126. - '[minArgs] 2'
  127.  
  128. # The player's name is the first argument, so we are checking
  129. # that the first argument matches the name of an online
  130. # player.
  131. - '[isNameOfOnlinePlayer] 1'
  132.  
  133. # Actions are what will occur if all of the conditions evaluate
  134. # as true. The format is similar to that of the conditions section:
  135. # giving the type of action, then any data that goes with it. As
  136. # with conditions, we work chronologically through the list of
  137. # actions.
  138. actions:
  139.  
  140. # This sends a message to player in the first argument, containing
  141. # the sender's Discord name and the rest of the arguments.
  142. - '[messagePlayer] {1}|&lDISCORD: &r{SENDER} >> &o{2+}'
  143.  
  144. # This responds to the command, notifying the sender that the
  145. # message has been sent to the player.
  146. - '[botMessage] :white_check_mark: Message has been delivered.'
  147.  
  148.  
  149. # If this is disabled, roles will not sync between Minecraft and Discord.
  150. enable-role-sync: true
  151.  
  152. # This is the command that will be executed when the player links their
  153. # account with Discord. Set to 'none' for no command to be executed. The
  154. # {PLAYER} variable is the name of the player who has linked their account.
  155. link-reward-command: 'msg {PLAYER} hello'
  156.  
  157. # Here you can add roles that sync between Discord and Minecraft (for users
  158. # have linked their accounts). The Discord role should be listed here. They
  159. # can then be synced by giving the rank in Minecraft the permission:
  160. #
  161. # discordminecraft.syncrank.{rank}
  162. # For the given example (Moderator) you would give the rank the permission
  163. # discordminecraft.syncrank.Moderator
  164. roles:
  165. - Moderator
  166.  
  167.  
  168.  
  169. # Here you can change options for the chat sync feature.
  170. chat-sync:
  171.  
  172. # Whether to enable chat sync.
  173. enabled: true
  174.  
  175. # ID of channel to be used, where messages are sent.
  176. # Get this by enabling Developer Mode in User Settings ->
  177. # Appearance and scrolling down to the advanced section. Once
  178. # enabled, right click on the channel, select 'Copy ID' and
  179. # paste it here.
  180. channel: ****
  181.  
  182. # How the messages will be formatted in-game and in Discord.
  183. # %s (sender name)
  184. # %m (message)
  185. chat-format: '&e&l%s &f>> &e%m'
  186. discord-chat-format: '**%s**: %m'
  187.  
  188. # Whether players will automatically be able to see chat
  189. # sync messages when they login. If this is disabled, they
  190. # will have to manually enable this every login typing /tdc.
  191. enable-on-join: true
  192.  
  193. # Settings for the /discord command. The intention of this command
  194. # is to direct players to the Discord server.
  195. discord-command:
  196.  
  197. # Set to true to enable this command.
  198. enabled: true
  199.  
  200. # An invite link to the Discord server.
  201. discord-link: ****
  202.  
  203. # The message to send when the command is activated. The {LINK}
  204. # variable is the instant invite link specified above.
  205. message: '&6Join our Discord at: &7&m{LINK}'
Advertisement
Add Comment
Please, Sign In to add comment