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.