ModernChatInjector 图标

Minecraft 服务端插件

ModernChatInjector

Injects PlaceholderAPI placeholders into EssentialsX Chat and VaultChatFormatter.

社交类工具类bukkitpaperspigot
版本范围
1.8.8–26.2
下载量
2,253

插件介绍

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.

版本与下载

推荐下载

ModernChatInjector-2.0.0.jar版本 2.0.0 · 4.3 KBSHA-1 71d13de6908f9a8d298e67ed93d84d83330cab1e下载 ModernChatInjector-2.0.0.jar

2.0.0

正式版
加载器
bukkit · paper · spigot
MC 版本
1.8.8 · 1.8.9 · 1.9 · 1.9.1 · 1.9.2 · 1.9.3 · 1.9.4 · 1.10 · 1.10.1 · 1.10.2 · 1.11 · 1.11.1 · 1.11.2 · 1.12 · 1.12.1 · 1.12.2 · 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1 · 26.1.2 · 26.2
ModernChatInjector-2.0.0.jar4.3 KBSHA-1 71d13de6908f9a8d298e67ed93d84d83330cab1e获取文件 ModernChatInjector-2.0.0.jar
展开更新日志

Note: If you use EssentialsX Chat, please update all EssentialsX modules to version 2.21.1-dev+9-f3a1b2b or above.

Functionality varies based on EssentialsX version:

  • ✅ No EssentialsX Chat installed: ModernChatInjector acts as a drop-in replacement for ChatInjector
  • ⚠️ 2.20.x, 2.21.0: ModernChatInjector works if you enable local chat in the EssentialsX Chat config
  • 2.21.1 onwards (recommended): ModernChatInjector works regardless of whether local chat is enabled

Release notes

Initial release of ModernChatInjector!

Compared to other versions of ChatInjector, this release adds direct support for EssentialsX's GlobalChatEvent and LocalChatEvent when EssentialsX Chat 2.20.0 or above is installed. This allows the plugin to work on EssentialsX 2.21.0 see above, which uses Paper chat events instead of the legacy Bukkit events.

This release has been tested on Paper 1.15.2 and 1.21.4, and should work on all versions of Spigot and Paper that EssentialsX supports.

依赖关系