# AEGive

### Basic Command Usage

```
/aegive (player) (material) (amount) [args]
```

* **`(player)`**- Name of the player to receive the item.
* **`(material)`**- The type of item to give the player.
* **`(amount)`**- A number 1-64 representing the number of items to give.
* **`[args]`**- Arguments defined below.

### Args

* **`color:(red);(green);(blue)`**- The color of the item. Each parameter is a number from 0-255. Only for leather armor/fireworks.
* **`itemflag:(flag)`**- An ItemFlag to apply to the item. All flags can be found [here](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html).
* **`name:(name)`**- The name of the item. Add spaces with **`_`**. Supports normal colors and HEX.
* **`lore:(lore)`**- The lore of the item. Split lines with **`|`**. Add spaces with **`_`**. Supports normal colors and HEX.
* **`unbreakable:(true/false)`**- Sets whether or not the item is unbreakable.
* **`glowing:(true/false)`**- Sets whether or not the item should glow or not.
* **`custommodeldata:(data)`**- (1.14+) Sets the Custom Model Data for the item.
* **`attribute:(attribute);(amount)`** - (1.9+) Adds an Item Attribute to the item.

### Enchantments

To add enchantments to the item, add **`enchantment:level`** to the args, where **`enchantment`** is the name of the enchantment, and **`level`** is the level of the enchantment. Vanilla enchantments support up to level 32767, custom enchantments only support up to what you have configured. You can have as many enchantments as you like. If there are multiple enchantments with the same name, the most right one will take priority.

### Example Usage

```
/aegive Insprill netherite_pickaxe 1 name:&2&lSuper_Pick lore:&7This_pickaxe_mines_a_lot|&7of_blocks_extremely_fast. unbreakable:true itemflag:HIDE_UNBREAKABLE unbreaking:3 trench:9 telepathy:4
```


---

# 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://ae.advancedplugins.net/general-information/commands-permissions/aegive.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.
