Plug-ins

Top  Previous  Next

A plug-in is the most generic and flexible way to add functionality to ElectroServer.  Simply put, a plug-in is a piece of code that can be tied to the server itself or a room and can then be called via clients to directly ask it to perform an action.  As a special case, room-level plug-ins have the ability to listen to many events that occur in a room such as room variable changes or public messages.  These are the bread and butter of multi-player game development.

 

See the [installation directory]/server/examples folder for multiple examples of plug-ins.