Today I worked on Lua plugins support. The plugins have to be placed in

lcUILua/plugins/[plugin name]/plugin.lua

.
For security reasons the plugins are sandboxed and access to some functions are restricted :

  • require
  • load
  • loadfile
  • loadstring
  • debug.*
  • io.*
  • pakage.*
  • os.* (except time and difftime)