zArrowChat

Placeholders

Use PlaceholderAPI placeholders in chat formats and messages when PlaceholderAPI is installed.

zArrowChat works with PlaceholderAPI. When PlaceholderAPI is installed, you can drop any of its placeholders into your chat formats and messages, and zArrowChat resolves them for the player before the message is sent.

How it works

PlaceholderAPI is a soft-depend, so it is optional. If it is present, zArrowChat runs your chat formats and messages through it, filling in any placeholders it recognizes. If it is not present, the plugin still works and those placeholders are left as-is.

For example, with a placeholder plugin that provides a %vault_prefix% placeholder installed, you could use it in your chat format:

# config.yml
chat:
  prefix: "%vault_prefix% "

The placeholder is filled in per player, so each player's prefix shows correctly.

Where placeholders work

PlaceholderAPI placeholders work in the same places MiniMessage does: the chat format fields in config.yml, and the player-facing text in messages.yml. They resolve where a player context exists.

zArrowChat does not add its own placeholders

zArrowChat does not register its own PlaceholderAPI expansion. It only applies placeholders from other plugins; it does not provide %zarrowchat_...% placeholders for other plugins to read. Use zArrowChat as a place to show placeholders, not as a source of them.

To use placeholders from other plugins, install PlaceholderAPI and download the matching expansions with its own commands. See Installation.

On this page