Models not persisting after server restart
Open
Models not persisting after server restart
Hello, after installing the latest version of model engine 3.1.4 in principle should be solved the problem of models not persisting after server restart, but the models are still not there once the server is restarted.
Citizens version: 2.0.30 Build 2900 MEG version: 3.1.4
Also I have these errors idk if it's for Meg or MM: https://pastebin.com/4TqHVwxz
Thanks for all!
Nope, only affects on certain npcs. Still not working.
It's a spawn world, maybe some region flags may affect?
I do the following:
-
create npc
-
npc type villager
-
trait add meg_model
-
meg npc model 'npc' add 'model'
-
console send this error recursively (before server crash): https://pastebin.com/cj3zcEMu
-
Citizens version : 2.0.30-SNAPSHOT (build 2952)
-
meg version: R3.1.5
-
Server version Paper 1.18.2
-
libdisguises version: 10.0.32
-
itemsadder version: 3.4.0-beta-r11
-
Npc type: villager (may be the cause?)
Thanks
-
ItemsAdder seems to be the issue. Check #48 (closed)
Hello,
After several tests, it is possible that it is a priority issue.
Let me explain: Testing on an empty test server with some essential plugins, (MEG, MM, Citizens, Denizen, Depenizen, Essentials, Multiverse, ProtocolLib, LibDisguises, Lonelib, ItemsAdder...) everything works correctly. When it finishes loading all the server and plugins, finally there seems to be a reload of all the npcs.
As soon as there are more plugins, it seems that there is no reloading of npcs.
I say that it is a priority issue (I do not know how PaperSpigot loads the plugins, I understand that alphabetically) because if I put more plugins before C (c of citizens) that begin their name with A* that reload or load of npcs does not occur.
In my case with all the plugins I need, I get the following error (although I doubt it is related): https://pastebin.com/akqGtbGq
The way I have found to solve it for the moment, is a small script in Denizen to restart citizens when the server has finished restarting or starting.
A possible solution to be implemented by meg, would be a reload of the citizens plugin or the npcs that are there on the server.
Thank you very much!
bukkit doesn't load plugins in order of alphabets. It's based on dependencies, and plugin developers can specify each plugin to load after certain thing by specifying dependencies. Besides, there is internal bukkit algorithm to load.
Make meg reload citizen after load doesn't sound right to be honest. If a server require such hotfix, server is responsible to do so. I still have problem, and I'm still unsure what is really causing the issue, but I just decided to make a simple hotfix for myself to load problematic NPCs after server loads and decided to not worry about it. In whatever thing. Anyways, yes this is headache.
mentioned in issue #57