# Job

**Job settings overview**

{% code title="Config.lua" %}
```lua
Config.allowedjobs = true -- Enable job check before using the UI [ true \ false ]
Config.allowedjobsname = {"hacker", "unemployed"}   -- Allowed job names (You can find\add it in MySQL table Jobs)
Config.allowedjobstxt = "You need an allowed job to use this." -- Hint if missing job
```
{% endcode %}

<mark style="color:blue;">**Config.allowedjobs**</mark>\
If <mark style="color:green;">true</mark> check the player job before using the UI, else if <mark style="color:red;">false</mark> disable the requirement.\
\
<mark style="color:blue;">**Config.allowedjobsname**</mark>\
List of allowed job names. Can be any jobs.\
\


{% hint style="danger" %}
If you are missing the hacker job in your server, run this sql query:
{% endhint %}

{% code title="SQL.sql" %}
```sql
INSERT INTO `jobs` (`name`, `label`) VALUES ('hacker', 'Hacker');
INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES ('hacker', 0, 'recruit', 'Recruit', 0, '{}', '{}');
INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES ('hacker', 1, 'boss', 'Boss', 0, '{}', '{}');
```
{% endcode %}

\
