messages.yml๐
DiscordToMinecraft...๐
Placeholders |
Example |
Description |
---|---|---|
|
|
All the user's roles separated by |
|
|
The message content |
|
|
The user's highest ranking role |
|
|
The alias for the role from |
|
|
The first initial of the user's highest ranking role |
|
|
The approximate color of the highest ranking role |
|
|
The user's username/nickname if set |
|
|
The name of the Discord channel the message is coming from |
PlaceholderAPI placeholders are also supported |
...ChatMessageFormat
๐
The format used when sending messages from Discord to Minecraft.
...ChatMessageFormatNoRole
๐
The format used when sending messages from Discord to Minecraft for the user with no roles.
...ChatMessageFormat_<channel>
๐
The format used when sending messages from Discord to Minecraft for <channel>
.
You can specify a different format per channel. To add a format for a channel named mychannel
you'd add the following options to your messages.yml
:
DiscordToMinecraftChatMessageFormat_mychannel: "[&bDiscord From MyChannel &r| %toprolecolor%%toprole%&r] %name% ยป %message%"
DiscordToMinecraftChatMessageFormatNoRole_mychannel: "[&bDiscord From MyChannel&r] %name% ยป %message%"
...ChatMessageFormatNoRole_<channel>
๐
The format used when sending messages from Discord to Minecraft for the user with no roles for <channel>
.
This can be formatted using the same idea as the previous option:
DiscordToMinecraftChatMessageFormatNoRole_mychannel: "[&bDiscord From MyChannel&r] %name% ยป %message%"
...AllRolesSeparator
๐
The separator used in between roles in %allroles%
...ReplyFormat
๐
The format for the message displayed to indicate that the message is a reply NOTE: The %reply% placeholder needs to be present in the format if you want the DiscordToMinecraftMessageReplyFormat to display in your message.
MinecraftChatToDiscordMessage...๐
Placeholders |
Example |
Description |
---|---|---|
|
|
raw player username |
|
|
display name from things like nicknames |
|
|
raw player username without escaping discord format (for use in inline code & code block markdown) |
|
|
display name from things like nicknames without escaping discord format (for use in inline code & code block markdown) |
|
|
message content |
|
|
the name of the user's primary group |
|
|
name of world player is in |
|
|
alias of world player is in via Multiverse-Core |
|
|
current date & time |
|
|
the name of the channel that the message was sent in, if the message was sent in a channel at all |
PlaceholderAPI placeholders are also supported |
...Format
๐
the format used when sending messages from Minecraft to Discord.
...FormatNoPrimaryGroup
๐
used in place of MinecraftChatToDiscordMessageFormat
when no primary group for the player was found.
ChatChannelHookMessageFormat
๐
This is a special message that's only used when a supported chat channel plugin is hooked. It modifies what the message would be like in-game to include information related to the channel the message is from.
Placeholders |
Explanations |
|
the color character corresponding to the channel |
|
the literal name of the channel, usually the name only the server sees internally |
|
the formal nickname of the channel, usually the name of the channel that players see |
|
the message after processing through |
Dynmap...๐
Placeholders |
Example |
Description |
---|---|---|
PlaceholderAPI placeholders are also supported |
...NameFormat
๐
The format for the username part of the message sent to Dynmap (this may be hidden depending on dynmap settings).
...ChatFormat
๐
The format for the message part of the message sent to Dynmap.
...DiscordFormat
๐
Placeholders |
Example |
Description |
---|---|---|
|
|
the username for the message sent on the Dynmap web chat (could be blank) |
|
|
message content |
PlaceholderAPI placeholders are also supported |
The format for Dynmap messages going to Discord
DiscordConsoleChannel...๐
...Format
๐
Placeholders |
Example |
Description |
---|---|---|
|
|
message severity level |
|
|
logger name |
|
|
current date & time |
PlaceholderAPI placeholders are also supported |
This is the format used when sending a line from the console to the console channel, if enabled
...TimestampFormat
๐
The date format that will be used for the {date} and {datetime} placeholders
...Prefix
๐
The literal prefix to prepend to a batch of lines
...Suffix
๐
The literal suffix to append to a batch of lines
...Padding
๐
The amount of padding to add inside the prefix
DiscordChatChannelConsoleCommandNotifyErrorsFormat
๐
Placeholders |
Example |
Description |
---|---|---|
|
|
the name of the user that tried running the command |
|
|
the reason for the error |
Used when an error occurs with permissions for the player to run the command, not an error running the command itself. This is sent as a PM to the user.
DiscordChatChannelListCommand...๐
...FormatOnlinePlayers
๐
the message at the beginning of the list, before all of the player names.
...FormatNoOnlinePlayers
๐
used instead for when no players are online
...PlayerFormat
๐
Placeholders |
Example |
Description |
---|---|---|
|
|
raw player username |
|
|
display name from things like nicknames |
|
|
the name of the user's primary group |
|
|
name of world player is in |
|
|
alias of world player is in via Multiverse-Core |
PlaceholderAPI placeholders are also supported |
the format of how each player should appear in the list
...AllPlayersSeparator
๐
the separator used in between players
MinecraftPlayer...๐
Embed Information |
Description |
---|---|
Color |
accepts a hex color code (eg. "#ffffff") or a rgb integer (eg. 0) |
Fields |
format is "title;value;inline" (eg. "Who joined?;%displayname%;true") or "blank" to add a blank field |
Timestamp |
set to true to use the time the message was sent or use a epoch timestamp for a specific time (https://www.epochconverter.com/) |
Placeholders |
Example |
Description |
---|---|---|
|
|
display name from things like nicknames |
|
|
raw player username |
|
|
display name from things like nicknames without escaping discord format (for use in inline code & code block markdown) |
|
|
raw player username without escaping discord format (for use in inline code & code block markdown) |
|
|
current date & time |
|
the user's avatar |
|
|
|
the bot's avatar |
|
|
the bot's name |
PlaceholderAPI placeholders are also supported |
...JoinMessageFormat
๐
Placeholders |
Description |
---|---|
|
join message as seen in-game |
PlaceholderAPI placeholders are also supported |
The message that gets broadcasted when a player joins the server.
...FirstJoinMessageFormat
๐
Placeholders |
Description |
---|---|
|
first join message as seen in-game |
PlaceholderAPI placeholders are also supported |
The message that gets broadcasted when a player joins for the first time.
...LeaveMessageFormat
๐
The message that gets broadcasted when a player leaves.
...DeathMessageFormat
๐
Placeholders |
Description |
---|---|
|
Raw death message |
PlaceholderAPI placeholders are also supported |
The message that gets broadcasted on player death.
...AchievementMessagesFormat
๐
Placeholders |
Description |
---|---|
|
Title of the achievement/advancement |
PlaceholderAPI placeholders are also supported |
The message that gets broadcasted when a player gets an achievement.
ChannelTopicUpdater...๐
Placeholders |
Description |
---|---|
|
current player count |
|
maximum player count |
|
current date |
|
current time in seconds since UNIX epoch |
|
start time in seconds since UNIX epoch |
|
total amount of players to ever join the main world |
|
amount of minutes since DiscordSRV has started |
|
amount of hours since DiscordSRV has started |
|
motto of the day of the server |
|
server version such as Spigot-1.9 |
|
free memory of the JVM in MB |
|
used memory of the JVM in MB |
|
total memory of the JVM in MB |
|
max memory of the JVM in MB |
|
free memory of the JVM in GB |
|
used memory of the JVM in GB |
|
total memory of the JVM in GB |
|
max memory of the JVM in GB |
|
average TPS of the server |
PlaceholderAPI placeholders are also supported |
...ChatChannelTopicFormat
๐
message to set the chat channel's topic to every X seconds
...ConsoleChannelTopicFormat
๐
message to set the console channel's topic to every X seconds
...ChatChannelTopicAtServerShutdownFormat
๐
message to set the chat channel's topic when the server shuts down
...ConsoleChannelTopicAtServerShutdownFormat
๐
message to set the console channel's topic when the server shuts down
DiscordCommandFormat
๐
This is the message sent to players when they run "/discord
". It's recommended to leave command syntax as a part of this.
NoPermissionMessage
๐
No permission message
UnknownCommandMessage
๐
Unknown command message
DiscordChatChannelServer...๐
...StartupMessage
๐
message to be sent when server starts; leave blank to disable
...ShutdownMessage
๐
message to be sent when server shuts down; leave blank to disable
ServerWatchdogMessage
๐
Placeholders |
Description |
---|---|
|
The guild owner's mention tag. |
|
The date & time when the message gets sent. |
|
ServerWatchdogTimeout as a placeholder |
|
For use in discord's timestamp format EG: ` |
The watchdog constantly monitors the last time your server performed a game tick. If the time since the last tick goes above the set interval in seconds, Discord messages can be triggered.
CodeGenerated
๐
Placeholders |
Description |
---|---|
|
the code generated for the player to link their account with |
|
the name of the bot on Discord |
The message that appears in minecraft when a player runs the /discordsrv link
command.
UnknownCode
๐
The message that appears in the bot's discord DMs if a user sends a 4 character message that isn't a generated code.
InvalidCode
๐
The message that appears in the bot's discord DMs if a user sends any message that isn't a generated code.
DiscordAccountLinked
๐
Placeholders |
Description |
---|---|
|
the name of the Minecraft player that the user's Discord account was linked to |
|
the uuid of the Minecraft player that the user's Discord account was linked to |
The bot's DM response when a user gets their discord account linked.
DiscordAccountAlreadyLinked
๐
Placeholders |
Description |
---|---|
|
the Minecraft uuid of the user's linked Minecraft account |
|
the Minecraft username of the user's linked Minecraft account |
The bot's DM response if a user tries to link their minecraft account but they're already linked.
DiscordLinkedAccountRequired
๐
Placeholders |
Description |
---|---|
|
the message the user was not able to send because they were not linked |
The bot's reply if a player that isn't linked tries to send a discord message through the registered text channel.
DiscordLinkedAccountCheckFailed
๐
The bot's reply if it can't check if a player is linked.
ClickToCopyCode
๐
The hover text for CodeGenerated's %code%
placeholder.
MinecraftAccountLinked
๐
Placeholders |
Description |
---|---|
|
the discord id of the Discord user that the user's Minecraft account was linked to |
|
the discord name of the Discord user that the user's Minecraft account was linked to |
The message to the player that gets sent when the player links their discord account.
MinecraftAccountAlreadyLinked
๐
The message to the player if they try to link their discord account but they're already linked.
LinkedCommandSuccess
๐
Placeholders |
Description |
---|---|
|
the discord username of the Discord user that the user's Minecraft account is linked to |
The message that appears to a linked player when they run /discordsrv linked
.
UnlinkCommandSuccess
๐
Placeholders |
Description |
---|---|
|
the discord username of the Discord user that the user's Minecraft account was linked to |
The message that appears to a linked player when they run /discordsrv unlink
.
MinecraftNoLinkedAccount
๐
The message that appears to an unlinked player when they try to use /discordsrv linked
or /discordsrv unlink
LinkingError
๐
The message that appears to a player if the linking system did not register.
MinecraftNobodyFound
๐
Placeholders |
Description |
---|---|
|
the input that led to no results being found |
The message that appears to the player/console if /discord linked %target%
is not found.
-
Requires a server restart for changes to take effect.ย โฉ