A McHenry man has been ordered detained after he was accused of threatening to kill everyone at the McHenry County Courthouse and threatening to eat a judge's face.