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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DiscordSRV Configuration
|
| 2 |
+
# Need help? Join our Discord, https://discordsrv.com/discord
|
| 3 |
+
|
| 4 |
+
# Don't touch pls
|
| 5 |
+
ConfigVersion: 1.30.1
|
| 6 |
+
|
| 7 |
+
# Bot token; don't know what this is? Look at the video on the plugin page for instructions
|
| 8 |
+
# You must restart your server after changing this option
|
| 9 |
+
BotToken: "YOUR_DISCORD_BOT_TOKEN"
|
| 10 |
+
|
| 11 |
+
# Channel links from game to Discord
|
| 12 |
+
# syntax is Channels: {"in-game channel name from Minecraft": "numerical channel ID from Discord", "another in-game channel name from Minecraft": "another numerical channel ID from Discord"}
|
| 13 |
+
#
|
| 14 |
+
# All of DiscordSRV's messages will go to the first channel unless there's a channel for that type of messages defined:
|
| 15 |
+
# when using a compatible chat plugin, the channel name will be the one from that plugin (for chat messages)
|
| 16 |
+
# - If you're using TownyChat, the default channel is usually called "general" instead of "global"
|
| 17 |
+
# for player chat messages (when not using a chat plugin): global
|
| 18 |
+
# for server start/stop messages: status
|
| 19 |
+
# for achievement/advancement messages: awards
|
| 20 |
+
# for death messages: deaths
|
| 21 |
+
# for join messages: join
|
| 22 |
+
# for leave messages: leave
|
| 23 |
+
# for dynmap messages: dynmap
|
| 24 |
+
# for watchdog messages: watchdog
|
| 25 |
+
# for /discord broadcast: broadcasts (unless specified in the command)
|
| 26 |
+
# for account linking: link
|
| 27 |
+
#
|
| 28 |
+
# The first part of channel pairs is not the Discord channel name!
|
| 29 |
+
# Run "/discord reload" after changing this option to apply
|
| 30 |
+
Channels: {"global": "CHANNEL_ID"}
|
| 31 |
+
|
| 32 |
+
# Console channel numerical ID (NOT NAME), leave blank to disable the console channel all together
|
| 33 |
+
DiscordConsoleChannelId: "CHANNEL_ID"
|
| 34 |
+
|
| 35 |
+
# Invitation link shown to players when using /discord and on the message shown to unlinked players when linking is enforced
|
| 36 |
+
DiscordInviteLink: "DISCORD_INVITE_LINK"
|
| 37 |
+
|
| 38 |
+
# Experiments
|
| 39 |
+
# These features are not fully optimized; use at your own risk
|
| 40 |
+
|
| 41 |
+
# JDBC (MySQL/MariaDB)
|
| 42 |
+
Experiment_JdbcAccountLinkBackend: "jdbc:mysql://HOST:PORT/DATABASE?autoReconnect=true&useSSL=false"
|
| 43 |
+
Experiment_JdbcTablePrefix: "discordsrv"
|
| 44 |
+
Experiment_JdbcUsername: "username"
|
| 45 |
+
Experiment_JdbcPassword: "password"
|
| 46 |
+
|
| 47 |
+
# Webhook Delivery
|
| 48 |
+
Experiment_WebhookChatMessageDelivery: false
|
| 49 |
+
Experiment_WebhookChatMessageUsernameFormat: "%displayname%"
|
| 50 |
+
Experiment_WebhookChatMessageFormat: "%message%"
|
| 51 |
+
Experiment_WebhookChatMessageUsernameFromDiscord: false
|
| 52 |
+
Experiment_WebhookChatMessageAvatarFromDiscord: false
|
| 53 |
+
Experiment_WebhookChatMessageUsernameFilters: {}
|
| 54 |
+
|
| 55 |
+
# Embed & webhook image/avatar url format
|
| 56 |
+
# Leave blank to use a default value
|
| 57 |
+
# Available placeholders: {texture} {username} {uuid} {uuid-nodashes} {size}
|
| 58 |
+
AvatarUrl: ""
|
| 59 |
+
|
| 60 |
+
# Reserializer
|
| 61 |
+
# Converts formatting (bold, italics, underline, strikethrough) between Minecraft and Discord
|
| 62 |
+
Experiment_MCDiscordReserializer_ToDiscord: false
|
| 63 |
+
Experiment_MCDiscordReserializer_ToMinecraft: false
|
| 64 |
+
Experiment_MCDiscordReserializer_InBroadcast: false
|
| 65 |
+
|
| 66 |
+
# Other
|
| 67 |
+
CancelConsoleCommandIfLoggingFailed: true
|
| 68 |
+
ForcedLanguage: none
|
| 69 |
+
ForceTLSv12: true
|
| 70 |
+
NoopHostnameVerifier: false
|
| 71 |
+
MaximumAttemptsForSystemDNSBeforeUsingFallbackDNS: 3
|
| 72 |
+
TimestampFormat: EEE, d. MMM yyyy HH:mm:ss z
|
| 73 |
+
DateFormat: yyyy-MM-dd
|
| 74 |
+
# https://docs.discordsrv.com/config/#Timezone
|
| 75 |
+
Timezone: default
|
| 76 |
+
# MinecraftMentionSound: Whether a sound should be sent to the player in Minecraft when they are mentioned from Discord
|
| 77 |
+
MinecraftMentionSound: true
|
| 78 |
+
|
| 79 |
+
# Plugin hooks
|
| 80 |
+
# You must restart your server after changing these options
|
| 81 |
+
#
|
| 82 |
+
# DisabledPluginHooks: plugin hooks that will not be used (usually just the name of the plugin).
|
| 83 |
+
# VentureChatBungee: enables the VentureChat hook's BungeeCord functionality (messages are received from every server, requires atleast 1 player to be online)
|
| 84 |
+
# EnablePresenceInformation: enabled presence information, which is required for some of our PlaceholderAPI placeholders. Keep in mind this requires the "Presence Intent" from the Discord developer portal
|
| 85 |
+
# UseModernPaperChatEvent: only use this if you have a chat plugins that SPECIFICALLY utilizes Paper's "AsyncChatEvent"
|
| 86 |
+
DisabledPluginHooks: []
|
| 87 |
+
VentureChatBungee: false
|
| 88 |
+
EnablePresenceInformation: false
|
| 89 |
+
UseModernPaperChatEvent: false
|
| 90 |
+
|
| 91 |
+
# Game Information
|
| 92 |
+
# Sets the user status for the bot
|
| 93 |
+
# Can be a single, static value, or cycle through multiple different options
|
| 94 |
+
# You can preface the status with "playing", "watching", "listening to", or "competing" to set the activity type
|
| 95 |
+
# You can set your own custom status by not including the prefixes
|
| 96 |
+
# %online%: number of online players
|
| 97 |
+
# PlaceholderAPI placeholders are supported
|
| 98 |
+
#
|
| 99 |
+
# DiscordGameStatus: Text to display. Can be a single value e.g. "Minecraft", or multiple values e.g. ["Minecraft", "yourip.changeme.com"]
|
| 100 |
+
# DiscordOnlineStatus: Activity status to display. This must be one of the following: ONLINE, DND, IDLE or INVISIBLE
|
| 101 |
+
# StatusUpdateRateInMinutes: How frequently to cycle the status
|
| 102 |
+
DiscordGameStatus: ["playing Minecraft"]
|
| 103 |
+
DiscordOnlineStatus: ONLINE
|
| 104 |
+
StatusUpdateRateInMinutes: 2
|
| 105 |
+
|
| 106 |
+
# Chat channel information
|
| 107 |
+
# The chat channel is the text channel that all messages in-game will be sent to and all messages sent
|
| 108 |
+
# to this channel on Discord will be sent in-game
|
| 109 |
+
#
|
| 110 |
+
# DiscordChatChannelDiscordToMinecraft: whether to send messages in the chat channel to the server chat
|
| 111 |
+
# DiscordChatChannelMinecraftToDiscord: whether to send messages in the server chat to the chat channel
|
| 112 |
+
# DiscordChatChannelTruncateLength: the maximum length of messages from Discord to be sent to Minecraft
|
| 113 |
+
# DiscordChatChannelTranslateMentions: whether to translate mentions like @Person for Minecraft to Discord messages
|
| 114 |
+
# DiscordChatChannelAllowedMentions: types of mentions allowed in Minecraft to Discord messages; types missing from the default value are "role", "here", & "everyone"
|
| 115 |
+
# DiscordChatChannelEmojiBehavior: how emojis should be sent to Minecraft. Can be "show", "name" or "hide"
|
| 116 |
+
# DiscordChatChannelEmoteBehavior: how emotes should be sent to Minecraft. Can be "name" or "hide"
|
| 117 |
+
# DiscordChatChannelPrefixRequiredToProcessMessage: the character(s) required to prefix a message for it to be sent from Minecraft to Discord (example "!")
|
| 118 |
+
# DiscordChatChannelPrefixActsAsBlacklist: Whether the prefix should act as a blacklist
|
| 119 |
+
# DiscordChatChannelRolesAllowedToUseColorCodesInChat: list of roles allowed to use color/format codes in Discord to Minecraft chat
|
| 120 |
+
# DiscordChatChannelBroadcastDiscordMessagesToConsole: whether to print processed discord messages to the console
|
| 121 |
+
# DiscordChatChannelRequireLinkedAccount: whether to require players have their Discord account linked to their Minecraft to have their Discord messages sent to Minecraft
|
| 122 |
+
# DiscordChatChannelBlockBots: whether bots should be blocked from Discord -> MC chat
|
| 123 |
+
# DiscordChatChannelBlockWebhooks: whether webhooks should be blocked from Discord -> MC chat
|
| 124 |
+
# DiscordChatChannelBlockedIds: ids of discord users (or bots) that should not have their messages processed & sent to MC
|
| 125 |
+
# DiscordChatChannelBlockedRolesAsWhitelist: if the following list should be treated as a whitelist (true) or a blacklist (false)
|
| 126 |
+
# DiscordChatChannelBlockedRolesIds: ids of discord roles that should not have their messages processed & sent to MC
|
| 127 |
+
# DiscordChatChannelRolesSelectionAsWhitelist: if the following list should be treated as a whitelist (true) or a blacklist (false)
|
| 128 |
+
# DiscordChatChannelRolesSelection: list of roles that should be filtered from all of a user's roles
|
| 129 |
+
# DiscordChatChannelRoleAliases: list of role aliases (alternate names for roles to use in Minecraft messages)
|
| 130 |
+
#
|
| 131 |
+
DiscordChatChannelDiscordToMinecraft: true
|
| 132 |
+
DiscordChatChannelMinecraftToDiscord: true
|
| 133 |
+
DiscordChatChannelTruncateLength: 256
|
| 134 |
+
DiscordChatChannelTranslateMentions: true
|
| 135 |
+
DiscordChatChannelAllowedMentions: [user, channel, emote]
|
| 136 |
+
DiscordChatChannelEmojiBehavior: "name"
|
| 137 |
+
DiscordChatChannelEmoteBehavior: "name"
|
| 138 |
+
DiscordChatChannelPrefixRequiredToProcessMessage: ""
|
| 139 |
+
DiscordChatChannelPrefixActsAsBlacklist: false
|
| 140 |
+
DiscordChatChannelRolesAllowedToUseColorCodesInChat: ["Developer", "Owner", "Admin", "Moderator"]
|
| 141 |
+
DiscordChatChannelBroadcastDiscordMessagesToConsole: true
|
| 142 |
+
DiscordChatChannelRequireLinkedAccount: false
|
| 143 |
+
DiscordChatChannelBlockBots: false
|
| 144 |
+
DiscordChatChannelBlockWebhooks: true
|
| 145 |
+
DiscordChatChannelBlockedIds: ["000000000000000000", "000000000000000000", "000000000000000000"]
|
| 146 |
+
DiscordChatChannelBlockedRolesAsWhitelist: false
|
| 147 |
+
DiscordChatChannelBlockedRolesIds: ["000000000000000000", "000000000000000000", "000000000000000000"]
|
| 148 |
+
DiscordChatChannelRolesSelectionAsWhitelist: false
|
| 149 |
+
DiscordChatChannelRolesSelection: ["Don't show me!", "Misc role"]
|
| 150 |
+
DiscordChatChannelRoleAliases: {"Developer": "Dev"}
|
| 151 |
+
|
| 152 |
+
# Console channel information
|
| 153 |
+
# The console channel is the text channel that receives messages which are then run as server commands
|
| 154 |
+
# by the console as well as having the server's console being streamed to line by line
|
| 155 |
+
#
|
| 156 |
+
# You can customize the message including removing timestamps in messages.yml
|
| 157 |
+
#
|
| 158 |
+
# DiscordConsoleChannelLogRefreshRateInSeconds: rate in seconds between sending lines from the console
|
| 159 |
+
# DiscordConsoleChannelUsageLog:
|
| 160 |
+
# %date%: current date
|
| 161 |
+
# example: 2017-01-01
|
| 162 |
+
# PlaceholderAPI placeholders are supported
|
| 163 |
+
# DiscordConsoleChannelBlacklistActsAsWhitelist: whether the blacklisted commands list acts as a whitelist instead of blacklist
|
| 164 |
+
# DiscordConsoleChannelBlacklistedCommands: phrases wrapped in quotation marks that users should not be able to send as commands to the console
|
| 165 |
+
# DiscordConsoleChannelFilters: regex filters to be applied to console lines being sent to Discord, if the result is empty the message won't be sent at all
|
| 166 |
+
# DiscordConsoleChannelLevels: levels to send to console channel via appender
|
| 167 |
+
# DiscordConsoleChannelUseCodeBlocks: if the console should be wrapped in code blocks and colored
|
| 168 |
+
# DiscordConsoleChannelBlockBots: whether bots should be allowed to send commands in the console channel
|
| 169 |
+
#
|
| 170 |
+
DiscordConsoleChannelLogRefreshRateInSeconds: 5
|
| 171 |
+
DiscordConsoleChannelUsageLog: "Console-%date%.log"
|
| 172 |
+
DiscordConsoleChannelBlacklistActsAsWhitelist: false
|
| 173 |
+
DiscordConsoleChannelBlacklistedCommands: ["?", "op", "deop", "execute"]
|
| 174 |
+
DiscordConsoleChannelFilters: {".*(?i)async chat thread.*": "", ".*There are \\d+ (?:of a max of|out of maximum) \\d+ players online.*": ""}
|
| 175 |
+
DiscordConsoleChannelLevels: [info, warn, error]
|
| 176 |
+
DiscordConsoleChannelUseCodeBlocks: true
|
| 177 |
+
DiscordConsoleChannelBlockBots: true
|
| 178 |
+
|
| 179 |
+
# Chat channel command execute command
|
| 180 |
+
# These options control the ability to say "!c kick Notch", or whatever the prefix is to run a command,
|
| 181 |
+
# as the console, from a registered chat channel.
|
| 182 |
+
#
|
| 183 |
+
# DiscordChatChannelConsoleCommandEnabled: whether to allow console commands from a chat channel.
|
| 184 |
+
# DiscordChatChannelConsoleCommandNotifyErrors: whether to send a user who tries to run a command without permission that they don't have permission
|
| 185 |
+
# DiscordChatChannelConsoleCommandPrefix: prefix to use for console commands. e.g. "!c tps"
|
| 186 |
+
# DiscordChatChannelConsoleCommandRolesAllowed: the user roles that are allowed to execute server commands from the chat channel
|
| 187 |
+
# DiscordChatChannelConsoleCommandWhitelist: list of commands that are able to be ran with DiscordChatChannelConsoleCommandPrefix
|
| 188 |
+
# DiscordChatChannelConsoleCommandWhitelistBypassRoles: list of roles that bypass the whitelist
|
| 189 |
+
# DiscordChatChannelConsoleCommandWhitelistActsAsBlacklist: should the command whitelist act as a blacklist instead
|
| 190 |
+
# DiscordChatChannelConsoleCommandExpiration: time in seconds until a sent command output is automatically removed by the bot. set to 0 to disable expiration.
|
| 191 |
+
# DiscordChatChannelConsoleCommandExpirationDeleteRequest: whether to delete the message of the person that originally issued the command
|
| 192 |
+
#
|
| 193 |
+
DiscordChatChannelConsoleCommandEnabled: true
|
| 194 |
+
DiscordChatChannelConsoleCommandNotifyErrors: true
|
| 195 |
+
DiscordChatChannelConsoleCommandPrefix: "!c"
|
| 196 |
+
DiscordChatChannelConsoleCommandRolesAllowed: ["Owner", "Developer"]
|
| 197 |
+
DiscordChatChannelConsoleCommandWhitelist: ["say", "lag", "tps"]
|
| 198 |
+
DiscordChatChannelConsoleCommandWhitelistBypassRoles: ["Owner", "Developer"]
|
| 199 |
+
DiscordChatChannelConsoleCommandWhitelistActsAsBlacklist: false
|
| 200 |
+
DiscordChatChannelConsoleCommandExpiration: 0
|
| 201 |
+
DiscordChatChannelConsoleCommandExpirationDeleteRequest: true
|
| 202 |
+
|
| 203 |
+
# Chat channel player list command
|
| 204 |
+
# All the config stuff for the player list command
|
| 205 |
+
#
|
| 206 |
+
# DiscordChatChannelListCommandEnabled: whether the command is enabled
|
| 207 |
+
# DiscordChatChannelListCommandMessage: the command people can type to get the player list
|
| 208 |
+
# DiscordChatChannelListCommandExpiration: time in seconds until a sent player list message is automatically removed by the bot. set to 0 to disable expiration.
|
| 209 |
+
# DiscordChatChannelListCommandExpirationDeleteRequest: whether to delete the message of the person that originally requested for the player list
|
| 210 |
+
#
|
| 211 |
+
DiscordChatChannelListCommandEnabled: true
|
| 212 |
+
DiscordChatChannelListCommandMessage: "playerlist"
|
| 213 |
+
DiscordChatChannelListCommandExpiration: 10
|
| 214 |
+
DiscordChatChannelListCommandExpirationDeleteRequest: true
|
| 215 |
+
|
| 216 |
+
# Chat channel blacklisted phrases & regex
|
| 217 |
+
#
|
| 218 |
+
# DiscordChatChannelGameFilters: regex filters to be applied to chat messages being sent to Discord, if the result is empty the message won't be sent at all
|
| 219 |
+
# DiscordChatChannelDiscordFilters: regex filters to be applied to chat messages being sent to Minecraft, if the result is empty the message won't be sent at all
|
| 220 |
+
#
|
| 221 |
+
DiscordChatChannelGameFilters: {}
|
| 222 |
+
DiscordChatChannelDiscordFilters: {".*Online players \\(.*": "", ".*\\*\\*No online players\\*\\*.*": ""}
|
| 223 |
+
|
| 224 |
+
# Channel topic updater settings
|
| 225 |
+
#
|
| 226 |
+
# ChannelTopicUpdaterChannelTopicsAtShutdownEnabled: whether the channel topics should be changed at server shutdown at all
|
| 227 |
+
# ChannelTopicUpdaterRateInMinutes: amount of minutes between automatically updating the channel topics with fresh information
|
| 228 |
+
#
|
| 229 |
+
ChannelTopicUpdaterChannelTopicsAtShutdownEnabled: true
|
| 230 |
+
ChannelTopicUpdaterRateInMinutes: 10
|
| 231 |
+
|
| 232 |
+
# Channel Updater
|
| 233 |
+
# This feature changes the name of specified channels to comply with in-game placeholders
|
| 234 |
+
# Options:
|
| 235 |
+
# ChannelId: The ID of the channel to change (required)
|
| 236 |
+
# Format: The format for the channel (required). Available placeholders:
|
| 237 |
+
# %playercount%: current player count
|
| 238 |
+
# %playermax%: maximum player count
|
| 239 |
+
# %date%: current date and time
|
| 240 |
+
# %totalplayers%: total number of players to ever join the main world
|
| 241 |
+
# %uptimemins%: number of minutes since DiscordSRV has started
|
| 242 |
+
# %uptimehours%: number of hours since DiscordSRV has started
|
| 243 |
+
# %motd%: motd of the server
|
| 244 |
+
# %serverversion%: server version such as Spigot-1.9
|
| 245 |
+
# %freememory%: free memory of the JVM in MB
|
| 246 |
+
# %usedmemory%: used memory of the JVM in MB
|
| 247 |
+
# %totalmemory%: total memory of the JVM in MB
|
| 248 |
+
# %maxmemory%: max memory of the JVM in MB
|
| 249 |
+
# %freememorygb%: free memory of the JVM in GB
|
| 250 |
+
# %usedmemorygb%: used memory of the JVM in GB
|
| 251 |
+
# %totalmemorygb%: total memory of the JVM in GB
|
| 252 |
+
# %maxmemorygb%: max memory of the JVM in GB
|
| 253 |
+
# %tps%: average TPS of the server
|
| 254 |
+
# PlaceholderAPI placeholders are also supported
|
| 255 |
+
# ShutdownFormat: The format the channel should take when the server has shut down. Available placeholders:
|
| 256 |
+
# %time% or %date%: current date and time
|
| 257 |
+
# %serverversion%: server version
|
| 258 |
+
# %totalplayers%: total number of players to ever join the main world
|
| 259 |
+
# %timestamp%: current unix timestamp
|
| 260 |
+
# UpdateInterval: Time in minutes to wait between updating the channel's name (minimum is 10 due to rate limits)
|
| 261 |
+
ChannelUpdater:
|
| 262 |
+
- ChannelId: "1417752558344081429"
|
| 263 |
+
Format: "👥 %playercount%/%playermax% | RAM: %usedmemorygb%/%totalmemorygb%GB"
|
| 264 |
+
ShutdownFormat: "Server is offline"
|
| 265 |
+
UpdateInterval: 10
|
| 266 |
+
- ChannelId: "1417752758202667018"
|
| 267 |
+
Format: "⏳ Uptime: %uptimehours%hrs"
|
| 268 |
+
ShutdownFormat: "Server is offline"
|
| 269 |
+
UpdateInterval: 60
|
| 270 |
+
- ChannelId: "1417752684135583815"
|
| 271 |
+
Format: "🔖 Version: %serverversion%"
|
| 272 |
+
ShutdownFormat: "Server is offline"
|
| 273 |
+
UpdateInterval: 2880
|
| 274 |
+
|
| 275 |
+
# Discord canned responses
|
| 276 |
+
# These are triggers (commands in a way) that will trigger a "canned response" to be sent as a reply to them
|
| 277 |
+
# You should probably change these from their defaults or add your own
|
| 278 |
+
#
|
| 279 |
+
# Syntax is {"TRIGGER": "RESPONSE", "TRIGGER": "RESPONSE", ...}
|
| 280 |
+
# If you do not want any canned responses, set this to just {}
|
| 281 |
+
# PlaceholderAPI placeholders are supported for the values
|
| 282 |
+
#
|
| 283 |
+
DiscordCannedResponses: {"!ip": "mc.2fps.rf.gd", "!site": "http://2fps.rf.gd"}
|
| 284 |
+
|
| 285 |
+
# Minecraft to Discord account linking
|
| 286 |
+
# These are the options pertaining to how linking a Minecraft account to a Discord account functions
|
| 287 |
+
#
|
| 288 |
+
# MinecraftDiscordAccountLinkedConsoleCommands: commands to run when an account is linked, see below for possible placeholders
|
| 289 |
+
# MinecraftDiscordAccountUnlinkedConsoleCommands: commands to run when an account is unlinked, see below for possible placeholders
|
| 290 |
+
# %minecraftplayername%: player's Minecraft username
|
| 291 |
+
# example: Notch
|
| 292 |
+
# %minecraftuuid%: player's uuid
|
| 293 |
+
# example: you know what a uuid looks like
|
| 294 |
+
# %discordid%: linked discord account's id
|
| 295 |
+
# example: 12345678901234567890
|
| 296 |
+
# %discordname%: linked discord account's username
|
| 297 |
+
# example: Notch
|
| 298 |
+
#
|
| 299 |
+
# MinecraftDiscordAccountLinkedRoleNameToAddUserTo: the name or id of a discord role to add a discord user to when they link their account
|
| 300 |
+
# MinecraftDiscordAccountLinkedAllowRelinkBySendingANewCode: allows sending a new code to the bot to unlink and relink with the new code
|
| 301 |
+
# MinecraftDiscordAccountLinkedUsePM: link accounts using PMs
|
| 302 |
+
# MinecraftDiscordAccountLinkedMessageDeleteSeconds: Time (in seconds) before deleting the message when linked in a text channel. Set to 0 if you do not want to delete the message.
|
| 303 |
+
#
|
| 304 |
+
MinecraftDiscordAccountLinkedConsoleCommands: ["", "", ""]
|
| 305 |
+
MinecraftDiscordAccountUnlinkedConsoleCommands: ["", "", ""]
|
| 306 |
+
MinecraftDiscordAccountLinkedRoleNameToAddUserTo: "Linked"
|
| 307 |
+
MinecraftDiscordAccountLinkedAllowRelinkBySendingANewCode: false
|
| 308 |
+
MinecraftDiscordAccountLinkedUsePM: true
|
| 309 |
+
MinecraftDiscordAccountLinkedMessageDeleteSeconds: 0
|
| 310 |
+
|
| 311 |
+
# Server watchdog
|
| 312 |
+
#
|
| 313 |
+
# The watchdog constantly monitors the last time your server performed a game tick
|
| 314 |
+
# If the time since the last tick goes above the set interval in seconds, Discord messages can be triggered
|
| 315 |
+
#
|
| 316 |
+
# ServerWatchdogEnabled: whether the watchdog is enabled at all
|
| 317 |
+
# ServerWatchdogTimeout: time in seconds that need to elapse before the watchdog takes action (Spigot's crash detection uses 60 for this)
|
| 318 |
+
# the minimum for this value is 10
|
| 319 |
+
# ServerWatchdogMessageCount: the amount of times ServerWatchdogMessage is sent. useful if you *really* want to make sure you know something's up
|
| 320 |
+
#
|
| 321 |
+
ServerWatchdogEnabled: true
|
| 322 |
+
ServerWatchdogTimeout: 30
|
| 323 |
+
ServerWatchdogMessageCount: 3
|
| 324 |
+
|
| 325 |
+
# HTTP proxy used for connecting to the Discord API
|
| 326 |
+
# Leave this alone if you don't understand what it does
|
| 327 |
+
ProxyHost: "example.com"
|
| 328 |
+
ProxyPort: 1234
|
| 329 |
+
ProxyUser: "USERNAME"
|
| 330 |
+
ProxyPassword: "PASSWORD"
|
| 331 |
+
|
| 332 |
+
# Debug information
|
| 333 |
+
# Don't enable these unless you're attempting to locate an issue
|
| 334 |
+
#
|
| 335 |
+
# Available Debug categories:
|
| 336 |
+
# MINECRAFT_TO_DISCORD - Messages coming from Minecraft
|
| 337 |
+
# DISCORD_TO_MINECRAFT - Messages coming from Discord
|
| 338 |
+
# GROUP_SYNC - Group synchronization
|
| 339 |
+
# PRESENCE - The bot's game status or presence
|
| 340 |
+
# VOICE - The voice module (see voice.yml)
|
| 341 |
+
# REQUIRE_LINK - The require link to join module (see linking.yml)
|
| 342 |
+
# NICKNAME_SYNC - Nickname synchronization
|
| 343 |
+
# ALERTS - Alerts (see alerts.yml)
|
| 344 |
+
# WATCHDOG - The watchdog
|
| 345 |
+
# BAN_SYNCHRONIZATION - Ban synchronization
|
| 346 |
+
# LP_CONTEXTS - LuckPerm's contexts
|
| 347 |
+
# ACCOUNT_LINKING - discord/minecraft account linking
|
| 348 |
+
#
|
| 349 |
+
# UNCATEGORIZED - Anything not in any of the above categories
|
| 350 |
+
# ALL - All the above categories (including UNCATEGORIZED)
|
| 351 |
+
#
|
| 352 |
+
# JDA - JDA's debug messages
|
| 353 |
+
# JDA_REST_ACTIONS - For debugging JDA's rest actions
|
| 354 |
+
# CALLSTACKS - Displays the stack trace for DiscordSRV debug calls
|
| 355 |
+
#
|
| 356 |
+
# Ex. "Debug: [GROUP_SYNC, PRESENCE]"
|
| 357 |
+
#
|
| 358 |
+
Debug: []
|