> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# On mission start

> Triggered server side when a mission starts.

Event triggered on mission start.

```lua Event theme={null}
RegisterNetEvent("missions_creator:missionStarted", function(instanceId, missionId, players)

end)
```

### Parameters

| Name         | Data Type | Description                                                  |
| ------------ | --------- | ------------------------------------------------------------ |
| `instanceId` | integer   | Unique session ID                                            |
| `missionId`  | integer   | Mission ID, the one you see in the admin menu                |
| `players`    | table     | Table containing the players who participated in the mission |

<Note>
  Add this event in any server-side file you want to use it in.
</Note>


## Related topics

- [How to start](/missions-creator/how-to-start.md)
- [Server](/missions-creator/server/index.md)
- [Start a mission](/missions-creator/server/start-mission.md)
- [Get a mission template](/missions-creator/client/get-mission-template.md)
