Changed flags to an enum
Added flag to block chat in jail