Kits do not support item flags or attributes
It is currently not possible to add some data to kit items such as flags and attributes. If you add this data to an item and then use "/createkit", the items spawned when using the kit simply lack the data.
Unsupported flags: HIDE_ENCHANTS HIDE_ATTRIBUTES HIDE_UNBREAKABLE HIDE_DESTROYS HIDE_PLACED_ON HIDE_POTION_EFFECTS
Unsupported attributes: DAMAGE MOVEMENT_SPEED ATTACK_SPEED KNOCKBACK_RESISTANCE MAX_HEALTH ARMOR LUCK
Unsupported misc: UNBREAKABLE
#750
The only reason I opened this as a separate issue was because of the additional flags and unbreakable bit.
I believe itemflags are supported as of the latest builds.
+1 (just wanna follow this ticket.)
I just tested createkits with unbreakable tags, and it doesn't works. Test your things before closing threads.
@Guarmanda This issue is still open. If you would like to contribute with a PR or any constructive feedback, let us know.
Issue still open, wanted to do a kit to give some Protection Stones (from the protection stones plugin) but the blocks that i get from the kit are not working because they lose a NBT tag
@Leonardo-Fiori EssentialsX doesn't support custom NBT data from plugins. If you need custom NBT in a kit, add a /give command to the kit:
- /give {player} minecraft:dirt{<NBT>}
This is still an issue for me as an item I would like to give as a kit from my plugin has additional data in the form of a PersistentData tag and this data is not carried over. Would be nice to be able to have this as a feature of the kits.
@DanielRoberts21 There are a few options:
- Users can manually add an entry with NBT to their kits, for example
- stonesword 1 {<NBT>} - Users can manually add
/minecraft:givecommands to kits following the vanilla NBT syntax - You can implement and register a custom
ItemResolverin your plugin, which allows your plugin to add custom items to the EssentialsX item database (though this doesn't work with/createkityet - see #3216) - You can add a command to your plugin that gives the item to the player, which users can add to their kits to give specific items to specific players
Still not fixed after 3 years. Very nice
Still not fixed after 3 years. Very nice
PR or shut up.
@mdcfe r.e. this -
Users can manually add an entry with NBT to their kits, for example - stonesword 1 {<NBT>}
Is this still the case after the introduction of NBT 'components'? or has the syntax changed to more closely match vanilla?