# Config Information

**1. GENERAL SETTINGS**

**`UserNameStartLetter`**

* **Description:** Defines the prefix for character names. You can set your server name here.
* **Example:** If `"frkn_pixel"` is set, player names will start with this prefix.

**`TabletItem`**

* **Description:** The name of the item used by players to access the computer.
* **Default:** `"tablet"`

**`DroneObject`**

* **Description:** Selects the drone model to be used.
* **Default:** `"ch_prop_casino_drone_02a"`

**`MinerDistance`**

* **Description:** The maximum proximity for miner equipment to the computer.
* **Default:** `30.0`

**`ControlTime`**

* **Description:** Defines the interval for durability checks (in milliseconds).
* **Default:** `1000`

**`DurabilityDecrease`**

* **Description:** The amount of durability lost during each check.
* **Default:** `10`

***

**2. TEXT SETTINGS**

Various action texts displayed to players:

* **`HackText`:** `"Access Computer"`\
  \&#xNAN;*Text used for hacking a computer.*
* **`BuildText`:** `"Open Desk"`\
  \&#xNAN;*Text used for opening a desk.*
* **`MinerText`:** `"Open Mining Rack"`\
  \&#xNAN;*Text used for opening the miner rack.*
* **`PropUpdateText`:** `"Update Props"`\
  \&#xNAN;*Text used for updating props.*

***

**3. MESSAGE SYSTEM**

**Buyer and Player Messages**

* **`BuyerAutoMessages`:** Buyer messages offering deals. Examples:
  * `"Heard your goods are top-notch. Offer:"`
  * `"What do you have? I'll pay:"`
  * `"I have cash. How about:"`
* **`PlayerAcceptMessages`:** Messages sent when the player accepts a deal. Examples:
  * `"I accept the offer. Let's make the sale."`
  * `"Deal! I'm selling."`
* **`PlayerDeclineMessages`:** Messages sent when the player rejects a deal. Examples:
  * `"No thanks, not interested."`
  * `"Maybe next time, not selling."`

**System Messages**

* **`SystemAcceptMessages`:** Messages when the system accepts a deal.
  * `"Alright, the deal is made. Take the goods and here's your cash."`
  * `"Deal confirmed. Goods in your hand, cash in your pocket."`
* **`SystemDeclineMessages`:** Messages when the system declines a deal.
  * `"No worries, we can try again later."`
  * `"Offer declined. Be cautious out there."`

***

**4. CONTRACTS**

**`Contracts`**

* Each contract is customized for tasks or heists offered to players. Example contract:

```lua
luaKodu kopyala[1] = {
    name = "Bank Heist",               -- Task name
    category = "Bank Heist",           -- Task category
    cargoType = "BODY ARMOR, PLATES",  -- Cargo type for the task
    image = "../images/SPOILER_image.png", -- Task image
    coin = 50,                         -- Coins earned per task
    requirements = "trackchip",        -- Required item
    slot = 5,                          -- Slot to use
    timeOut = 1800000,                 -- Task duration (30 minutes)
    description = "With this task, you can initiate a detailed bank robbery.", -- Description
    event = "frkn-bankheist:start",    -- Event to start the task
    rank = {                           -- Roles for the task
        [1] = 'Hacker',
        [2] = 'Drone Operator',
        [3] = 'Saboteur',
        [4] = 'Leader',
        [5] = 'Gun / Fight'
    }
}
```

***

**5. INTEGRATIONS**

**Miner System**

* **`MinerRackItem`:** Defines coin generation multipliers for GPU miner equipment.
* **Example:**

```lua
luaKodu kopyala[1] = {itemName = "frkn_gpu_miner_1", itemImg = "gpu.png" , multiplier= 0.001},
[2] = {itemName = "frkn_gpu_miner_2", itemImg = "gpu.png" , multiplier= 0.002},
```

**Prop Management**

* **`PropsAll`:** Information about usable props.

```lua
luaKodu kopyala[1] = {itemname = "frkn_server1", label = "Server 1", hash = "1030147405", propname = "hei_prop_mini_sever_01"},
[2] = {itemname = "frkn_server2", label = "Server 2", hash = "1806543322", propname = "hei_prop_mini_sever_02"},
```

***

**6. APP STORE**

* **`AppStore`:** Applications available in the store for players to purchase.

```lua
luaKodu kopyala[1] = {
    appName = "HQ",
    appDesc = "Manage the HQ and unlock new features",
    appImg = "../images/app-11.png",
    appCoin = 0, -- Free
    appType = "open",
    appPage = "hq-page"
},
```

***

**7. WI-FI DIFFICULTY LEVELS**

* **`WifiConnectionTime`:** Settings for connection times based on difficulty.

```lua
luaKodu kopyala["Hard Level"] = {time = 3 * 360 * 10000}, -- 3-hour connection for hard level
["Mid Level"] = {time = 2 * 360 * 10000}, -- 2-hour connection for medium level
["Easy Level"] = {time = 1 * 360 * 10000}, -- 1-hour connection for easy level
```

***

**8. AUTHORIZATION SYSTEM**

* Levels define reliability and skills for players or NPCs:

```lua
luaKodu kopyala[1] = {name = "Trainee", level = 1},
[2] = {name = "Amateur", level = 2},
[3] = {name = "Professional", level = 3},
```

* **Trainee:** Reliability 30%, Robbery chance 20%.
* **Master:** Reliability 90%, Robbery chance 10%.
