> For the complete documentation index, see [llms.txt](https://docs.0resmon.org/0resmon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-vipsystem/configuration.md).

# Configuration

## Configuration

### Tebex Link

If you want them to access your tebex from the in-game menu, you have to get this right

```lua
Config.TebexLink = "https://frkn.tebex.io/package/5530601"
```

### Purchase time

You can set the number of days players can own a car they buy here

```lua
Config.Day = 30 
```

### All settings related to Tebex installation are given below

## How is the system connected to tebex?

* Step 1 Login to Tebex
* Step 2 Click Game Servers <https://im.ge/i/OBBaRc>
* Step 3 Click Add Command <https://im.ge/i/OBBILG>
* Step 4 Write them in the places you see in the picture and press the update button. That's it. `buypack {"tid": "{transaction}", "mail": "{email}", "pname": "{packageName}", "price": "{price}"}` <https://im.ge/i/OBBU4a>
* Step 5 After purchasing, such a code will appear on the screen. tbx-4235671352a39516-02b362. He will write this code in the menu in the game after an average of 10 minutes and get his coin. <https://im.ge/i/OBBy48>

## Premium Member Discount System

* As you know, if you become a premium member, you can make discounts wherever you want.
* For example, I want premium members to get a discount when buying gas, let's do that.

Let's say you have such a money wipe command for a gas station.

```
RegisterNetEvent("frkn-fuelstation:server:PayForFuel", function(amount)
    local src = source
    if not src then return end
    local player = ESX.GetPlayerFromId(src)
    if not player then return end
    player.removeMoney(amount)
end)
```

All you have to do is delete the player.removeMoney(amount) part and add TriggerServerEvent('frkn-vipsystemv3:percent',amount). so it should look like below

```
RegisterNetEvent("frkn-fuelstation:server:PayForFuel", function(amount)
    local src = source
    if not src then return end
    local player = ESX.GetPlayerFromId(src)
    if not player then return end
    TriggerServerEvent('frkn-vipsystemv3:percent',amount)
end)
The amount written here may vary depending on your code. If you can't, you can contact me at the addresses at the bottom of the page.


# CONTACT

If there is a problem or you want to ask a question Discord: Furkann#4645 or [Discord 0RESMON](discord.gg/0resmon)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-vipsystem/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
