# Installation

> Install Sky Fire Job, prepare its dependencies and database, and complete the first server setup.

## Before starting the server

Complete all four parts of this installation: **the two Sky libraries, permissions, inventory items, and hose weapon support**. Copying `sky_firejob` into `resources` is only the first step.

Already installed an older version? Follow [Updating](./updating) instead of importing fresh SQL or resetting your saved configuration.

## Requirements

Before installing Sky Fire Job, update both required resources from the same CFX Portal account:

**Both libraries are included with your Fire Job purchase.** They need to be installed and kept current alongside Fire Job; you do not need to buy them separately.

- `sky_base`
- `sky_jobs_base`

Keep both dependencies up to date when updating the fire resource. Start your framework, inventory, and targeting resources before the Sky resources.

## Install the resource

<steps>

### Deploy the files

Place the `sky_firejob` resource in your server resources directory. Do not rename its resource folder.

### Configure the start order

Add the resource to `server.cfg` after its dependencies:

```cfg [server.cfg]
# Framework, SQL, inventory, target and configured integrations first
add_ace resource.sky_base command.add_ace allow
add_filesystem_permission sky_base write sky_jobs_base
add_filesystem_permission sky_base write sky_firejob

ensure sky_base
ensure sky_jobs_base
ensure sky_firejob
```

The ACE line lets Sky Base register configured administrator command permissions. These [filesystem permissions](/docs/installation#filesystem-permissions) allow Sky Base to save
files for Jobs Base and Fire Job. Keep them before the Sky `ensure` lines and perform a
**full server restart** after adding or changing them.

### Prepare the database

`Config.AutoExecuteQuery` is enabled by default in `config/config.lua`. With this option enabled, the resource creates and updates its tables automatically. **Do not also import import.sql in this default setup.**

If you disable automatic queries, import Jobs Base's supplied SQL first, then Fire's included `import.sql` into the same game database before use. Back up the database before updates; do not delete tables to repair an item or permission problem.

### Add inventory items

Add the items required by the systems you enable. The default setup uses `oil_absorbent`, `broom`, `foam_canister`, `fire_extinguisher_mount_kit`, `rescue_cushion`, `water_monitor`, `fire_heli_bucket`, `lighter`, `glas_hammer`, `hydrualic_spreader`, `fire_air_bottle`, and `fire_protective_mask`. Ready-to-use definitions and optional-item notes are listed on the [Inventory Items](../reference/inventory-items) page.

If you enable the three-way dividing breeching with `Config.Hose.dividing` or in `/jobconfig`, also register the usable item `fire_dividing_breeching` in your inventory. It places the divider; no placement command is needed.

Copy the supplied PNG files from `sky_firejob/config/inventory` into your inventory image folder. The configured item key `hydrualic_spreader` intentionally uses the supplied `hydraulic_spreader.png` icon filename.

<span id="configure-custom-hose-weapon-support-when-used-optional">



</span>



### Allow both hose weapons in your inventory

Fire Job includes **two nozzle models**. Both are supplied with the resource:

<table>
<thead>
  <tr>
    <th>
      Nozzle
    </th>
    
    <th>
      Custom weapon identifier
    </th>
    
    <th>
      Selection
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Normal nozzle
    </td>
    
    <td>
      <code>
        WEAPON_SKY_HOSE
      </code>
    </td>
    
    <td>
      Default
    </td>
  </tr>
  
  <tr>
    <td>
      EU nozzle / Hohlstrahlrohr
    </td>
    
    <td>
      <code>
        WEAPON_SKY_HOSE_EU
      </code>
    </td>
    
    <td>
      Optional alternative
    </td>
  </tr>
</tbody>
</table>

In `/jobconfig`, select **Fire Jobs > Hose > Nozzle > Nozzle model**. If you use file configuration instead, the values are `Config.Hose.nozzleModel = "normal"` and `"hohlstrahlrohr"`.

**For inventories that validate the equipped weapon, allow both identifiers before testing either nozzle.** Otherwise a hose can disappear as soon as it is equipped, or stop working after changing nozzle models. These are custom weapon identifiers used by the hose system; adding the normal Fire inventory items alone does not configure them.

<accordion>
<accordion-item label="ox_inventory">

Add this setting to `server.cfg` or a CFG it loads. Put it before `ensure ox_inventory` or before the resource group that starts Ox Inventory.

```cfg [server.cfg]
setr inventory:ignoreweapons ["WEAPON_SKY_HOSE","WEAPON_SKY_HOSE_EU"]
```

Keep any existing weapon names in the same JSON array. Check all loaded CFG files for a later `inventory:ignoreweapons` setting that overrides the list. After a full server restart, enter `inventory:ignoreweapons` in the server console to check that it shows both names. Reconnect, holster any equipped inventory weapon, and try taking the hose from a configured fire truck. [Ox Inventory configuration](https://overextended.dev/docs/ox_inventory#config)

**If the hose still disappears as soon as you take it**, open `ox_inventory/init.lua`. Find `client.ignoreweapons = ignoreweapons` and add these lines directly above it.

```lua [ox_inventory/init.lua]
ignoreweapons[`WEAPON_SKY_HOSE`] = true
ignoreweapons[`WEAPON_SKY_HOSE_EU`] = true
```

Keep the existing entries. Save the file, restart the server, and reconnect before testing again. If an Ox Inventory update replaces `init.lua`, reapply these two lines.

</accordion-item>

<accordion-item label="Jaksam Inventory: existing ignored-weapon list">

Find the inventory's ignored-weapon configuration. In versions that provide `integrations/cl_integrations.lua` with an `IGNORED_WEAPONS` table, add these entries **inside the existing table**:

```lua
[`WEAPON_SKY_HOSE`] = true,
[`WEAPON_SKY_HOSE_EU`] = true,
```

Keep the other entries already in that table. Follow your installed inventory version's layout if the file has moved, then fully restart the server and reconnect the test players.

</accordion-item>
</accordion>
</steps>

::

The two nozzle choices are separate from **water versus foam** and **simple versus enhanced pump panels**. Changing the nozzle model returns deployed attack hoses; take the hose again after switching.

### Configure media uploads when used

Report or tablet applications that save images or videos use the shared provider in `sky_jobs_base/config/webhooks.lua`. Configure FiveManage, Qbox CDN, or a custom adapter as described in [Media Providers](/docs/base/jobs-base/media-providers) before enabling a media workflow.

### Disable duplicate salaries

Set framework salary values for every firefighter grade to `0` when Sky Jobs Base manages salaries. Leaving both salary systems active can produce duplicate payments.

If you keep framework or external payroll instead, set `Config.Salary.enabled = false` in `sky_jobs_base/config/config.lua`.

### Configure administrator access

Install the global [permissions bootstrap](/docs/installation#permissions-bootstrap), assign your administrator group, and review the [Permissions](./permissions) page.

### Grant boss permissions

Run `/setboss` once for the highest firefighter grade after a fresh installation or after clearing `sky_job_permissions`.

For example, a firefighter job whose highest grade is `4` should be configured with `/setboss firefighter 4`.

### Configure the job

Restart the server, run `/jobconfig`, and select **Fire Jobs**. Configure jobs and enabled systems before inviting players on duty.

### Test the first workflows

Test one station entry, one garage vehicle, one storage access, one fire spawn, one hose connection, and one cleanup workflow before going live.
::

## First-start checklist

- The server console shows no missing dependency or database errors.
- `/jobconfig` lists **Fire Jobs**.
- Your firefighter job and intended grades exist in the framework.
- Required items exist in the selected inventory, with their images.
- Both hose weapon identifiers are allowed by the inventory when its weapon validation requires that setup.
- A test firefighter can go on duty and access the station features.
- A hose can be taken, used, and returned with each nozzle model you intend to offer.
- A nearby second player can see the active hose and rescue tool.
- A test fire can be created and extinguished.
- A test oil spill can be created, bound, and swept.
- The scenario creator opens for an authorized administrator.

<callout color="info" icon="i-lucide-info">

Most day-to-day settings are managed through `/jobconfig` when `Config.UseJobConfigurator` is enabled. Static and advanced settings remain in the open `config` directory.

</callout>

## Next steps

- [Configuration](./configuration)
- [Station Setup](./station-setup)
- [Fire and Hose System](../features/fire-and-hose-system)
- [Troubleshooting](../troubleshooting)

## Support

Need help? Our support team is always ready to assist.

<u-button color="neutral" icon="i-simple-icons-discord" label="Join Discord" target="_blank" to="https://discord.gg/sky-systems" variant="subtle">



</u-button>
