KrazziPro

DiscordSRV Config

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