Temporary bans last up to 30 days. Permanent ones, as the name suggests, last forever.