Nucleus handler tools βΊ Docs βΊ Game βΊ OnStop
Game.OnStop
Open in the workbench (search, and try it in a handler)
Game.OnStop: () => void
Called when the session ends, with the last player's Context/Player. If it throws, Nucleus skips its cleanup (leftover processes, registry restore, temporary users, backups), so keep it error-free. Context is undefined if the session ends before the first instance was set up.
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback