# Scenario Creator and Hub

> Scenario drafting, runtime dispatch, sharing, ratings, thumbnails, and import workflows.

## Scenario creator

Sky Fire Job includes an in-game scenario creator for building custom firefighter missions. The current creator supports:

- Draft scenarios
- Fire tasks
- Oil spill tasks
- Props, vehicles, and peds
- Scenario copy flow
- Runtime spawning for mixed incidents

For human/animal task setup and the firefighter's complete operating sequence, see [Field rescues and animal incidents](./rescue-and-incident-tools#field-rescues-and-animal-incidents).

The creator opens through `/missioncreator` for authorized administrators.

### Create and test the first mission

1. Join in game as an administrator and run `/missioncreator`. Choose **Create scenario**, enter a name and description, and create the mission.
2. Open the mission for editing. Add the required fire, oil or rescue tasks and place them in the world using the placement prompts. Decorations alone do not create an extinguishing or rescue task.
3. Review each task's properties and save the mission. Keep unfinished missions as drafts.
4. Start the saved mission with **Start**. Check the actual scene with an on-duty firefighter: required equipment, task access, fire suppression, rescue and dispatch.
5. Use **Stop** to end that test. Confirm its scene is removed before starting it again or adding it to automatic missions.

The English labels are shown here. Placement keys appear on screen; confirm a placement before leaving the editor. If dispatch fails while the scene starts, read the error: an unavailable response plan must be replaced in the mission with a plan that exists under `/jobconfig > Dispatch`.

The Mission Creator only lists fire profiles allowed by `Config.FireScenarioCreator.firePresets`. Adding a material alone does not create a selectable fire type. Follow [Register a custom fire type](./fire-and-hose-system#register-a-custom-fire-type) to add the material, matching fire profile, and Mission Creator preset together.

## Scenario structure

The scenario editor uses separate task and decoration groupings so creators can keep operational content and scene dressing organized.

Scenario runtime can start with:

- Fire sources
- Oil spills
- Mixed incidents

## Scenario hub

The local scenario hub supports:

- Search
- Filters and sorting
- Grid and list display
- Author names
- Tags
- Import and download counters
- Likes and dislikes
- Thumbnail previews
- Share flow from the editor

Hub entries are stored in `sky_firejob_scenario_hub`.

### Import a community mission

Open the Hub from the Mission Creator, search for a mission, review its details and choose **Import**. Open the imported local mission, check its locations, models, fire profiles and dispatch settings for your server, then start one manual test. Importing a mission does not automatically add it to your automatic mission schedule.

<note>

The online Mission Hub uses signed requests with timestamps from the machine running FXServer. Keep that host's system clock synchronized; a clock that is too far ahead or behind can cause `expired_signature` errors. Follow [How to Sync Windows Server Time for the Sky Mission Hub](/en/blog/windows-server-time-sync), then click **Try again** or reopen the Hub.

</note>

## Sharing and thumbnails

The sharing flow allows creators to review:

- Scenario name
- Description
- Generated tags
- Content stats
- Author name
- Thumbnail

Save and test the local mission first. Open its share dialog, review its name, description and author, choose **Capture thumbnail**, frame the scene and confirm the capture. Check the preview before choosing **Share to hub**. Updating an existing publication uses **Update hub version**.

Thumbnail capture uses the built-in Sky Jobs Base camera and the Hub's supplied upload service. You do not need to install `screenshot-basic` or enter your own upload key for Hub thumbnails. This is separate from configuring a media provider for your department's tablet gallery.

If capture fails, check that Sky Jobs Base is current and running, reconnect the client, and retain the exact error for support. A local mission can still be tested before it is shared online.

## Random triggers and dispatch

`Config.FireScenarioCreator` can optionally:

- Trigger scenarios automatically on an interval
- Use chance-based activation
- Require a minimum on-duty firefighter count
- Use separate jobs for staffing eligibility and Dispatch recipients

Keep random triggers disabled until your scenario pool and staffing rules are fully tested.

For setup, open `/jobconfig > Fire Jobs > Automatic Missions`, add the already tested local missions, set staffing, interval and chance, then save. Automatic activation still depends on those conditions being met; a saved mission does not guarantee immediate dispatch. Test the intended on-duty job count and recipients before leaving automatic incidents enabled.

### Mission-specific Dispatch jobs

Each entry in `Config.FireScenarioCreator.randomTrigger.missions` supports two different job lists:

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Purpose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        jobs
      </code>
    </td>
    
    <td>
      Jobs whose on-duty staff satisfy that mission's automatic-trigger requirement
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        dispatchJobs
      </code>
    </td>
    
    <td>
      Jobs that receive the Dispatch incident when that mission starts
    </td>
  </tr>
</tbody>
</table>

Dispatch recipients are resolved in this order:

1. The mission's non-empty `dispatchJobs` list.
2. The global `Config.FireScenarioCreator.dispatch.jobs` list.
3. All configured Fire Job names when both lists are empty.

This lets a mission require on-duty firefighters from one set of jobs while notifying a broader or
different response group. In `/jobconfig`, open **Automatic Missions**, edit the mission row's
**Dispatch jobs** value, and use **Dispatch → Dispatch target jobs** for the global fallback. The
global `dispatch.enabled` switch must remain enabled for a Dispatch incident to be created.

Saved automatic-mission rows from before `dispatchJobs` existed are initialized from their previous
`jobs` value so an update does not silently change their recipients. Review both columns after
updating, especially when staffing jobs and notified jobs should differ.

## Related pages

- [Commands](../reference/commands)
- [Configuration](../setup/configuration)
- [Changelog](../changelog)
