Heres my code, It basically opens up an internal http server, sends a request to another http server running python, it then waits to recieve requests from this python server accordingly and one of the requests that the python server can send is a "Player join" request, which is supposed to signify that a player has joined, and the httphandler needs to spawn an NPC and create a join message in chat. But everything works except when I try to spawn the npc. At first I thought that citizens was broken but by using the exact same code, I can spawn an NPC through commands. My suspicion is that the HttpHandler method is running in a state where citizens hasn't loaded, so in a way, no citizen API methods can be used because it believes it hasnt loaded yet. How could I make this work?