Skip to content

Setting up the chat's format

Chat Format Example

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.

  1. Ensure the LuckPerms PlaceholderAPI extension is installed in your server
  2. Open plugins/social/settings/chat.yml in your file editor
  3. Locate the playerNicknameFormat property near the top of the file
  4. Set the value depending on the desired format:
    • Prefix: '%luckperms_prefix% $(clickable_nickname)'
    • Prefix and suffix: '%luckperms_prefix% $(clickable_nickname) %luckperms_suffix%'

This configuration ensures that player nicknames display the appropriate LuckPerms prefixes and suffixes in chat while remaining clickable.