Is it possible to make a plugin calling another plugin in another extension in the server??
If yes, how can I do that?
Is it possible to make a plugin calling another plugin in another extension in the server??
If yes, how can I do that?
Last edited by kenling; 07-23-2012 at 03:02 AM.
Yes, if the plugins are in separate extensions you have to use plugin interop though. getApi().callRoomPlugin, or getApi().callServerPlugin. See the PluginInterop code example.
Teresa Carrigan
Senior Engineer
Electrotank, Inc.
I have found the code example in PluginInterop.
So is there any method of "DatabasePlugin" to receive the "request" from PluginInterop?
DatabasePlugin is in the DatabaseWithJDBI code example. The method is "interop" and it returns an EsObject. It is MUCH simpler all around if you just have all your plugins in the same extension of course, and usually easier to maintain the software too.
Teresa Carrigan
Senior Engineer
Electrotank, Inc.