Codes are cancer, we have votekicks and instance owners and that worked fine last time.
If you want to put a tighter lid on it, designate a group of people (or allow the instance owner to designate people) and give all of them the power to jail randos by teleporting them to an inescapable jail room.