03-19-2011, 05:48 PM
Thanks Revolucas for your offered help.
But this whole discussion was not about implementing a single plugin and was not focused on my Economy plugin example.
I started this discussion to get details on MCServer Lua implementation (as the title would suggest ).
So back to my first post:
So basically it is possible to share common or interface functions by requiring additional lua files, but i don't like this method.
Its because the functions need to be recompiled in every plugin which needs them, and this method is what i don't like.
And that was also my intention to demonstrate with my reference to .dll or .so runtime libraries.
But this whole discussion was not about implementing a single plugin and was not focused on my Economy plugin example.
I started this discussion to get details on MCServer Lua implementation (as the title would suggest ).
So back to my first post:
(03-02-2011, 04:09 AM)Tybor Wrote: How is Lua implemented in MCServer?All questions are already answered by FakeTruth.
Does each Plugin has its own Lua Stack?
How to call functions between Plugins?
How to exchange data between Plugins?
So basically it is possible to share common or interface functions by requiring additional lua files, but i don't like this method.
Its because the functions need to be recompiled in every plugin which needs them, and this method is what i don't like.
And that was also my intention to demonstrate with my reference to .dll or .so runtime libraries.