Added AFK support?

Haven't been able to test it, people are busy on my server and didn't want to mess them up. It looks like it should work but if not nothing from the source is changed so it can be easily removed.