Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing features #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ There is one available placeholder from DeluxeMenus:

* `%deluxemenus_meta_<key>_<dataType>_<default_value>%`
* `%deluxemenus_meta_has_value_<key>_<dataType>%`
* `%deluxemenus_is_in_menu%`
* `%deluxemenus_opened_menu%`
* `%deluxemenus_last_menu%`

## General options

Expand Down
21 changes: 20 additions & 1 deletion clips-plugins/deluxemenus/options-and-configurations/item.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Each item will have a name, in this example our item is called **`ItemName`.** T
> > * [HeadDatabase](https://www.spigotmc.org/resources/14280/) (`hdb-<ID>`).
> > * [ItemsAdder](https://www.spigotmc.org/resources/%E2%9C%A8itemsadder%E2%AD%90emotes-mobs-items-armors-hud-gui-emojis-blocks-wings-hats-liquids.73355/) material (`itemsadder-namespace:name`)
> > * [Oraxen](https://www.spigotmc.org/resources/72448/) material (`oraxen-oraxen_item_id`)
> > * [ExecutableItems](https://www.spigotmc.org/resources/custom-items-plugin-executable-items.77578/) material (`executableitems-item_id`)
> > * [ExecutableBlocks](https://www.spigotmc.org/resources/custom-blocks-plugin-executable-blocks.93406/) material (`executableblocks-item_id`)
> > * [MMOItems] (https://www.spigotmc.org/resources/mmoitems.39267/) material (`mmoitems-item_id`)
> > * [Placeholder](https://helpch.at/placeholders) material (`placeholder-%player_item_in_hand%`).
> > * Item in main hand (`main_hand`).
> > * Item in off hand (`off_hand`).
Expand Down Expand Up @@ -102,7 +105,7 @@ Sets the item's amount in the menu using a [placeholder](https://helpch.at/place
> ```

Allows you to set a CustomModelData for your item. Example of usage:\
`model_data: 14`
`model_data: 14` (Can also support negative value)

## NBT Tags

Expand Down Expand Up @@ -154,6 +157,22 @@ Now with support for SHIELDS! Make sure to also check the new [base\_color](item

Allows you to specify base colors for shields and also for banners on 1.12.2 and lower versions.

## Armor Trims

> ```yaml
> trim_material: <trim>
> trim_pattern: <pattern>
> ```
>
> > * [Trim material list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimMaterial.html).
> > * [Trim pattern list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimPattern.html).

Allows you to set a trim and a pattern to an armor piece

{% hint style="success" %}
These options are case-sensitive and support placeholders and arguments.
{% endhint %}

## Item Flags

> ```yaml
Expand Down