com.electrotank.electroserver4.extensions
Interface Plugin

All Known Implementing Classes:
BasePlugin

public interface Plugin

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 Also:
BasePlugin, ElectroServerApi, PluginInterop, PluginLifeCycle, PluginRequest

Method Summary
 PluginApi getApi()
           
 void setApi(PluginApi api)
           
 

Method Detail

setApi

void setApi(PluginApi api)

getApi

PluginApi getApi()


Copyright © 2007 Electrotank, Inc. All Rights Reserved.