DiscordSRV

DiscordSRV

86.8k Downloads

Formatting MinecraftPlayer(first)JoinMessage

x1p opened this issue ยท 9 comments

commented

I'm trying to use formatting in the messages. However this doesn't seem to work anymore.
It worked fine in 1.18.4
Broke since 1.19.0 (and dev build)

Example:

MinecraftPlayerJoinMessage: 
  Enabled: true
  Webhook:
    Enable: false
    AvatarUrl: "%botavatarurl%"
    Name: "%botname%"
  Content: ""
  Embed:
    Enabled: true
    Color: "#00ff00"
    Author:
      ImageUrl: "%embedavatarurl%"
      Name: ":tada: **%username% joined the server**"
      Url: ""
    ThumbnailUrl: ""
    Title:
      Text: ""
      Url: ""
    Description: ""
    Fields: []
    ImageUrl: ""
    Footer:
      Text: ""
      IconUrl: ""
    Timestamp: false

Using formatting in the DiscordChatChannelServer(Startup/Shutdown)Message however works fine.

commented

We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please join our Discord at https://discordsrv.com/discord and go to the #support channel for help with installing or configuring DiscordSRV.

commented

You have Enabled: false

commented

Yes because I disabled this one. I used this one as a test for the MinecraftPlayerFirstJoinMessage message. Because I don't have that many new players to test with

commented

Another example which doesn't work

MinecraftPlayerLeaveMessage: 
  Enabled: true
  Webhook:
    Enable: false
    AvatarUrl: "%botavatarurl%"
    Name: "%botname%"
  Content: ""
  Embed:
    Enabled: true
    Color: "#ff0000"
    Author:
      ImageUrl: "%embedavatarurl%"
      Name: ":tada: **%displayname% left**"
      Url: ""
    ThumbnailUrl: ""
    Title:
      Text: ""
      Url: ""
    Description: ""
    Fields: []
    ImageUrl: ""
    Footer:
      Text: ""
      IconUrl: ""
    Timestamp: false
commented

the reason it "doesn't work" is probably because you have the silent join & leave permissions (discordsrv.silentjoin / discordsrv.silentquit), join the Discord server if you need further assistance

commented

You miss the point.
The message works fine except the formatting refuses to work.
I found out I'm not the only one https://www.spigotmc.org/threads/discordsrv.123540/page-72#post-3829829
But nvm. It's useless to argue.

commented

That post you linked was someone asking to revert to the old non-embed system, which was answered by me just below that. You haven't yet shown a single piece of evidence showing something not working or a error, as far as I can see there's absolutely nothing not working here.

commented

There is not a single error
Screenshot_20200617_162514

commented

the author name in embeds doesn't support formatting on Discord