Set Maximum Temperature

What is the problem?

I work as an IT-Administrator at a school and we use OctoPrint for all our 3D-printers. We ran into a bit of an issue. Some students think it's funny to set the printing temperature way too high, which has broken our printers 5 times already.
I was wondering if there was any way to set a maximum temperature in OctoPrint or a default temperature, so that we can prevent malicious actions by students, while still allowing others to print normally.

What did you already try to solve it?

I tried writing my own GCode script, but there was no applicable event trigger. I'd like to trigger the script everytime OctoPrint receives a response to an M105, but to no avail.

Have you tried running in safe mode?

N/A

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20240926093952.zip (40.1 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint version: 1.10.2
OctoPi version: Build 2024.06.18.085851 with "webcamd"
Hardware: Raspberry Pi 4B
Printer: FlashForge Creator Pro
Firmware: Sailfish 7.8
Browser: Firefox
OS: Windows 10

Hello @das_profil !

Maybe this can help:

I'll try that one out.

Thank you!