Advertisement
jsoichiro

discordsrv

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