#(evilcognac) saving npcs?
27 messages · Page 1 of 1 (latest)
(evilcognac) saving 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.
the npcs.yml file is created
but when i restart the server the npcs arent there
do i need to save them somehow or what
./citizens save
does this not happen automatically when the npc is created
Unfortunately not
But someone else might know a solution... best wait a bit and see
Im relatively new myself
ill just use the bukkit command sender ig
Good idea
Oh what 🤔 Might be a bug then?
Custom registries are not saved at the same time as the citizens registry
If you have a custom registry save file you need to manage that save file yourself
You need to call yamlstorage.save() to flush to disk
aight
@foggy moon are you sure you want to save the npcs to another file anyway?
na ill just create them each time on startup
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.)
@foggy moon