Setting up the chat's format
By default, social includes a prebuilt chat configuration that works in most server environments without additional dependencies. However, administrators may need to customize certain modules to better fit their server’s requirements. The following are common examples.
Using LuckPerms prefixes or suffixes
LuckPerms prefixes and suffixes can be integrated using PlaceholderAPI.
- Ensure the LuckPerms PlaceholderAPI extension is installed in your server
- Open
plugins/social/settings/chat.ymlin your file editor - Locate the
playerNicknameFormatproperty near the top of the file - Set the value depending on the desired format:
- Prefix:
'%luckperms_prefix% $(clickable_nickname)' - Prefix and suffix:
'%luckperms_prefix% $(clickable_nickname) %luckperms_suffix%'
- Prefix:
This configuration ensures that player nicknames display the appropriate LuckPerms prefixes and suffixes in chat while remaining clickable.