Add %toprolecolor% placeholder for %name%s in %reply%
Epikest opened this issue · 3 comments
Why?
i think it would be neat to have the top role color show for names in DiscordToMinecraftMessageReplyFormat
this will make the chat a bit more colorful
What and How?
example:
DiscordToMinecraftChatMessageFormat: "<%toprolecolor%%name%%reply%&r> %message%"
DiscordToMinecraftChatMessageFormatNoRole: "<%name%%reply%&r> %message%"
DiscordToMinecraftMessageReplyFormat: " → %toprolecolor%%name%" # currently, you can't use %toprolecolor% here
Are there alternatives?
no
Checks
- I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.
Anything else
No response
DiscordSRV provides multiple placeholders to get the user's role properties,
%discordsrv_user_top_role_id%
%discordsrv_user_top_role_name%
%discordsrv_user_top_role_color_hex%
%discordsrv_user_top_role_color_code%
For example setting %discordsrv_user_top_role_color_code% in my DiscordToMinecraftMessageReplyFormat results in this https://share.boredman.net/vLZE3D82.png
Closing as this functionality already exists
After further testing, these placeholders parse as the person replying, not the person being replied to. So are practically useless, oops
i wouldn't have opened the issue if functionality was already implemented...
DiscordSRV provides multiple placeholders to get the user's role properties,
%discordsrv_user_top_role_id% %discordsrv_user_top_role_name% %discordsrv_user_top_role_color_hex% %discordsrv_user_top_role_color_code%
For example setting %discordsrv_user_top_role_color_code% in my DiscordToMinecraftMessageReplyFormat results in this share.boredman.net/vLZE3D82.png
Closing as this functionality already exists