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.
-
ClassDescriptionA script, which can be reloaded at runtime.Default implementation of the Script interface.manages a script written in groovyManager for scripts written in Java.ServerExtension to load Groovy, Lua, and Java scripts.Old invoker for groovy scripts.