# Job ranks

This file can be located in *peuren\_gruppe6/shared/sh\_main.lua.*

You can edit the pre-configured rank levels or add your new rank levels by following the examples.

```lua
Config.Ranks = {--Don't touch this
    Levels = {--Don't touch this
        [1] = {--Rank level id
            minXP = 0,--minimum needed xp to unlock this level
            job = 'atm'--When a player reaches this rank level he unlocks this job type
        },
        [2] = {--Rank level id
            minXP = 50,--minimum needed xp to unlock this level
            job = 'bank'--When a player reaches this rank level he unlocks this job type
        },
        [3] = {--Rank level id
            minXP = 1000,--minimum needed xp to unlock this level
            job = 'vault'--When a player reaches this rank level he unlocks this job type
        }
    }
}
```

## Jobs

This file can be located in *peuren\_gruppe6/shared/sh\_main.lua.*

```lua
Config.Jobs = {
    ['atm'] = {
        label = 'ATM JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from atms',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },  

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        }

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }
    },

    ['bank'] = {
        label = 'BANK JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from banks',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false 

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 1500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        }

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }
    },

    ['vault'] = {
        label = 'PACIFIC BANK JOB',--job rank type label name 
        description = 'You will be collecting or delivering money to and from Pacific bank',
        group = true,--Does this job type support groups?
        cancelPenalty = 100,--This means how mucj xp will a player loose who cancels a taken job, to disable this, set it to cancelPenalty = false

        rewards = {--Rewards that the players get after finishing the job
            account = 'bank', --Account to send money to, cash or bank
            perBag = 2500, --How much is paid for one single successfull pickup/delivery job
            groupMultiplier = true, --Multiply this number by the group count
            rankXp = 100 --Add rank xp after finished delivery
        },

        bag = {-- Money bag carrying
            item = 'money_bag',--If this has a set item name, it will give money bag as an item, to dissable this set item = false,
            model = 'xm_prop_x17_bag_01b',--Money bag model this is spawned only when you place it on the ground or in a vehicle
            disableSprint = false,
            disableJump = true,
            disableFight = false,      
            clothing = {--Bag clothing data
                --id is the clothing bag component id, drawable is the clothing item id and texture is the bags texture/color
                male = { id = 5, drawable = 45, texture = 0 },
                female = { id = 5, drawable = 45, texture = 0 }
            },
        },

        vehicle = {--Don't touch this
            model = 'stockade',--Vehicle spawn name
            cargo = {
                areaSize = vec3(0.8, 3.0, 8.0),
                spacing = vec3(0.29, 0.60, 0.17),
                offsetPos = vec3(0.3, 3, 0.43),      
                trunkBones = {
                    -- [door id, rage is 0 - 5] = bone name
                    [2] = 'dside_r',
                    [3] = 'pside_r'
                }
            },
        },

        --- gruppe6 Nspeedo vehicle bag offsets
        -- vehicle = {--Don't touch this
        --     model = 'g6speedo',--Vehicle spawn name
        --     cargo = {
        --         areaSize = vec3(0.8, 3.0, 8.0),
        --         spacing = vec3(0.29, 0.60, 0.17),
        --         offsetPos = vec3(0.3, 2.3, -0.25),      
        --         trunkBones = {
        --             -- [door id, rage is 0 - 5] = bone name
        --             [2] = 'dside_r',
        --             [3] = 'pside_r'
        --         }
        --     },
        -- }

        container = {
            model = 'prop_container_03_ld',
            color = 7,
            doors = {
                left = "prop_container_door_mb_l",
                right = "prop_container_door_mb_r", 
            }
        }
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://peuren.gitbook.io/peuren/peuren_gruppe6/configuration/job-ranks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
