ChatInjector 1.13+ 1.0.2

Inject PlaceholderAPI placeholders into your chat with EssentialsXChat

  1. PacksGamingHD
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Overview:
    This plugin translates PlaceholderAPI placeholders into plugins that do not natively support it. This plugin obviously requires PlaceholderAPI.
    Instructions:
    Say you want to put a players faction information with the FactionsUUID placeholders using EssentialsXChat.
    Find the placeholder (example): %factionsuuid_faction_relation_color%
    Replace the percent signs with brackets. Your placeholder should look like this: {factionsuuid_faction_relation_color}.

    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}
    Reload EssentialsXChat and it will appear.

    Installation:
    1. Fully stop the server
    2. Make sure you have PlaceholderAPI version 2.10.9 (the latest) on your server!!!
    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.
    FlekMoon likes this.

Recent Updates

  1. ChatInjector v1.0.2

Recent Reviews

  1. Nekdu64
    Nekdu64
    5/5,
    Version: 1.0.1
    Work perfectly with 2.10.9 placeholderapi and last Protocolib v4.5.1
    Thank you ;)
  2. LeyTrack
    LeyTrack
    5/5,
    Version: 1.0.1
    Great! It works wonderfully, the only flaw is that it lowers everything, even the names of the players. is there any solution for that?
    1. PacksGamingHD
      Author's Response
      Try installing the 1.0.2 update
  3. icansc187
    icansc187
    1/5,
    Version: 1.0.1
    ERROR Could not load 'plugins/ChatInjector.jar' in folder 'plugins'
    11.08 23:26:45 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:276) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:318) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:222) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_261]
    11.08 23:26:45 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener
    11.08 23:26:45 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO ... 6 more
    11.08 23:26:45 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.events.PacketListener
    11.08 23:26:45 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:156) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_261]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.12.2.jar:git-Paper-1618]
    11.08 23:26:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[patched_1.12.2.jar:git-Paper-1618]
    1. PacksGamingHD
      Author's Response
      You need to install ProtocolLib on your server for this plugin to work...
  4. MustafaPutkul
    MustafaPutkul
    4/5,
    Version: 1.0.1
    Players can use any color code they want, it needs to be fixed urgently.
    Other than that, there is no other problem.
  5. Pranklez
    Pranklez
    1/5,
    Version: 1.0.1
    It seems as if nothing has been fixed in regards of the placeholders being injected properly, will adjust my rating once the resource does as it claims
    1. PacksGamingHD
      Author's Response
      PlaceholderAPI released an update that broke it. Downgrade to 2.10.6 and an update for the new version will be out soon
  6. JointMan_
    JointMan_
    4/5,
    Version: 1.0.1
    It works only with admins... Can you update this or give me a permission that a normal player needs for that?
    1. PacksGamingHD
      Author's Response
      Yes, the permission node is chatinjector.parse
      You need to give that to normal players. OP's have it by default