Posted November 2, 201213 yr Would it be possible to call the @ServerStarting before the MinecraftServer.initialWorldChunkLoad My npcs have customizable factions and other data that needs to be loaded before my npcs spawn. Currently I cant do this in a clean way, because my npcs spawn, because of the initial worldchuck that gets loaded, before the @ServerStarting is called.
November 4, 201212 yr It does actually make sense to do starting before everything else, but i'll talk to cpw about that., But it seems to me that you could do the initial loading in the world load event if you haven't already loaded anything, and be fine... I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
November 5, 201212 yr Author I guess I could use the WorldEvent.Load for it and only load it when the event.world.provider.dimensionId == 0 and not remote. That should make it load only once and before entities spawn. Thanks, hadnt seen the Load yet.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.