Hooks

Hooks are used to alter the behavior of a server to handle the Plugin (resource) code.

Player

 * On_BlueprintUse(Player p, BPUseEvent ae):void
 * On_Chat(Player player, ref ChatString text):void
 * On_Command(Player player, string command, string[] args):void
 * On_DoorUse(Player p, DoorEvent de):void
 * On_PlayerConnected(Player player):bool
 * On_PlayerDisconnected(Player player):void
 * On_PlayerGathering(Player p, GatherEvent ge):void
 * On_PlayerHurt(HurtEvent he):void
 * On_PlayerKilled(DeathEvent de):bool
 * On_PlayerSpawning(Player p, SpawnEvent se):UnityEngine.Vector3
 * On_PlayerSpawned(Player p, SpawnEvent se):void

Entity

 * On_EntityDecay(DecayEvent de):float
 * On_EntityDeployed(Player p, Entity e):void
 * On_EntityHurt(HurtEvent he):void
 * On_NPCHurt(HurtEvent he):void
 * On_NPCKilled(DeathEvent de):void

Server

 * On_PluginInit:void
 * On_ServerInit:void
 * On_ServerShutdown:void
 * On_Console(ref Arg arg, bool external):void

Items/Resources

 * On_ItemsLoaded(ItemsBlocks items):ItemDataBlock[]
 * On_TablesLoaded(Dictionary lists): Dictionary

Timer Callbacks: See TimedEvent for reference.