Hey, so I was wondering on a server startup I can remove specfic NPCs that were crated by my plugin? SOO basically I'm creating an ability that creates an NPC and everything works fine, but sometimes the NPCs don't remove after the ability ends and they persist throughout server restarts. How would I be able to remove the NPC, and get the NPC instance that I want? I was thinking of storing like the entity ids inside of a yml file, but it feels like there is a better way to do it, and I would rather not create a whole new yml file just for this one ability. LMK 🙏
#(fatassbomb) Adding persistent data to NPCS?
15 messages · Page 1 of 1 (latest)
(fatassbomb) Adding persistent data to NPCS?
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>
!faq
Frequently asked questions about Citizens are answered at https://wiki.citizensnpcs.co/Frequently_Asked_Questions.
This page contains frequently asked questions regarding the Citizens project. You should always check here before submitting an issue, asking on Discord, or posting on the forum thread. Your queries could very well have already been answered here.
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.)
@naive compass