InteractiveChat DiscordSRV Addon | Show Items and Invs on Discord | Preview Discord Images In-game! icon

InteractiveChat DiscordSRV Addon | Show Items and Invs on Discord | Preview Discord Images In-game! -----

Integrate InteractiveChat features and more into DiscordSRV!



[​IMG] Consider donating!
It helps me keep on supporting my plugins while keeping them free! Click me!

Looking for places to host your new Minecraft server? Look no further than BisectHosting! (25% off inside!)
[​IMG]
Before being a plugin developer, I've actually used BisectHosting before. Their servers run smoothly (when given enough RAM, of course) and they respond to their support tickets super fast, 24/7. They continued to assist me swiftly own downloading my data and worlds even after my server had expired!

With BisectHosting, you'll be able to get your own server in just a few clicks!

Interested? Then here's a deal for you!
Click the banner or the link below to get a 25% discount off your first month when buying any of their gaming servers!
It also supports my development as well, take it as an alternative way to donate while getting your very own Minecraft server as well!


P.S. Using the link or clicking the banner rather than the code supports me more! (Costs you no extra!)

https://www.bisecthosting.com/loohp

[​IMG]

[​IMG]
Join the discord server here!



[​IMG]

If any block/item doesn't show up correctly, please tell me!

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. Display Item / Inventory / EnderChest Contents on Discord
[​IMG] [​IMG]
[​IMG] [​IMG]

Included in the generated inventory / item image:

- Inventory Background
- Player Inventory Puppet with Armor, Elytra and Hat Items/Blocks
- Item Image
- Durability Indicator
- Item Amount
- Banner Pattern
- Decorated Shield Banner Pattern
- Enchantment Effect
- Dyed Leather Armor Color
- Broken Elytra Texture
- Armor Trims
- Decorated Pot Patterns
(And possibly more!)

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
- Firework Data
- 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
- Item attributes
- Item CanDestroy & CanPlaceOn blocks
- Writable/Written Book Contents
- Written Book Data
- Bundle Contents
- GoatHorn Type
- Armor Trims
- Decorated Pot Patterns
(And possibly more!)

If I missed any, send me a message!

2. 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

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. Beautify Advancement Messages
Show the Item icon of the advancement in the discord message
Works with datapack advancements as well!
[​IMG]

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

6. Discord Commands
[​IMG]
[​IMG]

Currently available commands: (excluding sub-commands)
- /item - Share the item in your inventory at the selected slot
- /inv - Share the inventory of your/someone's discord linked in-game account
- /ender - Share the ender chest of your/someone's discord linked in-game account
- /playerlist - An in-game tablist style display of online players
- /playerinfo - Show info regarding a player
- /resourcepack - Show resource packs installed on ICD

7. Resource Packs Support
You can apply your own resource pack and have anything you'd expect from installing a resource pack on your Minecraft client applied! That includes but not limited to:
- Custom Fonts
- Custom Textures
- Custom Block Models
- More Info: https://github.com/LOOHP/InteractiveChat-DiscordSRV-Addon/wiki/Resource-Pack
[​IMG]

8. Language of Your Choice
Certain messages (Such as item names) 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 them yourself!

All other messages can be changed in the config.

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

Dependencies
- InteractiveChat (And its dependencies, requires the latest dev build)
- DiscordSRV (1.26.0-SNAPSHOT or above)

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

Showcase Server
Want to give the plugin a try?
Code (Text):
IP: mc.loohpjames.com
[​IMG]

API
API Info on Github


Commands
/interactivechatdiscordsrv reloadconfig - Reloads the config (or /icd reloadconfig)
/interactivechatdiscordsrv reloadtexture [--redownload/reset] - 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
How do I install my own resource pack?

Please take a look at the information here: https://github.com/LOOHP/InteractiveChat-DiscordSRV-Addon/wiki/Resource-Pack

I got an error like this, what should I do?

Code (Text):
[15:46:14] [Server thread/ERROR]: Error occurred while enabling InteractiveChatDiscordSrvAddon v4.0.3.17 (Is it up to date?)
github.scarsz.discordsrv.dependencies.jda.api.exceptions.ErrorResponseException: 50001: Missing Access
You need to give you bot access to SlashCommands on discord on the discord bot application page here:
https://discord.com/developers/applications

You need to get an invite link with the required permissions as shown in this image:
[​IMG]

If the bot is already in your server, you will have to kick it first and then invite it.

I got an error telling me this, what should I do?

Code (Text):
No fonts provided by the JVM or the Operating System!
Check the Q&A section in https://www.spigotmc.org/resources/83917/ for more information
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



[​IMG]

Notes:
I only guarantee that the plugin works perfectly and with full features in the latest version of spigot and paper
Mainly because I am a student and my time is limited, sadly you can't live with just doing what you like, writing plugins, life just doesn't work like what we all wanted :(
Older versions are just "supported", so they might be missing a few features or hooks, but generally should work just fine.
Nevertheless, do your own testing to be sure, just like any other plugin on this forum.


Report problems on discord (recommended) or in the discussion, not in a review. Thanks :)
Resource Information
Author:
----------
Total Downloads: 34,537
First Release: Sep 16, 2020
Last Update: Jan 1, 2025
Category: ---------------
All-Time Rating:
51 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings