#(Septicuss) Possible to get the NPCs ID without the use of an API?

1 messages · Page 1 of 1 (latest)

vital nebula
#

Currently, as specified on the wiki, Citizens allows one to check whether an entity is an NPC using metadata:
https://wiki.citizensnpcs.co/API#Checking_if_an_entity_is_a_Citizens_NPC

Is something similar, either using the metadata, PDC or NBT available? Thank you!

API

Citizens has an extensive API for working with NPCs. Make sure you always are using an up-to-date build of the CitizensAPI to ensure that your plugin works with the latest release of Citizens.

loud vesselBOT
#

(Septicuss) Possible to get the NPCs ID without the use of an API?

loud vesselBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

wary geode
#

@vital nebula sorry need a bit more context? in commands? scripts? what

wary geode
#

so you want the ID but you don't want to use the API?

#

I'm confused

vital nebula
#

If it's possible to do without the api (similar to how the spigots metadata is just there), then I would prefer to do so without it

wary geode
#

how would that be helpful

shadow ice
#

No, don't think it's possible - but why don't you want to use the API?

vital nebula
#

But if it's not visible / stored anywhere outside of the Citizens plugin, then no problem. Thank you

wary geode
#

@vital nebula can you use the entity uuid?

proud nimbusBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

Error: Missing thread owner. Did they leave the Discord? If so, just use </resolved:1028673926114594866> yourself.