Hello all. I have implemented an AFK feature in my block protection plugin. It sets a player as AFK if they have not moved or run a command for five minutes. There is a chat notification and their color dims in the tab list. It also sets them as sleep ignored, meaning they don't need to be in a bed for the server to advance to day, as long as everyone else is sleeping. Everything is working fine, but there's something I want to eliminate and I can't figure out how. Being bumped by an entity triggers PlayerMoveEvent, which causes the player exit AFK mode. Normally I wouldn't care, but now that I've added the sleeping exemption it becomes annoying if someone AFKs in an entity heavy area. I only want AFK mode to exit if the player actually does something. I guess what I'm looking for is a MoveCause, similar to TeleportCause in the EntityTeleport event. But no such thing exists. There are vehicle collision events, but no entity collision events. I've looked through all the events in the online javadoc and I don't see anything that might tell me what I need to know. Anyone have any ideas? Thanks in advance.