#Embed message
1 messages · Page 1 of 1 (latest)
Alerts:
- Trigger: AccountLinkedEvent
Channel: lobby
Conditions:
- "(#discordsrv.accountLinkManager.getDiscordId(player.uniqueId))"
WebHook:
Enabled: true
AvatarUrl: "{botavatarurl}"
Name: "{botname}"
Embed:
Enabled: true
Title: "Player's permissions changed"
Color: "#00ff00"
Description: "Linked {displayname}"
a message is sent to the chat server when linking an account, and I can't figure out how to do it in private messages to the player who linked it
plugins DiscordSRV
- Trigger: AccountLinkedEvent
Channel: lobby
Conditions:
- "(#discordsrv.accountLinkManager.getDiscordId(player.uniqueId))"
WebHook:
Enabled: true
AvatarUrl: "{botavatarurl}"
Name: "{botname}"
Embed:
Enabled: true
Author:
Name: "Успех! :white_check_mark:"
ImageUrl: "{embedavatarurl}"
Color: "#00ff00"
Description: "Linked '${#event.getPlayer().getName()}'"
Timestamp: true
I came to this conclusion. but this message is sent to the lobby chat, but how do I send this message to the user who linked the account in private messages?
You can just do this near the bottom of the config with MinecraftDiscordAccountLinkedConsoleCommands:
And how? I tried
gives it away
I need exactly an embed message
@raven ferrycan you help me, I've been sitting for 5 hours trying to do something
I don't think you can DM an embed without some kind of addon 😓 I thought you just wanted a private message sent to the player in minecraft that their account linked to a discord username. You can do that with something like msg %minecraftplayername% Linked %discordid%