[Suggestion] Add Nexo custom item support for /finditem
It would be really nice to have the finditem command be able to autocomplete and find Nexo custom items/blocks/furniture the server has added.
I tried looking at adding this myself but I couldn't understand the command system. It looks too big brain for me and I gave up after an hour of spinning my wheels lmao.
Here are Nexo's API/Javadocs: https://docs.nexomc.com/community-guides/api
If this could be added, that would be slick.
I don't think that this will ever be added, at least not for a while. This is because "custom" items are really vanilla items (often called materials) with NBT tags on them, which other plugins handle for their uses; for example, a gun plugin using crossbows as the material and having NBT tags so that the plugin to parse out a normal crossbow vs. one with a NBT tag. The problem is that NBT tags do not actually change the item, a diamond pickaxe with a NBT tag is still a diamond pickaxe. If you have a book with a NBT tag in your inventory and a normal vanilla book, then do /clear yourself minecraft:book, both books will be cleared from your inventory. This is similar to renaming an item, it doesn't change the fact that it's still the same item as before.
I mean it would be possible of course, but it will need explicit support by vane and an API (or at least a stable NBT tag format) from the plugin that added the items. I don't think I will have time to do this anytime soon, but I wouldn't be opposed to adding it.
@FaultyFunctions If you need guidance with the command system, feel free to ask!
@oddlama will do! I tried looking at it once already but was highly confused haha
When I look at it again I'll be sure to ask!
I mean it would be possible of course, but it will need explicit support by vane and an API (or at least a stable NBT tag format) from the plugin that added the items. I don't think I will have time to do this anytime soon, but I wouldn't be opposed to adding it.
@oddlama if I may, I would like to suggest making a separate plugin for this. Maybe some sort of add-on for servers that others could build on top of for their own items.
@WhatYouTalkinAbout what would be the benefits of making it a separate plugin?
Less resources that are being used for people who don't want it. It's going to all be packaged into one JAR file and minimizing resource usage is a big problem already for server owners. Unnecessary features only add to their problems.
Is this going to be closed and/or tagged as a future update?