So the lua scripts should interact with the plugin. When the server start up, the scripts send information to the plugin for configuration, and during the runtime of the server, the plugin gets information and sends them to lua scripts for further handling?
Best, On Mon, Mar 3, 2014 at 5:32 PM, Eduardo Silva <[email protected]> wrote: > > On Mon, Mar 3, 2014 at 3:29 PM, Kai Dong <[email protected]> wrote: > >> Hi, >> >> I tried a simple plugin here: >> >> https://github.com/dokia/monkey/tree/master/plugins/testplugin >> >> In _mkp_init the lua script is read and in _mkp_stage_30 the required >> actions can be performed. >> >> Is my idea heading the right direction? >> >> Best, >> Kai >> >> _______________________________________________ >> Monkey mailing list >> [email protected] >> http://lists.monkey-project.com/listinfo/monkey >> >> > kind of, lua scripts can be dynamic where they just exists on the file > system. Also a lua script would like to have access to some request/context > variables that the plugin is getting, you need to wrap them. > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://monkey-project.com >
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
