Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.29 KB | None | 0 0
  1. # Don't touch pls
  2. ConfigVersion: 1.17.1
  3.  
  4. # Bot token; don't know what this is? Look at the video on the plugin page for instructions
  5. BotToken: "NDTm7G7SQ4SC7N8_c3uaEIhD-gVMnK49"
  6.  
  7. # Channel links from game to Discord
  8. # syntax is Channels: {"in-game channel name": "numerical channel ID from Discord", "another in-game channel name": "another numerical channel ID from Discord"}
  9. # The first channel pair specified in this config option will be the "main" channel, used for sending player joins/quits/deaths/achievements/etc
  10. #
  11. Channels: {"global": "000000000000000000"}
  12.  
  13. # Console channel numerical ID (NOT NAME), leave blank to disable the console channel all together
  14. DiscordConsoleChannelId: "000000000000000000"
  15.  
  16. # Debug options, don't touch unless needed
  17. #
  18. # DebugLevel: 0 = no debug, 1 = debug, 2 = debug with stack traces
  19. #
  20. DebugLevel: 0
  21. DebugJDA: false
  22. CancelConsoleCommandIfLoggingFailed: true
  23. RespectChatPlugins: true
  24. ForcedLanguage: none
  25. Experiment_JdbcAccountLinkBackend: "jdbc:mysql://HOST:PORT/DATABASE?useSSL=false"
  26. Experiment_JdbcTablePrefix: "discordsrv"
  27. Experiment_JdbcUsername: "username"
  28. Experiment_JdbcPassword: "password"
  29. Experiment_WebhookChatMessageDelivery: false
  30. Experiment_MCDiscordReserializer: false
  31. WebhookAvatarsAre3d: false
  32. PrintGuildsAndChannels: true
  33. ForceTLSv12: true
  34. SponsorPebbleHost: true
  35.  
  36. # Disabled plugin hooks
  37. # Generally, unless you have a reason to touch this, don't
  38. #
  39. DisabledPluginHooks: []
  40.  
  41. # Game information, this sets the "Playing ______" indicator for the bot, set to "" to disable
  42. DiscordGameStatus: "Minecraft"
  43.  
  44. # Chat channel information
  45. # The chat channel is the text channel that all messages in-game will be sent to and all messages sent
  46. # to this channel on Discord will be sent in-game
  47. #
  48. # DiscordChatChannelDiscordToMinecraft: whether or not to send messages in the chat channel to the server chat
  49. # DiscordChatChannelMinecraftToDiscord: whether or not to send messages in the server chat to the chat channel
  50. # DiscordChatChannelTruncateLength: the maximum length of messages from Discord to be sent to Minecraft
  51. # DiscordChatChannelTranslateMentions: whether or not to translate mentions like @Person for Minecraft to Discord messages
  52. # DiscordChatChannelPrefix: the character(s) required to prefix a message for it to be sent from Minecraft to Discord (example "!")
  53. # DiscordChatChannelRolesAllowedToUseColorCodesInChat: list of roles allowed to use color/format codes in Discord to Minecraft chat
  54. # DiscordChatChannelBroadcastDiscordMessagesToConsole: whether or not to print processed discord messages to the console
  55. # DiscordChatChannelRequireLinkedAccount: whether or not to require players have their Discord account linked to their Minecraft to have their Discord messages sent to Minecraft
  56. # DiscordChatChannelBlockBots: whether or not bots should be blocked from Discord -> MC chat
  57. # DiscordChatChannelBlockedIds: ids of discord users (or bots) that should not have their messages processed & sent to MC
  58. # DiscordChatChannelColorTranslations: hex representations of Discord roles to be matched with for showing role colors in-game with their in-game equivalent
  59. # DiscordChatChannelRolesSelectionAsWhitelist: if the following list should be treated as a whitelist (true) or a blacklist (false)
  60. # DiscordChatChannelRolesSelection: list of roles that are should be filtered from all of a user's roles
  61. #
  62. DiscordChatChannelDiscordToMinecraft: true
  63. DiscordChatChannelMinecraftToDiscord: true
  64. DiscordChatChannelTruncateLength: 256
  65. DiscordChatChannelTranslateMentions: true
  66. DiscordChatChannelPrefix: ""
  67. DiscordChatChannelRolesAllowedToUseColorCodesInChat: ["Developer", "Owner", "Admin", "Moderator"]
  68. DiscordChatChannelBroadcastDiscordMessagesToConsole: true
  69. DiscordChatChannelRequireLinkedAccount: false
  70. DiscordChatChannelBlockBots: false
  71. DiscordChatChannelBlockedIds: ["000000000000000000", "000000000000000000", "000000000000000000"]
  72. DiscordChatChannelColorTranslations: {
  73. "99AAB5": "&f",
  74. "1ABC9C": "&a",
  75. "2ECC71": "&a",
  76. "3498DB": "&3",
  77. "9B59B6": "&5",
  78. "E91E63": "&d",
  79. "F1C40F": "&e",
  80. "E67E22": "&6",
  81. "E74C3C": "&c",
  82. "95A5A6": "&7",
  83. "607D8B": "&8",
  84. "11806A": "&2",
  85. "1F8B4C": "&2",
  86. "206694": "&1",
  87. "71368A": "&5",
  88. "AD1457": "&d",
  89. "C27C0E": "&6",
  90. "A84300": "&6",
  91. "992D22": "&4",
  92. "979C9F": "&7",
  93. "546E7A": "&8"
  94. }
  95. DiscordChatChannelRolesSelectionAsWhitelist: false
  96. DiscordChatChannelRolesSelection: ["Don't show me!", "Misc role"]
  97.  
  98. # Console channel information
  99. # The console channel is the text channel that receives messages which are then run as server commands
  100. # by the console as well as having the server's console being streamed to line by line
  101. #
  102. # You can customize the message including removing timestamps in messages.yml
  103. #
  104. # DiscordConsoleChannelLogRefreshRateInSeconds: rate in seconds between sending lines from the console
  105. # DiscordConsoleChannelUsageLog: the file that logs all commands being executed by users in the console channel
  106. # DiscordConsoleChannelBlacklistActsAsWhitelist: whether or not the blacklisted commands list acts as a whitelist instead of blacklist
  107. # DiscordConsoleChannelBlacklistedCommands: phrases wrapped in quotation marks that users should not be able to send as commands to the console
  108. # DiscordConsoleChannelDoNotSendPhrasesActsAsWhitelist: whether or not the do not send phrases list acts as a whitelist instead of blacklist
  109. # DiscordConsoleChannelDoNotSendPhrases: phrases wrapped in quotation marks that should not be sent to the console channel
  110. # DiscordConsoleChannelRegexFilter: the regex filter to be applied to console lines being sent to Discord
  111. # DiscordConsoleChannelRegexReplacement: what the regex filter will replace with where matches are found
  112. # DiscordConsoleChannelLevels: levels to send to console channel via appender
  113. #
  114. DiscordConsoleChannelLogRefreshRateInSeconds: 5
  115. DiscordConsoleChannelUsageLog: "DiscordConsole.log"
  116. DiscordConsoleChannelBlacklistActsAsWhitelist: false
  117. DiscordConsoleChannelBlacklistedCommands: ["?", "op", "deop"]
  118. DiscordConsoleChannelDoNotSendPhrasesActsAsWhitelist: false
  119. DiscordConsoleChannelDoNotSendPhrases: ["async chat thread"]
  120. DiscordConsoleChannelRegexFilter: ""
  121. DiscordConsoleChannelRegexReplacement: ""
  122. DiscordConsoleChannelLevels: [info, warn, error]
  123.  
  124. # Chat channel command execute command
  125. # These options control the ability to say "!c kick Notch", or whatever the prefix is to run a command,
  126. # as the console, from a registered chat channel.
  127. #
  128. # DiscordChatChannelConsoleCommandEnabled: whether or not to allow console commands from a chat channel.
  129. # DiscordChatChannelConsoleCommandNotifyErrors: whether or not to send a user who tries to run a command without permission that they don't have permission
  130. # DiscordChatChannelConsoleCommandPrefix: prefix to use for console commands. e.g. "!c tps"
  131. # DiscordChatChannelConsoleCommandRolesAllowed: the user roles that are allowed to execute server commands from the chat channel
  132. # DiscordChatChannelConsoleCommandWhitelist: list of commands that are able to be ran with DiscordChatChannelConsoleCommandPrefix
  133. # DiscordChatChannelConsoleCommandWhitelistBypassRoles: list of roles that bypass the whitelist
  134. # DiscordChatChannelConsoleCommandWhitelistActsAsBlacklist: should the command whitelist act as a blacklist instead
  135. # DiscordChatChannelConsoleCommandExpiration: time in seconds until a sent command output is automatically removed by the bot. set to 0 to disable expiration.
  136. # DiscordChatChannelConsoleCommandExpirationDeleteRequest: whether or not to delete the message of the person that originally issued the command
  137. #
  138. DiscordChatChannelConsoleCommandEnabled: true
  139. DiscordChatChannelConsoleCommandNotifyErrors: true
  140. DiscordChatChannelConsoleCommandPrefix: "!c"
  141. DiscordChatChannelConsoleCommandRolesAllowed: ["Developer", "Owner"]
  142. DiscordChatChannelConsoleCommandWhitelist: ["say", "lag", "tps"]
  143. DiscordChatChannelConsoleCommandWhitelistBypassRoles: ["Owner", "Developer"]
  144. DiscordChatChannelConsoleCommandWhitelistActsAsBlacklist: false
  145. DiscordChatChannelConsoleCommandExpiration: 0
  146. DiscordChatChannelConsoleCommandExpirationDeleteRequest: true
  147.  
  148. # Chat channel player list command
  149. # All the config stuff for the player list command
  150. #
  151. # DiscordChatChannelListCommandEnabled: whether the command is enabled
  152. # DiscordChatChannelListCommandMessage: the command people can type to get the player list
  153. # DiscordChatChannelListCommandExpiration: time in seconds until a sent player list message is automatically removed by the bot. set to 0 to disable expiration.
  154. # DiscordChatChannelListCommandExpirationDeleteRequest: whether or not to delete the message of the person that originally requested for the player list
  155. #
  156. DiscordChatChannelListCommandEnabled: true
  157. DiscordChatChannelListCommandMessage: "playerlist"
  158. DiscordChatChannelListCommandExpiration: 10
  159. DiscordChatChannelListCommandExpirationDeleteRequest: true
  160.  
  161. # Chat channel blacklisted phrases & regex
  162. #
  163. # DiscordChatChannelBlockedPhrases: phrases which if a message is sent in the chat channel containing a phrase here, the message won't be processed
  164. # DiscordChatChannelCutPhrases: phrases which if said in the Minecraft chat will be removed from the message before sending it to the chat channel
  165. # DiscordChatChannelRegex: regex to filter the chat going to Minecraft by
  166. # DiscordChatChannelRegexReplacement: replacement for above option
  167. #
  168. DiscordChatChannelBlockedPhrases: ["Online players (", "**No online players**"]
  169. DiscordChatChannelCutPhrases: ["@everyone"]
  170. DiscordChatChannelRegex: ""
  171. DiscordChatChannelRegexReplacement: ""
  172.  
  173. # Channel topic updater settings
  174. #
  175. # ChannelTopicUpdaterChannelTopicsAtShutdownEnabled: whether or not the channel topics should be changed at server shutdown at all
  176. # ChannelTopicUpdaterRateInMinutes: amount of minutes between automatically updating the channel topics with fresh information
  177. #
  178. ChannelTopicUpdaterChannelTopicsAtShutdownEnabled: true
  179. ChannelTopicUpdaterRateInMinutes: 5
  180.  
  181. # Discord canned responses
  182. # These are triggers (commands in a way) that will trigger a "canned response" to be sent as a reply to them
  183. # You should probably change these from their defaults or add your own
  184. #
  185. # Syntax is {"TRIGGER": "RESPONSE", "TRIGGER": "RESPONSE", ...}
  186. # If you do not want any canned responses, set this to just {}
  187. # PlaceholderAPI placeholders are supported for the values
  188. #
  189. DiscordCannedResponses: {"!ip": "yourserveripchange.me", "!site": "http://yoursiteurl.net"}
  190.  
  191. # Minecraft to Discord account linking
  192. # These are the config options pertaining to how linking a Minecraft account to a Discord account functions
  193. #
  194. # MinecraftDiscordAccountLinkedConsoleCommands: commands to run when an account is linked, see below for possible placeholders
  195. # MinecraftDiscordAccountUnlinkedConsoleCommands: commands to run when an account is unlinked, see below for possible placeholders
  196. # %minecraftplayername%: player's Minecraft username
  197. # example: Notch
  198. # %minecraftuuid%: player's uuid
  199. # example: you know what a uuid looks like
  200. # %discordid%: linked discord account's id
  201. # example: 12345678901234567890
  202. # %discordname%: linked discord account's username
  203. # example: Notch
  204. #
  205. # MinecraftDiscordAccountLinkedRoleToAddUserTo: the name of a discord role to add a discord user to when they link their account
  206. # MinecraftDiscordAccountLinkedSetDiscordNicknameAsInGameName: whether or not to set the discord user's nickname to their in-game account name
  207. # MinecraftDiscordAccountLinkedAllowRelinkBySendingANewCode: allows sending a new code to the bot to unlink and relink with the new code
  208. #
  209. MinecraftDiscordAccountLinkedConsoleCommands: ["", "", ""]
  210. MinecraftDiscordAccountUnlinkedConsoleCommands: ["", "", ""]
  211. MinecraftDiscordAccountLinkedRoleNameToAddUserTo: "Linked"
  212. MinecraftDiscordAccountLinkedSetDiscordNicknameAsInGameName: false
  213. MinecraftDiscordAccountLinkedAllowRelinkBySendingANewCode: false
  214.  
  215. # Minecraft group -> Discord role synchronization
  216. #
  217. # GroupRoleSynchronizationRoleIdsToSync: these are Discord role IDs that you want to be synchronized from Minecraft to Discord
  218. # if a role ID is not here, the permission for it (discordsrv.sync.[role id]) is effectively useless
  219. # to get your Discord guild's role IDs, run "/discord debug" and look at the first section
  220. # GroupRoleSynchronizationCycleTime: amount of minutes between repeatedly triggering synchronization for all online players
  221. # GroupRoleSynchronizationRemoveRolesOnUnlink: whether or not to remove synced roles from a Discord user when unlinking accounts
  222. #
  223. GroupRoleSynchronizationRoleIdsToSync: ["000000000000000000", "000000000000000000", "000000000000000000"]
  224. GroupRoleSynchronizationCycleTime: 5
  225. GroupRoleSynchronizationRemoveRolesOnUnlink: true
  226.  
  227. # Server watchdog
  228. #
  229. # The watchdog constantly monitors the last time your server performed a game tick
  230. # If the time since the last tick goes above the set interval in seconds, Discord messages can be triggered
  231. #
  232. # ServerWatchdogEnabled: whether or not the watchdog is enabled at all
  233. # ServerWatchdogTimeout: time in seconds that need to elapse before the watchdog takes action (Spigot's crash detection uses 60 for this)
  234. # the minimum for this value is 10
  235. # ServerWatchdogMessageCount: the amount of times ServerWatchdogMessage is sent. useful if you *really* want to make sure you know something's up
  236. #
  237. ServerWatchdogEnabled: true
  238. ServerWatchdogTimeout: 30
  239. ServerWatchdogMessageCount: 3
  240.  
  241. # Ban synchronization
  242. # When a player gets banned on the server when they have a linked Discord account you can optionally ban them on the Discord server and vice versa
  243. #
  244. # BanSynchronizationDiscordToMinecraft: whether or not to ban people on the Minecraft server if they get banned from the Discord server
  245. # BanSynchronizationDiscordToMinecraftReason: the message to be used as the ban reason for banning players from the Minecraft server
  246. # BanSynchronizationMinecraftToDiscord: whether or not to ban people on the Discord server if they get banned from the Minecraft server
  247. #
  248. BanSynchronizationDiscordToMinecraft: false
  249. BanSynchronizationDiscordToMinecraftReason: "&cYou have been banned until further notice from the server because you were banned on our Discord server."
  250. BanSynchronizationMinecraftToDiscord: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement