What UX decisions to make to promote civility online?

Folks aren't as nice online as they are in person. Trying to find ways to mitigate this, a cursory search only turns up suggestions that each user can do to be more civil online. What UX decisions should a designer make to promote civility online? The only things I could think of are to require each user to use their real face and name for their account to "humanize" everyone on the site, but I think Facebook does this with only limited success?

Some context: I'm a teacher and I'm working online during the plague, and I want to know what design choices to make to make my class more personable/civil/human. But that's mildly irrelevant here; I'm not really a part of the UX/design community, and I'm hoping that answers to this general question will give me some insight into the design world's thoughts on online civility. And naturally if this question should be edited to be a better fit for the community, please do so :)