Spigot InteractiveChat | Show Items / Inventory in Chat | Custom Chat Keywords | Bungee & Velocity Support 4.0.3

A plugin to work on top of your chat formatting plugins through modifying packets!

  1. Thanks, I didn't do it. But now, if everything works fine, I have errors in console (not on every use of [item] or other placeholders)

    https://pastebin.com/XPpW4AT7

    Regards.
     
  2. Do you notice whatever a chat specific chat message shows up this error also pops up?
     
  3. ok, if in plugin adds work without placeholderApi for mentions only or something, new config option - useplaceholderapi: true/false...
    If all dependencies disabled, i can't see my message in game, console only with error:

    [20:47:03] [Server thread/ERROR]: [InteractiveChat] Unhandled exception occured in onPacketSending(PacketEvent) for InteractiveChat
    java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI
    at com.loohp.interactivechat.Events.Events$1.onPacketSending(Events.java:401) ~[InteractiveChat.jar:?]
    at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:588) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:564) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:338) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:298) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:367) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:66) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:332) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:302) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) [ProtocolLib.jar:4.4.0-b421]
    at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) [ProtocolLib.jar:4.4.0-b421]
    at net.minecraft.server.v1_14_R1.NetworkManager.b(NetworkManager.java:193) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.NetworkManager.sendPacket(NetworkManager.java:157) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1419) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.sendPacket(PlayerConnection.java:1392) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:193) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.sendMessage(CraftPlayer.java:200) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at com.earth2me.essentials.CommandSource.sendMessage(CommandSource.java:36) [EssentialsX-2.17.1.0.jar:?]
    at com.earth2me.essentials.textreader.TextPager.showPage(TextPager.java:90) [EssentialsX-2.17.1.0.jar:?]
    at com.earth2me.essentials.EssentialsPlayerListener$1DelayJoinTask$DelayMotdTask.run(EssentialsPlayerListener.java:353) [EssentialsX-2.17.1.0.jar:?]
    at com.earth2me.essentials.EssentialsPlayerListener$1DelayJoinTask.run(EssentialsPlayerListener.java:279) [EssentialsX-2.17.1.0.jar:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1005) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:953) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:798) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    [20:47:03] [Server thread/ERROR]: Parameters:
    [email protected][
    a=TextComponent{text='', siblings=[TextComponent{text='Welcome, ', siblings=[], style=Style{hasParent=true, color=§6, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text='DixizeR', siblings=[], style=Style{hasParent=true, color=§4, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text='!', siblings=[], style=Style{hasParent=true, color=§6, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
    components=<null>
    b=SYSTEM
    ]

    [20:47:24] [Server thread/INFO]: player issued server command: /gamemode creative
    [20:47:24] [Server thread/ERROR]: [InteractiveChat] Unhandled exception occured in onPacketSending(PacketEvent) for InteractiveChat
    java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI
    at com.loohp.interactivechat.Events.Events$1.onPacketSending(Events.java:401) ~[?:?]
    at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
    at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
    at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:588) ~[?:?]
    at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:564) ~[?:?]
    at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:338) ~[?:?]
    at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:298) ~[?:?]
    at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:367) ~[?:?]
    at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:66) ~[?:?]
    at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:332) ~[?:?]
    at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:302) ~[?:?]
    at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[?:?]
    at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[?:?]
    at net.minecraft.server.v1_14_R1.NetworkManager.b(NetworkManager.java:193) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.NetworkManager.sendPacket(NetworkManager.java:157) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1419) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.sendPacket(PlayerConnection.java:1392) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:193) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.sendMessage(CraftPlayer.java:200) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at com.earth2me.essentials.User.sendMessage(User.java:821) ~[?:?]
    at com.earth2me.essentials.commands.Commandgamemode.run(Commandgamemode.java:69) ~[?:?]
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:161) ~[?:?]
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:545) ~[?:?]
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:458) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:707) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1666) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1506) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) ~[spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:892) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:885) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:99) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:868) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:802) [spigot-1.14.jar:git-Spigot-4d24e36-5193f76]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    [20:47:24] [Server thread/ERROR]: Parameters:
    [email protected][
    a=TextComponent{text='', siblings=[TextComponent{text='Установлен режим игры', siblings=[], style=Style{hasParent=true, color=§6, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text=' творческий ', siblings=[], style=Style{hasParent=true, color=§c, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text='для игрока ', siblings=[], style=Style{hasParent=true, color=§6, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text='DixizeR', siblings=[], style=Style{hasParent=true, color=§4, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}, TextComponent{text='.', siblings=[], style=Style{hasParent=true, color=§6, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
    components=<null>
    b=SYSTEM
    ]

    This server is running CraftBukkit version git-Spigot-4d24e36-5193f76 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
    plugin version: 1.3.0
     
  4. Well my plugin was designed with and depends on placeholderapi and protocollib, they are two very popular plugins and probably most server has them. Your server cannot have papi ?
     
  5. upload_2020-3-15_8-14-13.png
    Where do I translate in the config.yml?
    And is there any .json file to download from the website or do I have to translate the item one by one?
     
  6. If you are using 1.13 or above, you can just download the minecraft language file of your language (the one for the minecraft client) and replace the one in the lang folder (rename it of course)

    If you are using 1.12 or below you have to unfortunately change the displayname in Legacy.json by yourself.

    And I kinda made a mistake with "Click to view"...
    It will be translatable in the next update!
     
  7. Nope, just i need customized mentions only and something other =)
     
  8. LOOHP updated InteractiveChat - Custom Keywords! Display Items and Inventories in Chat! Supports Custom Languages! with a new update entry:

    Made [inv] and [ender] hover message translatable (1.4.3)

    Read the rest of this update entry...
     
  9. Hello! There is a problem with your plugin. At the end of every chat message are those strings that get attached:
    Code (Text):
    %ICKey%1584257535129%.ICKey%
    I do have some plugins that uses the chat to set values, like names, prices, etc. and because of that string at the end, the values are not set correctly.
    Here's also from latest.log:
    Code (Text):

    [09:31:55] [Server thread/INFO]: [Lvl.∞] [Owner] nicuch ➽ Mno %ICKey%1584257515228%.ICKey%
    [09:32:00] [Server thread/INFO]: [Lvl.∞] [Owner] nicuch ➽ Brb 10-20 de minute %ICKey%1584257520087%.ICKey%
    [09:32:04] [Server thread/INFO]: [Lvl.6] [Miner] RedShadow6524 ➽ Kk %ICKey%1584257524755%.ICKey%
    [09:32:15] [Server thread/INFO]: [Lvl.∞] [Owner] nicuch ➽ Si dupa bag bossul in dungeon %ICKey%1584257535129%.ICKey%
    [09:32:20] [Server thread/INFO]: [Lvl.∞] [Owner] nicuch ➽ Boss-ul va dropa %ICKey%1584257540300%.ICKey%
    [09:32:22] [Server thread/INFO]: [Lvl.∞] [Owner] nicuch ➽ [item] %ICKey%1584257542326%.ICKey%
    If this is required for hovers, maybe add them only when necessary.

    Can you fix? Thank you!
     
  10. LOOHP updated InteractiveChat - Custom Keywords! Display Items and Inventories in Chat! Supports Custom Languages! with a new update entry:

    Bug Fix + Conflict Avoiding (1.4.5)

    Read the rest of this update entry...
     
  11. Give the new update (1.4.5) a try and see if it solves the plugin conflict
     
  12. LOOHP updated InteractiveChat - Custom Keywords! Display Items and Inventories in Chat! Supports Custom Languages! with a new update entry:

    Added customization to placeholder parsing error (1.4.6)

    Read the rest of this update entry...
     
  13. It works! THANK YOU!
     
  14. I tried to find the language file in client but it doesn't have the same format. I found the exact same language file in 1.14.4-spigot.jar but it only provides en_us

    Btw, I have changed the config but this one still remains the same
    upload_2020-3-15_22-48-12.png
     
  15. The issue should be solved now! As to the language file, you have to find them in a different way, here is a good post which I first used to learn how to get it! https://www.reddit.com/r/Minecraft/comments/ak57gu/other_language_files/