Hi i try to spawn “shop keeper” entities at server start.
The problem is they dont get spawned, or despawn immediately. i cant see them.
If i spawn them with a command it works.
If i spawn them with the ClientConnectionEvent.Join it also works.
Well if I had to guess, I would recommend trying on world load, it game started or something. Have you checked if the world is actually fully loaded at that stage?
Again, I believe that the world had not yet loaded, therefore the entire can’t spawn… try using the SERVER_STARTED event. That event guarantees that the server is fully initialized and that all worlds are loaded.