Events

List of internal events Sandbox has

Using Events

sandbox.on("event", (arg1, arg2) => {
    console.log("Example Event")
});

Core Events

onResourceLoad

onResourceLoad(): void

An event that is run after a resource has started. Parameters none Returns void Side both

onResourceUnload

onResourceUnload(): void

An event that is run before a resource is stopped. Parameters none Returns void Side both

Chat Events

chat:addMessage

Last updated