Skip to main content
Flume embeds Lua 5.4. Scripts have access to the standard Lua library (string, table, math, os.time/date/clock) with dangerous functions removed for safety.

Sandbox

The following are blocked in Lua scripts:
  • os.execute, os.remove, os.rename, os.getenv, os.exit
  • io.open, io.popen, io.input, io.output
  • dofile, loadfile
  • debug library
Use flume.config.get/set for persistent storage instead of file I/O.

Example: Highlight Script

Example: Auto-Response