I should probably should not be attempting it, since I don't know much, and I still don't really understand how to do my task with Async even after looking at the test plugin in Pocketmine's GitHub repository. I'm using libpmquery to make my entity query a server every second, but it starts to lag the server, making it go to 100% cpu and 0.25 TPS. I want to make an AsyncTask to query the server and give a result, then get the result and put in the NPC's nametag. I don't really need code, I need an explanation on how to do this. Thanks in advance!