Skip to content

PlaceholderAPI Integration

RexChat integrates with PlaceholderAPI in two ways:

  1. Uses PAPI placeholders in chat format, hover text, join/leave messages
  2. Provides custom placeholders for other plugins to use

Any PlaceholderAPI placeholder works in:

  • chat-format.format
  • chat-format.groups.*.format
  • Hover lines
  • Join/leave messages
  • Dynamic command messages

Example:

chat-format:
format: "%luckperms_prefix% &7%player_name%: &f{message}"

Players with rexchat.chat.placeholders permission can use PAPI placeholders directly in their chat messages.

These placeholders are registered when PlaceholderAPI is present:

PlaceholderDescription
%rexchat_tag%Player’s selected tag (from tag system)
%rexchat_muted%Whether chat is muted (true/false)
%rexchat_chatcolor%Player’s selected chat color ID
PlaceholderDescription
%rc_prefix%RexChat message prefix (from messages.prefix)

This is not a PAPI placeholder — it’s resolved internally by RexChat in all message strings.