for whatever reason when i try to sleep, it wakes me up a milisecond later, and sometimes when i can sleep, my game lags a ton, it isnt happening for me right now but it still happens a lot, and i'm pretty sure its also not a event
It most likely IS an event. AFAIK events and entities are the only thing that will force you to stay awake. next time it happens try typing "debug events" in the console, this should show you what event maybe be causing it.