# DeluxeCommands

## Description

Ever wanted to create custom text commands which allow you to utilize JSON formatting? Now you can create text-based commands which allow you to have tooltips, click events, and much more!\
This can be used for awesome info-packed /vote command, or even a cool /stats command, and much more!

## Features

* Hover tooltips.
* Click actions.
* Ability to create unlimited commands.
* Supports running the command as another player with different actions.
* Supports various actions, like running a command as console/player.
* [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) support.

## Creating JSON message

**JSON** message is the kind of messages that have hovering tooltips and clicking actions, you can simply create them from [minecraftjson.com](http://minecraftjson.com/) (or any **JSON** creation website).\
Follow the steps below to create your **JSON** message and use it in **DeluxeCommands**:

1. Create the **JSON** message using the website you like.
2. Copy the text after `@p` from the **Command:** box. e.g.\
   \
   `/tellraw @p ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]`\
   \
   Copy this part only:\
   `["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]`<br>
3. Now paste it in your command in **DeluxeCommands** config file like this:\
   `- '["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]'`<br>
4. Reload **DeluxeCommands** `/DeluxeCommands reload`.
5. That's it! Enjoy your beautiful **JSON** command.


---

# 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://wiki.helpch.at/clips-plugins/deluxecommands.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.
