Advertisement
Diamond_Cat

DiscordSRV Config.yml

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