Package games.stendhal.server.core.scripting
package games.stendhal.server.core.scripting
the scripting backend.
The ScriptRunner is invoken on server startup and /script command. This class loads, unloads and executes StendhalGroovyScripts.
StendhalGroovyScript is the interface for code written in Groovy
It extends ScriptingSandbox which takes care of recording and undoing all changes to the world. Note: If you bypass this class, your script will not be unloadable.
ScriptingJava is an unfinished experiment to write scripts in java code which can be reload at runtime like there groovy sisters.
-
ClassDescriptionDefault implementation of the Script interface.manages a script written in groovyManager for scripts written in Java.Manages scripts written in Lua.Handles logging from Lua.ServerExtension to load Groovy, Lua, and Java scripts.Old invoker for groovy scripts.