If the court determines before or at trial that one (1) or more of the causes of action are frivolous or malicious, any one (1) or more of the following sanctions may be imposed:
(1) Award attorney's fees and actual costs incurred by the state, the Division of Correction, or the Division of Community Correction, another state agency, a political subdivision, the Attorney General's office, or the defendant, not to exceed two thousand five hundred dollars ($2,500) per frivolous cause of action;
(2) Court costs not to exceed five hundred dollars ($500) per cause of action;
(3) Order the Division of Correction to revoke up to thirty (30) days' earned good-time credits accrued, under § 12-29-201 et seq.;
(4) Order the Division of Correction to revoke permission to have nonessential personal property of the inmate, including, but not limited to, televisions, radios, stereos, or tape recorders. If permission is revoked, the Division of Correction shall take appropriate precautions to protect the property during the period of the revocation; or
(5) Impose a civil sanction in an amount not to exceed one thousand dollars ($1,000).