This page tells you how you can set your own custom embed messages.
Placeholders are being reworked in 3.1.0, so this table may be outdated when the update releases
Here is a list of placeholders needed for the embeds
Placeholder | Description |
---|---|
%uuid% | Player UUID with dashes |
%uuid_dashless% | Player UUID without dashes |
%name% | Player name |
%randomUUID% | Random UUID. Can be used to combad discord cache |
%avatarURL% | Avatar URL, see avatarURL config entry |
%playerColor% | Pseudo-unique color generated by the Player UUID |
Death Message Specific | |
%deathMessage% | The death message |
Chat Message Specific | |
%msg% | The chat message sent |
To generate yourself the customJSON
value, do the following:
customJSON
config# Custom embed JSON, will overwrite color setting. For more info, check the documentation at https://wiki.erdbeerbaerlp.de/dcintegration:custom-embeds or ask on discord. customJSON = "{\r\n \"author\": {\r\n \"name\": \"%playerName%\",\r\n \"icon_url\": \"%avatarURL%\"\r\n },\r\n \"description\": \"%msg%\",\r\n \"color\": %playerColor%,\r\n \"footer\": {\r\n \"text\": \"This is an example embed. To start from scratch, click \\\"Clear all\\\" at the top.\"\r\n }\r\n}"