#(kmyk441) How to make sure im not spawning npcs 2 times
33 messages · Page 1 of 1 (latest)
(kmyk441) How to make sure im not spawning npcs 2 times
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.
Are you making a plugin?
Yeah
I need some more context
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.)
@granite python
imo, each item in yml array is unique so every npc you spawned is unique. did you mean only spawn npcs that are newly added through config by users?
however IDK why you need to implement this on your side, as Citizens already managed the persisted NPCs
i mean if they get deleted, they shouldnt be theer
i just used TemporalNPCRegistry and i think it works ideally
it makes sense as you re-creates NPC when your plugin enables
glad to hear you worked that out
yayy
+> YAY!!!
+> YAY!!!
yayyyyy
+> YAY!!!
yay
+> YAY!!!
+> YAY!!!
As fun as that is, don't spam the bot please.
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.)
@granite python
Sorry