ChatInjector 1.20+ icon

ChatInjector 1.20+ -----

Inject PlaceholderAPI placeholders into your chat with EssentialsXChat



Overview:
This plugin translates PlaceholderAPI placeholders into plugins that do not natively support it. This plugin obviously requires PlaceholderAPI.

Note: This only works for the chat format and system messages, not any actual messages sent by the player or sent by commands such as /say.

Instructions:
Simply put the placeholder you are wanting surrounded by percentage signs in your config file. Example chat format:
The factions color, role, and name would look like this:
Code (YAML):
%factionsuuid_faction_relation_color%%factionsuuid_player_role%%factionsuuid_faction_name% {DISPLAYNAME} &8ยป &r{MESSAGE}

This also works for system messages! You can add placeholders in your motd.txt file.

Example:
Code (YAML):
&6Welcome, {PLAYER }&6!
&6Your XP
: &c%player_exp%
Reload EssentialsXChat and it will appear.

Installation:
1. Fully stop the server
2. Make sure you have PlaceholderAPI version 2.11.6 (the latest) on your server!!! You will also need a chat plugin. I have tested the latest build of EssentialsXChat (v2.21.0-dev+180) on 1.21.4 and everything works.
3. Make sure you have the latest ProtocolLib build installed as well!
3. Add the ChatInjector plugin
4. Start the server

Additional notes:
This is a continuation of the original ChatInjector plugin which can be found here. Please do not leave a 1 star review if you receive errors in the console. Post it in the discussion thread and I will gladly assist you. Thanks for understanding.
Resource Information
Author:
----------
Total Downloads: 5,293
First Release: Jul 8, 2020
Last Update: Feb 24, 2025
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings