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
-
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:StendhalServerExtension
init the extension- Specified by:
init
in interfaceStendhalServerExtensionIface
- Specified by:
init
in classStendhalServerExtension
-
perform
- Overrides:
perform
in classStendhalServerExtension
- Returns:
true
on success, otherwisefalse>/code>
-
perform
-
searchTermToRegex
-
getMessage
- Overrides:
getMessage
in classStendhalServerExtension
- Returns:
- message
-
onAction
Description copied from interface:ActionListener
processes the requested action.- Specified by:
onAction
in interfaceActionListener
- Parameters:
player
- the caller of the actionaction
- the action to be performed
-