vane icon indicating copy to clipboard operation
vane copied to clipboard

[Suggestion] Add Nexo custom item support for /finditem

Open FaultyFunctions opened this issue 5 months ago • 7 comments

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.

FaultyFunctions avatar Aug 06 '25 16:08 FaultyFunctions

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.

WhatYouTalkinAbout avatar Nov 11 '25 22:11 WhatYouTalkinAbout

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 avatar Nov 14 '25 14:11 oddlama

@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!

FaultyFunctions avatar Nov 14 '25 22:11 FaultyFunctions

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 avatar Nov 17 '25 14:11 WhatYouTalkinAbout

@WhatYouTalkinAbout what would be the benefits of making it a separate plugin?

FaultyFunctions avatar Nov 17 '25 17:11 FaultyFunctions

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.

WhatYouTalkinAbout avatar Nov 17 '25 18:11 WhatYouTalkinAbout

Is this going to be closed and/or tagged as a future update?

WhatYouTalkinAbout avatar Nov 18 '25 15:11 WhatYouTalkinAbout