> For the complete documentation index, see [llms.txt](https://skeletonnetworks.gitbook.io/skeletonnetworks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skeletonnetworks.gitbook.io/skeletonnetworks/resources/sn-applicaions.md).

# SN-Applicaions

## Start Here

1. Download the SN-Applicaions file from [<mark style="color:red;">**keymaster**</mark>](https://keymaster.fivem.net/)<mark style="color:red;">**.**</mark>
2. Unzip the file and drag the resource anywhere inside your server files while keeping the name "SN-Applicaions" (If the name is changed the resource will not function)
3. Head to the `config.lua` and set your framework as true.
4. Proceed depending on your framework.

### Frameworks:

{% tabs %}
{% tab title="QBCore" %}
In \[qb] > qb-core > shared > items.lua add the following:

```lua
['job_application'] 			 = {['name'] = 'job_application', 				['label'] = 'Job Application', 			['weight'] = 0, 		['type'] = 'item', 		['image'] = 'job_application.png', 		['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Job Application'},
['application_results'] 		 = {['name'] = 'application_results', 			['label'] = 'Application Results', 		['weight'] = 0, 		['type'] = 'item', 		['image'] = 'application_results.png', 	['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Application results'},
```

{% endtab %}

{% tab title="ESX" %}
Make sure to run the ESXONLY.sql in your database to get the items
{% endtab %}

{% tab title="Ox Inventory" %}
In ox\_inventory > data > items.lua add the following:

```lua
['job_application'] = {
	label = 'Job Application',
	weight = 0,
	stack = false,
	close = true,
},

['application_results'] = {
	label = 'Application Results',
	weight = 0,
	stack = false,
	close = true,
},
```

{% endtab %}
{% endtabs %}

### Options:

Use these inside Questions = {}

{% tabs %}
{% tab title="LongAnswer" %}

<figure><img src="https://cdn.discordapp.com/attachments/900164862427156570/1074557722919436358/image.png" alt=""><figcaption></figcaption></figure>

### Usage:

Used for questions that require a text answer.

```lua
{
  Question = "Do you have pass experience at a dealership?",
  Type = 'LongAnswer',
}
```

{% endtab %}

{% tab title="Select" %}

<figure><img src="https://media.discordapp.net/attachments/900164862427156570/1074557760995340308/image.png" alt=""><figcaption></figcaption></figure>

### Usage:

Used for questions that require a single answer from a list of predefined options.

```lua
{
   Question = "Bugatti or Lamborghini?",
   Type = 'Select',
   Choices = {
      'Bugatti',
      'Lamborghini',
   }
}
```

{% endtab %}

{% tab title="Checkbox" %}

<figure><img src="https://cdn.discordapp.com/attachments/900164862427156570/1074562959386345512/image.png" alt=""><figcaption></figcaption></figure>

### Usage:

Used for questions that require multiple selected answers.

```lua
{
   Question = "What position are you applying for?",
   Type = 'Checkbox',
   Choices = {
      'Customer Service',
      'Cook',
      'Supervisor',
       'General Manager',
   }
}
```

{% endtab %}
{% endtabs %}

### Customizing:

```lua
ApplicaionTitle = 'What is displayed on top of the application', (Required)
TextColor = 'HexColor', (Optional) Changes the color of all the text.
PrimaryColor = 'HexColor', (Optional) Changes the page color.
SecondaryColor = 'HexColor', (Optional) Changes the secondary colors on the page.
AccentColor = 'HexColor', (Optional) Changes the color when you have something selected.
Placeholder = 'HexColor', (Optional) Changes the color of placeholder text.
```

### (Optional) Webhooks:

if you would like to use discord webhooks add:&#x20;

```lua
Webhook = 'Webhook url',
```

under any application&#x20;

### Example Application:

```lua
JobApplications['voyagesdealership'] = {
    Webhook = 'https://discord.com/api/webhooks/999/weburl',
    PrimaryColor = '#B2CBF4',
    SecondaryColor = '#5876A6',
    AccentColor = '#5876A6',
    Placeholder = '#FFFFFF',
    ApplicaionTitle = 'Voyages Application',
    Questions = {
        {
            Question = "Have you every had any experience in sales? (N/A if none)",
            Type = 'LongAnswer',
        },{
            Question = "Will you be partaking in criminal activity while in the city?",
            Type = 'Select',
            Choices = {
                'Yes',
                'No',
            }
        },{
            Question = "Do you understand at Vogages you will need to wear formal attire at all times while clocked in?",
            Type = 'Select',
            Choices = {
                'Yes',
                'No',
            }
        },{
            Question = "How will you stand out from everyone else who already works at the dealership? What would you bring to voyages? Please explain in detail",
            Type = 'LongAnswer',
        },{
            Question = "Are you a motivated person?",
            Type = 'Select',
            Choices = {
                'Yes',
                'No',
            }
        },{
            Question = "Do you understand that at voyages we do not discriminate against anyone and do not tolerate it?",
            Type = 'Select',
            Choices = {
                'Yes',
                'No',
            }
        },{
            Question = "Will you be hired at any other businesses?",
            Type = 'Select',
            Choices = {
                'Yes',
                'No',
                'Unsure',
            }
        },{
            Question = "Please briefly describe yourself and your backstory",
            Type = 'LongAnswer',
        }
    }
}
```
