Is there an event where it gets the time change or a way to do this? I'm trying to make something where a certain thing executes when the time turns back to the morning. I couldn't find any useful resources online, and my "solution" to this was very inefficient(repeating task that has checks for the time) Thanks,
hmm Maybe I could use DataPacket SendEvent and check if the packet is SetTimePacket PHP: public function onSend(DataPacketSendEvent $e){ if($e->getPacket() instanceof SetTimePacket){ $time = $e->getPacket()->time; }}