Class ScriptRuntime

java.lang.Object
de.luckymcdev.foundryengine.script.common.runtime.ScriptRuntime

public class ScriptRuntime extends Object
What happens to one bundle while the engine runs. Owns the compiled classes, the live entrypoint instances, the status and the failures. Nothing here is persisted.

Entrypoint construction, onLoad and onUnload all run under the policy's timeout. Loading an environment twice is a no-op; use unload() and recompile to reload.