A fair way to discourage AFK without kicking:

Only accumulate rested EXP bonus while the character is logged out.

Look around Eorzea and notice where all the idle characters are standing around. Most of them are either in a sanctuary gathered near the aetheryte crystal or in an inn room where you can't see them. They are resting there so they can accumulate a rested EXP bonus and not get aggro'd while their players are out shopping for orange juice.

If you eliminate or reduce the rested bonus for characters who are logged in, it will reward those who log out of the Worlds when they are not playing.

It is a fair tradeoff: you can stay logged in to avoid 1017 and not receive any EXP bonus, or you can log out at the inn and level faster once you are able to log back in.