The old text-based commands got replaced by Slash Commands.
You are not required to change any config value ^^ it should just work.
![]()
Added the ability to set a custom value when a placeholer returns an empty string, it was "N/A" by default.
Config:
YAML:# Text to show when a placeholder value is empty # and the "hideEmpty" option is set to "false". not-assigned-text: "N/A"
Added the ability to edit the default embed messages for "render:false" templates.
To do this you will have to create a file with the name of your template in the embed folder.
plugins/ProfileViewer/embed/<name>.json
You can copy the embed/default.json file to use it a base structure.
The format is the same as for BanAnnouncer embeds.
The available placeholders are the following
For the requested player:
%player_name% | The player name
%player_uuid% | The player uuid with dashes
%player_uuid_undashed% | The player uuid without dashes
The UUIDs are useful for using player-head image APIs.
For the Discord user that requested the information:
%requester_tag% | The Discord tag, example: Requester#0000
%requester_name% | The Discord name, ex.: Requester
%requester_discriminator% | The 4 numbers after the #, 0000
%requester_avatar_url% | Discord user avatar image url
%requester_mention% | Discord user as mention @
%requester_id% | The numerical id of the Discord user
.
(Bungee & Velocity) Added the "remote-username-cache" option.
It is recommended to still using file caching, this is only for special situations.
- true = Cache usernames and uuids into the database.
- false = (default) Still caching them to the usernames.json file.
Updated code to work with Spicord v5.
You will have to UPDATE Spicord to version 5, this version will not work with Spicord 4
