# Install Job / Items

***

## 🧰 Items - Install

OX, QBCore items and item images

{% file src="<https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FaiUB59a9PBNhA0kk4W1p%2FItems.rar?alt=media&token=3baa8d6c-18f8-4423-b9cf-28b8afb4ede9>" %}

***

## 💼 Job - Install

### **QBCore**  ⇒ How can you install job

{% hint style="info" %}
**You can follow this file path** ⇒ <mark style="color:yellow;">qb-core/shared/jobs.lua || qbx\_core/shared/jobs.lua</mark>
{% endhint %}

```lua
["hunter"] = {
		label = "Hunter",
		defaultDuty = true,
		offDutyPay = true,
		grades = {
				[0] = {
							name = "Hunter",
							payment = 0,
				},
		}
},
```

***

### ESX ⇒ How can you install job

By reading the SQL File below with ‘<mark style="color:yellow;">**phpmyadmin**</mark>’ or  ‘<mark style="color:yellow;">**HeidiSQL**</mark>’ , you install the necessary contents of the jobs on your server.

```sql
CREATE TABLE IF NOT EXISTS `jobs` (
  `name` varchar(50) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `whitelisted` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `jobs` (`name`, `label`, `whitelisted`) VALUES
	('hunter', 'Hunter', 0);


CREATE TABLE IF NOT EXISTS `job_grades` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `job_name` varchar(50) DEFAULT NULL,
  `grade` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  `label` varchar(50) NOT NULL,
  `salary` int(11) NOT NULL,
  `skin_male` longtext NOT NULL,
  `skin_female` longtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;


INSERT INTO `job_grades` (`id`, `job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
	(300, 'hunter', 0, 'employee', 'Hunter', 0, '{}', '{}');
```

***

{% hint style="success" %}
🥳🥳**Now you have installed the necessary ‘items’ and ‘’jobs‘’ for the hunting job to work on your server**.
{% endhint %}
