It is firstly important to clarify that if any civil law is broken it is up to the external authorities to decide the severity of the punishment according to the laws of the nation the community resides in [note: This means irrelevant of the moral codes of the community if someone brakes the law of the nation that the community is operating in they are charged and sentenced by the authorities in that nation. There should be no excuses and all laws of a host nation should be upheld]. This is right, proper and should not be disregarded or lashed out against, even if the civil law seems incorrect or archaic.
If there is a breakdown of order in the community that is not relevant to civil law, like a member not working or causing agitation, regularly causing distress etc. The range of punishments would flow from isolation -> exile. The reason should be clear ‘ good behaviour should be encouraged and rewarded while negative or destructive behaviour should be discouraged and mitigated.
As physical punishment has been regularly shown to be notoriously bad at being an effective system to change habits, social isolation and reflection seems a more appropriate method. Humans without training find social interactions and stimulus pretty necessary. Social isolation or enforced reflection on difficult topics should be sparingly dispensed to transgressors, certainly an authority figure dealing out the punishment should be in a group of selected officials who all agree on what is being done.