Heya!
Personally, I don't like this idea, Mainly because it makes the classes feel like real-life school.
Sometimes people accidentally break rules, when they don't mean to. If the person gets kicked and then put in detention, they might just log off because there would be nothing for them to...