InteractiveChat DiscordSRV Addon | Show Items and Invs on Discord | Preview Discord Images in Game! 4.0.3

Have InteractiveChat Placeholders translated and displayed on DiscordSRV discord messages!

  1. LOOHP
    Native Minecraft Version:
    1.17
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/LOOHP/InteractiveChat-DiscordSRV-Addon
    Languages Supported:
    EVERYTHING is translatable. Default language: English (en-US)
    [​IMG] Consider donating!
    It helps me keep on supporting my plugins while keeping them free! DM me and I'll put your name here! Click me!
    $5.7 - mindgam3s


    [​IMG]
    Join the discord server here!



    [​IMG]

    If I missed any item/block textures (i.e. they don't show up on discord), please tell me!

    The plugin does not work well with ChatControlRed. I'm unable to hook into it or do further investigation as it is a paid resource.

    You must be using DiscordSRV 1.24.0!

    Please check my discord and the Q&A section first if you run into any errors.


    About

    This is an addon for my other plugin, InteractiveChat.
    With this addon, you will be able to have InteractiveChat Placeholders translated on DiscordSRV
    discord messages. As well as sharing items, inventories to discord and sharing images and gifs to the game from discord!


    Features
    1. Translate InteractiveChat Placeholders on Discord
    [​IMG]
    [​IMG] [​IMG]

    Included:
    - Placeholder replaced with Replace Text if available
    - Hover Text showed if available
    - Click Event showed if available and is type OPEN_URL or COPY_TO_CLIPBOARD

    2. Display Item / Inventory / EnderChest Contents on Discord
    [​IMG] [​IMG] [​IMG]

    Included in the generated inventory / item image:

    - Inventory Background
    - Player Inventory Puppet with Armor and Elytra
    - Item Image
    - Durability Indicator
    - Item Amount
    - Banner Pattern
    - Decorated Shield Banner Pattern
    - Enchantment Effect
    - Dyed Leather Armor Color
    - Broken Elytra Texture

    Included in the generated item description / tooltip:
    - Item Image
    - Item Amount
    - Item Type / Display Name
    - Item Lore
    - Item Potion Effects
    - Item Enchantments
    - Dyed Leather Armor RGB Color
    - Firework Rocket Flight Duration
    - Unbreakable
    - Filled Map Contents (Including Markings)
    - Filled Map Data
    - Clock Time
    - Compass Direction
    - Crossbow Charge State
    - Crossbow Charged Item
    - Container Contents Image (E.g. Shulker Box Contents)
    - Banner patterns
    - Shield patterns

    If I missed any, send me a message!

    3. Preview Images from Discord on Maps (Works with jpg, png and gif)
    [​IMG]

    Yes! Gif will be animated up to 20 frames per second.

    Do not worry! You cannot actually get the map as an item nor will your original item in hand be overridden, so it is survival server friendly.

    4. Convert Attachments from Discord into Pretty Clickable and Hoverable Messages
    [​IMG]

    5. Language of Your Choice
    The messages are translated to your preferred language set in the config. The language file will be automatically downloaded from Mojang so you won't have to translate anything yourself!

    The formatting can be altered in the config to suit your liking!

    Dependencies
    - InteractiveChat (And its dependencies, requires the latest dev build)
    - DiscordSRV(1.24.0)

    Installation
    1. Put InteractiveChatDiscordSrvAddon.jar into the plugins folder along with the required dependencies
    2. Start the server (Note that it will take some time to download the assets)
    3. Edit the config (if you need to)
    4. Restart the server (if you changed something in the config in step 3)

    Development Builds
    [​IMG]

    Jenkins

    API
    API Info on Github


    Commands
    /interactivechatdiscordsrv reloadconfig - Reloads the config (or /icd reloadconfig)
    /interactivechatdiscordsrv reloadtexture - Reloads the textures (or /icd reloadtexture)
    /interactivechatdiscordsrv update - Check for updates (or /icd update)


    Permissions
    Code (YAML):
    interactivechatdiscordsrv.reloadconfig:
        description
    : Allows you to reload the config
        default
    : op
      interactivechatdiscordsrv.reloadtexture
    :
        description
    : Allows you to reload the texture
        default
    : op
      interactivechatdiscordsrv.update
    :
        description
    : Get updater notifications
        default
    : op

    Q&A
    I got an error like this, what should I do?

    Code (Text):
    [16:40:25 INFO]: [ICDiscordSrvAddon] Unable to load font provider 1
    [16:40:25 WARN]: java.lang.InternalError: java.lang.reflect.InvocationTargetException
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:86)
    [16:40:25 WARN]:        at java.base/java.security.AccessController.doPrivileged(Native Method)
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
    [16:40:25 WARN]:        at java.desktop/java.awt.Font.<init>(Font.java:619)
    [16:40:25 WARN]:        at java.desktop/java.awt.Font.createFont(Font.java:1225)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.MCFont.reloadFonts(MCFont.java:67)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.MCFont.<clinit>(MCFont.java:32)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$0(InteractiveChatDiscordSrvAddon.java:622)
    [16:40:25 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100)
    [16:40:25 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1489)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:437)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292)
    [16:40:25 WARN]:        at java.base/java.lang.Thread.run(Thread.java:834)
    [16:40:25 WARN]: Caused by: java.lang.reflect.InvocationTargetException
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [16:40:25 WARN]:        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84)
    [16:40:25 WARN]:        ... 15 more
    [16:40:25 WARN]: Caused by: java.lang.NullPointerException
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
    [16:40:25 WARN]:        at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719)
    [16:40:25 WARN]:        at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:379)
    [16:40:25 WARN]:        at java.base/java.security.AccessController.doPrivileged(Native Method)
    [16:40:25 WARN]:        at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:324)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35)
    [16:40:25 WARN]:        at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56)
    [16:40:25 WARN]:        ... 20 more
    [16:40:25 INFO]: [ICDiscordSrvAddon] Unable to load font provider 2
    [16:40:25 WARN]: java.lang.InternalError: java.lang.reflect.InvocationTargetException
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:86)
    [16:40:25 WARN]:        at java.base/java.security.AccessController.doPrivileged(Native Method)
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
    [16:40:25 WARN]:        at java.desktop/java.awt.Font.<init>(Font.java:619)
    [16:40:25 WARN]:        at java.desktop/java.awt.Font.createFont(Font.java:1225)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.MCFont.reloadFonts(MCFont.java:67)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.graphics.MCFont.<clinit>(MCFont.java:32)
    [16:40:25 WARN]:        at com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$0(InteractiveChatDiscordSrvAddon.java:622)
    [16:40:25 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100)
    [16:40:25 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1489)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:437)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134)
    [16:40:25 WARN]:        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292)
    [16:40:25 WARN]:        at java.base/java.lang.Thread.run(Thread.java:834)
    [16:40:25 WARN]: Caused by: java.lang.reflect.InvocationTargetException
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    [16:40:25 WARN]:        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [16:40:25 WARN]:        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
    [16:40:25 WARN]:        at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84)
    [16:40:25 WARN]:        ... 15 more
    [16:40:25 WARN]: Caused by: java.lang.NullPointerException
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
    [16:40:25 WARN]:        at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719)
    [16:40:25 WARN]:        at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:379)
    [16:40:25 WARN]:        at java.base/java.security.AccessController.doPrivileged(Native Method)
    [16:40:25 WARN]:        at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:324)
    [16:40:25 WARN]:        at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35)
    [16:40:25 WARN]:        at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56)
    [16:40:25 WARN]:        ... 20 more
    You need to install fontconfig onto your operating system.
    • Debian/Ubuntu/Mint: apt-get install libfreetype6 fontconfig
    • RHEL/CentOS/Fedora: yum install freetype fontconfig
    • SLES/OpenSUSE: zypper install libfreetype6 fontconfig
    This is due to newer jdk requiring the operating system to provide fonts. If you are using a Minecraft server hosting service, you might want to contact your host. Here are some useful articles and links.

    Default Config
    Latest Config

    Credits
    Thanks to MCHeads for providing Minecraft avatars.



    [​IMG]

    Report problems in the discussion, not in a review. Thanks :)
    dqwetgery4, deda-dev, rmellis and 2 others like this.

Recent Reviews

  1. PhamHuy1710
  2. Blue5125
    Blue5125
    5/5,
    Version: 4.0.3
    Does this can't show up attribute?
    I can't found this setting in config.
    But is already an awesome plugin now.
  3. gfdugfj
    gfdugfj
    4/5,
    Version: 4.0.3
    Why the following message will be displayed in the background when using the latest version
    (Note DiscordSRV to use the latest version 1.24.0)





    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.JDAImpl.handleEvent(JDAImpl.java:160)
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:123)
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36)
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:952)
    [18:08]
    [Mon, 13. Sep 2021 18:08:02 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:839)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:817)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:991)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.handleFrame(ReadingThread.java:755)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.main(ReadingThread.java:108)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.runMain(ReadingThread.java:64)
    [Mon, 13. Sep 2021 18:08:07 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.ws.client.WebSocketThread.run(WebSocketThread.java:45)
    [18:08]
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] [JDA] One of the EventListeners had an uncaught exception
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] java.lang.NoClassDefFoundError: github/scarsz/discordsrv/dependencies/jda/api/events/message/MessageReceivedEvent
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at InteractiveChatDiscordSrvAddon-4.0.3.11.jar//com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents$JDAEvents.onMessageReceived(OutboundToDiscordEvents.java:737)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:482)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.JDAImpl.handleEvent(JDAImpl.java:160)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:123)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36)
    [Mon, 13. Sep 2021 18:08:12 CST ERROR] at DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:952)
    1. LOOHP
      Author's Response
  4. luispradoangel2
    luispradoangel2
    1/5,
    Version: 4.0.0
    Yea don't use this the plugin has a destructive nature meaning if it fails or discordsrv fails it will full on crash your server without saving don't use this plugin since it can be very destructive and cause damage
    1. LOOHP
      Author's Response
      Consider reporting errors or seeking help on discord before leaving a review.
  5. axilirate
    axilirate
    5/5,
    Version: 1.4.0.2
    Fast response and adding missing item, woks perfectly, lots of features.
    A must have if using a discord server.
    1. LOOHP
      Author's Response
      Thank you!
  6. luispradoangel2
    luispradoangel2
    3/5,
    Version: 1.4.0.2
    This plugin doesn't fully work I've joined the discord and have not been helped other than that the plugin works decently "default items will work but items with any lore or custom name won't work at all"
  7. Menschplayer
    Menschplayer
    5/5,
    Version: 1.4.0.2
    This is insane, my community is absolutly in LOVE with this addon and love sharing their Gear and especially Flower Collections over discord & chat! Absolutly love it!
    1. LOOHP
      Author's Response
      Glad your players enjoy the functionalities the plugin gives :)
  8. dqwetgery4
    dqwetgery4
    5/5,
    Version: 1.4.0.2
    You're the best!You're the best!You're the best!You're the best!You're the best!You're the best!You're the best!You're the best!
    1. LOOHP
      Author's Response
      Thank you!Thank you!Thank you!Thank you!Thank you!Thank you!
  9. AzaOnDiscord
    AzaOnDiscord
    5/5,
    Version: 1.3.9
    Amazing plugin! my network uses DiscordSRV to connect accounts & chat's, this feature had made that even better, thank you!
    1. LOOHP
      Author's Response
      Thank you!!
  10. HuangYouci
    HuangYouci
    5/5,
    Version: 1.3.9
    Excellent! Nice support service. Nice features. and.. reply fast, update quickly.... The best DiscordSRV addon!!!!!!
    1. LOOHP
      Author's Response
      Thank you!!