ScriptableEntity
Base class for anything that can be scripted with Lua. Plugins extend this for their specific entity types.
Functions
Link copied to clipboard
Build the primary context table entry for this entity.
Link copied to clipboard
The underlying Bukkit entity, if any.
Link copied to clipboard
The key name used in the Lua context table (e.g., "boss", "prop").
Link copied to clipboard
Returns the shared cooldown store for global cooldowns.
Link copied to clipboard
Returns the local cooldown store for a given script definition.
Link copied to clipboard
Current location for zone calculations.
Link copied to clipboard
Returns all hooks this entity type supports.
Link copied to clipboard
Return true when the host owns error reporting, for example revision-scoped suppression.
Link copied to clipboard
Whether the scripted owner should keep its runtime alive.
Link copied to clipboard
Called when ScriptInstance is shut down.
Link copied to clipboard
Resolve additional context values beyond standard ones.