knokko / custom-items-gradle

Knokko's Custom Items: Add custom items to your server, completely free of charge
MIT License
15 stars 3 forks source link

Display custom items in DeluxeMenus #143

Closed RomaGreat55 closed 2 years ago

RomaGreat55 commented 2 years ago

Hello! How can i display custom items from your plugin in DeluxeMenus or ChestCommands?

knokko commented 2 years ago

I think DeluxeMenus can display custom items using its NBT feature: https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/item#nbt-tags-custommodeldata

If it supports nested NBT tags, you should be able to use something like KnokkosCustomItems: Name: editor_item_name in nbt_string. If it doesn't support nested keys, you can add simpler NBT to your custom items via the Editor and use that.

I think ChestCommands can also display custom items by using NBT-DATA: {KnokkosCustomItems:{Name:"editor_item_name"}}. See https://filoghost.me/docs/chest-commands/attributes.

RomaGreat55 commented 2 years ago

It works. Thank you a lot!