Permanent ban or not depends on the official developers/moderators/servers decision. There is no classification on what kind of cheat is applicable only for permanent banning.
As long as you are using the official servers, they will always find a way to check if you are cheating. Period.
You dont want to get banned? Don't cheat. That simple.