Class ScriptCompiler

java.lang.Object
net.citizensnpcs.api.scripting.ScriptCompiler

public class ScriptCompiler extends Object
Compiles files into ScriptFactorys. Intended for use as a separate thread - run(String, String) will block while waiting for new tasks to compile. Works with all installed system ScriptEngines. By default compatible with js via Nashorn/Rhino.
See Also: