I'd like Octoprint to pause printing when the printer sends a specific message. I can see the message in the terminal tab. Specifically, when the printer message includes the word "crash", I'd like Octoprint to pause printing. I couldn't find a plugin that does that.
You may be able to achieve this with Action Commands. And without having the plugin I think OctoPrint supports pause out of the box. You just have to figure out how to send the command from your gcode to octoprint. In the case of newer marlin firmwares you could use
M118 // action:pause. I haven't ever tried myself though.