NPCScriptManager

public final class NPCScriptManager

Wires EliteMobs NPC Lua scripts into Magmacore's shared LuaEngine.

NPC scripts now run on the same scripting runtime as FreeMinecraftModels props and EliteMobs bosses, so they inherit every Magmacore primitive (context.world incl. strike_lightning, zones, scheduler, cooldowns, log, ...) automatically. This replaces the old self-contained NPC Lua engine that only exposed a handful of NPC-specific helpers.

Properties

Link copied to clipboard
public final static String NAMESPACE

Functions

Link copied to clipboard
public static ScriptDefinition getDefinition(String fileName)
Link copied to clipboard
public static Path getScriptDirectory()
Link copied to clipboard
public static void initialize()
Link copied to clipboard
public static void shutdown()