Class ScriptRunner
java.lang.Object
games.stendhal.server.extension.StendhalServerExtension
games.stendhal.server.core.scripting.ScriptRunner
- All Implemented Interfaces:
ActionListener,StendhalServerExtensionIface
- Direct Known Subclasses:
StendhalGroovyRunner
ServerExtension to load Groovy, Lua, and Java scripts.
- Author:
- intensifly
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class games.stendhal.server.extension.StendhalServerExtension
getInstance
-
Constructor Details
-
ScriptRunner
public ScriptRunner()Constructor for ScriptRunner.
-
-
Method Details
-
init
public void init()Description copied from class:StendhalServerExtensioninit the extension- Specified by:
initin interfaceStendhalServerExtensionIface- Specified by:
initin classStendhalServerExtension
-
perform
- Overrides:
performin classStendhalServerExtension- Returns:
trueon success, otherwisefalse>/code>
-
searchTermToRegex
-
getMessage
- Overrides:
getMessagein classStendhalServerExtension- Returns:
- message
-
onAction
Description copied from interface:ActionListenerprocesses the requested action.- Specified by:
onActionin interfaceActionListener- Parameters:
player- the caller of the actionaction- the action to be performed
-