#(piotrusiem) Creating citizens with no save do config

10 messages · Page 1 of 1 (latest)

thorn scarab
#

Hello, i've got question about creating a NPC with no adding to saves.yml, beacuse i want to create NPC temporary.

    CitizensAPI.getNPCRegistries().forEach(npcs -> {
        npcs.forEach(NPC::destroy);
        npcs.deregisterAll();
    }); this code onEnable not works ;c
vocal barnBOT
#

(piotrusiem) Creating citizens with no save do config

vocal barnBOT
#

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.

eager bay
#

!api

mint juncoBOT
#
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.

eager bay
#

it's explained here

#

you just need to use a memory data store

dire spruceBOT
#
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.)

#

@thorn scarab