# Chat Image

Send images in Minecraft!

{% hint style="info" %}
**TIP:** If you're having trouble sending a particular image, try uploading it to Imgur, Gyazo, or even Discord. Just be sure to copy the direct image link ending with .png, .jpg, etc
{% endhint %}

## Overview

{% embed url="<https://camo.githubusercontent.com/3403012617fcc202ee440e95ca1723313a796a1eff129e8052b2916490cfa296/68747470733a2f2f692e696d6775722e636f6d2f7971717a53564a2e676966>" %}
Plugin demonstration gif
{% endembed %}

{% embed url="<https://www.youtube.com/watch?v=qMTTcXlqon4>" %}
Plugin Tutorial video
{% endembed %}

## Commands

{% code overflow="wrap" %}

```java
/hideimages
// This can be used by all players. If enabled, images will be minimized and require the player to hover to view the image.
```

{% endcode %}

{% code overflow="wrap" %}

```java
/showimages
// Reverses /hideimages.
```

{% endcode %}

<pre class="language-java" data-overflow="wrap"><code class="lang-java">/chatimage send &#x3C;player> &#x3C;url> [smooth] [trim] [width] [height] [text]
<strong>// Send images to specific players. The options at the end will use the config values if they are not specified. Additionally, you can append text to display to the right of the image. This supports color codes and line breaks (\n). This command could have a variety of creative uses!
</strong></code></pre>

{% code overflow="wrap" %}

```java
/chatimage save <name> <url> [smooth] [trim] [width] [height]
// Similar to the above command, but saves the textual image to the plugin folder for later use.
```

{% endcode %}

{% code overflow="wrap" %}

```java
/chatimage delete <name>
// Deletes a saved image.
```

{% endcode %}

{% code overflow="wrap" %}

```java
/chatimage send <player> <name> [text]
// Sends a saved image to a specific player. Text can be appended at the end just like the other send sub-command above. Sending a saved image is much faster than sending from a URL because retrieving the image over the internet is the longest step in the process.
```

{% endcode %}

{% code overflow="wrap" %}

```java
/chatimage reload
/*
ADMIN ONLY COMMAND
Type this after making any changes to the config file.
*/
```

{% endcode %}

## Plugin Links

{% embed url="<https://github.com/ChickenSaysBak/ChatImage>" %}
Plugin GitHub Source
{% endembed %}

## Plugin Creator

{% embed url="<https://github.com/ChickenSaysBak>" %}
Plugin creator
{% endembed %}

{% embed url="<https://www.paypal.com/paypalme/CozyCloudMC>" %}
Plugin creator's PayPal
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kings-of-earth.gitbook.io/kings-of-earth-wiki/guides/plugins/chat-image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
