Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
ModernChatInjector

ModernChatInjector

Injects PlaceholderAPI placeholders into EssentialsX Chat and VaultChatFormatter.

127
2
Social
Utility

Compatibility

Minecraft: Java Edition

1.20.6
1.19.4
1.18.2
1.17.1
1.16.5
1.15.2
1.14.4
1.13.2
1.12.2
1.11.2
1.10.2
1.9.4
1.8.8–1.8.9

Platforms

Bukkit
Paper
Spigot

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Sponsor on GitHub

Creators

mdcfe
mdcfe Member

Details

Licensed MIT
Published last month
Updated last month
DescriptionChangelogVersions

ModernChatInjector

A drop-in replacement for ChatInjector, now with built-in support for EssentialsX Chat 2.21.1, as well as limited support for older versions.

Usage

Install ModernChatInjector alongside PlaceholderAPI, any expansions you need, and your chat formatter of choice.
Then, add PlaceholderAPI placeholders within your chat formatting plugin using the following syntax: {placeholder_name}.

Note that you need to use { and } around the placeholders, not % symbols like you might expect!

How does it work?

On EssentialsX 2.20.0 and above, ModernChatInjector hooks EssentialsX Chat's own chat events to ensure PlaceholderAPI placeholders are injected into the message format when local/global chat is enabled. This is necessary as the previous versions of ChatInjector relied on Bukkit events and protocol hacks, which aren't fully compatible with current versions of EssentialsX Chat or Paper chat events.

If EssentialsX Chat isn't installed or if you're running older versions of Spigot or Paper, this plugin will fall back to hooking Bukkit's AsyncPlayerChatEvent (as ChatInjector does), ensuring compatibility with other legacy chat formatters.

Why isn't this built into EssentialsX Chat?

This provides support for PlaceholderAPI in "legacy" style chat formatting plugins, like EssentialsX Chat and VaultChatFormatter, in the same way ChatInjector used to work.

We're planning a larger overhaul of EssentialsX Chat in a future version, which will include support for external placeholders. Until that's ready, we don't want to guarantee support for a specific PAPI format that could change in the future, as all server owners would then need to reconfigure their chat formats a second time.

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.