#(medofox) Remove all Npcs from API

17 messages · Page 1 of 1 (latest)

inner arch
#

Is it possible to remove all the server's NPCs from API? on server enable/disable? my other option is to delete the citizens config when the server gets disabled or restarted... (It's a minigame for context)

clever mesaBOT
#

(medofox) Remove all Npcs from API

clever mesaBOT
#

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.

wide gale
#

Are you wanting to do temporary npcs?

#

There is a handy method in the npcregistry javadoc otherwise you can use

#

If you want temporary npcs make a temporary npc registry

supple latchBOT
#
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.)

#

@inner arch

inner arch
#

And if so, could you tell me the method's name?

wide gale
#

!api

astral meadowBOT
#
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.

wide gale
#

You will find a link to the javadoc here

supple latchBOT
#
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.)

#

@inner arch