Advertisement
Guest User

Untitled

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