# Configuration

{% tabs %}
{% tab title="config.lua" %}

```lua
Config = {}

Config.Laungage = "en" -- en, es, fr, hu, ja, ru ,zh

Config.UpdateInterval = 5 -- in minutes to update the playtime
Config.PointsToAdd = 5 -- if updateInterval = 5, that means every 5 minutes you get 5 points because PointsToAdd = 5.
-- Command
Config.UseCommand = true -- Enable or disable the command
Config.Command = "playtime" -- Command to use for the playtime shop

-- Basic
Config.AFKInSeconds = 60 -- Time in seconds to consider the player AFK
Config.UseOXInventoryImages = false -- Enable or disable the OX inventory images (Requires OX inventory system)

-- Add your items here
Config.Items = {
	{
		label = "NINEF", -- Label for the vehicle
		img = "ninef", -- Image for the vehicle
		price = 15000, -- Price for the vehicle
		vehicle = {
			vehName = "ninef", -- Vehicle model for the item
		},
	},
	{
		label = "Candy", -- Label for the item
		img = "candy", -- Image for the item
		price = 15000, -- Price for the item
		item = {
			itemName = "weapon_candycane", -- Item spawn name
			count = 1, -- Count of items to spawn
		},
	},
}

Config.UseEvents = false
Config.UseExports = false

```

{% endtab %}

{% tab title="en.lua" %}

```lua
Locales["en"] = {
	claim = "CLAIM", -- Text for claiming a vehicle
	playTimeShopTitle = "Play Time Shop", -- Title for the playtime shop
	ShopItemsTitle = "Shop Items", -- Title for the shop items
	search = "Search...", -- Search input placeholder
	playtimeRanking = "PLAYTIME RANKING", -- Title for the playtime ranking
	minutes = "minutes", -- Text for minutes
	viewShopItems = "VIEW SHOP ITEMS", -- Text for viewing shop items
	viewShopDescription = "You can buy in exchange for playing time!", -- Description for the playtime shop
	noResult = "There are no results!", -- Text for no results
	notEnough = "Can't afford", -- Text for not enough money
	claiming = "CLAIMING", -- Text for claiming a vehicle
	noAvailableRanking = "NO AVAILABLE RANKING", -- Text for no available ranking
}

```

{% endtab %}

{% tab title="es.lua" %}

```lua
Locales["es"] = {
	claim = "RECLAMAR",
	playTimeShopTitle = "Tienda de Tiempo de Juego",
	ShopItemsTitle = "Artículos de la Tienda",
	search = "Buscar...",
	playtimeRanking = "CLASIFICACIÓN DE TIEMPO DE JUEGO",
	minutes = "minutos",
	viewShopItems = "VER ARTÍCULOS DE LA TIENDA",
	viewShopDescription = "¡Compra con tiempo de juego!",
	noResult = "¡No hay resultados!",
	notEnough = "Tiempo de juego insuficiente",
	claiming = "RECLAMANDO",
	noAvailableRanking = "NO HAY CLASIFICACIÓN DISPONIBLE",
}

```

{% endtab %}

{% tab title="fr.lua" %}

```lua
Locales["fr"] = {
	claim = "RÉCLAMER",
	playTimeShopTitle = "Boutique du Temps de Jeu",
	ShopItemsTitle = "Articles de la Boutique",
	search = "Rechercher...",
	playtimeRanking = "CLASSEMENT TEMPS DE JEU",
	minutes = "minutes",
	viewShopItems = "VOIR LES ARTICLES",
	viewShopDescription = "Achetez en échange du temps de jeu !",
	noResult = "Aucun résultat !",
	notEnough = "Temps de jeu insuffisant",
	claiming = "RÉCLAMATION EN COURS",
	noAvailableRanking = "AUCUN CLASSEMENT DISPONIBLE",
}

```

{% endtab %}

{% tab title="hu.lua" %}

```lua
Locales["hu"] = {
	claim = "IGÉNYLÉS", -- Jármű igénylése
	playTimeShopTitle = "Játékidő Bolt", -- Játékidő bolt címe
	ShopItemsTitle = "Bolt Termékek", -- Bolt termékek címe
	search = "Keresés...", -- Kereső mező helyőrző szövege
	playtimeRanking = "JÁTÉKIDŐ RANGLISTA", -- Játékidő ranglista címe
	minutes = "perc", -- Perc szöveg
	viewShopItems = "BOLT MEGTEKINTÉSE", -- Bolt megtekintése gomb szövege
	viewShopDescription = "Játékidőért cserébe vásárolhatsz!", -- Játékidő bolt leírása
	noResult = "Nincs találat!", -- Nincs találat szöveg
	notEnough = "Nincs elég játékidőd!", -- Nincs elég játékidő hibaüzenet
	claiming = "IGÉNYLÉS FOLYAMATBAN", -- Jármű igénylés közben szöveg
	noAvailableRanking = "NINCS ELÉRHETŐ RANGLISTA", -- Nincs elérhető ranglista szöveg
}

```

{% endtab %}

{% tab title="zh.lua" %}

```lua
Locales["zh"] = {
	claim = "领取",
	playTimeShopTitle = "游戏时间商店",
	ShopItemsTitle = "商店物品",
	search = "搜索...",
	playtimeRanking = "游戏时间排行榜",
	minutes = "分钟",
	viewShopItems = "查看商店物品",
	viewShopDescription = "你可以用游戏时间兑换商品！",
	noResult = "没有找到结果！",
	notEnough = "游戏时间不足",
	claiming = "领取中",
	noAvailableRanking = "暂无排行榜",
}

```

{% endtab %}

{% tab title="ja.lua" %}

```lua
Locales["ja"] = {
	claim = "受け取る",
	playTimeShopTitle = "プレイタイムショップ",
	ShopItemsTitle = "ショップアイテム",
	search = "検索...",
	playtimeRanking = "プレイタイムランキング",
	minutes = "分",
	viewShopItems = "ショップアイテムを見る",
	viewShopDescription = "プレイ時間と交換で購入できます！",
	noResult = "結果がありません！",
	notEnough = "プレイ時間が足りません",
	claiming = "受け取り中",
	noAvailableRanking = "ランキングなし",
}

```

{% endtab %}

{% tab title="ru.lua" %}

```lua
Locales["ru"] = {
	claim = "ПОЛУЧИТЬ",
	playTimeShopTitle = "Магазин игрового времени",
	ShopItemsTitle = "Товары магазина",
	search = "Поиск...",
	playtimeRanking = "РЕЙТИНГ ПО ВРЕМЕНИ В ИГРЕ",
	minutes = "минут",
	viewShopItems = "ПОСМОТРЕТЬ ТОВАРЫ",
	viewShopDescription = "Вы можете купить за игровое время!",
	noResult = "Результатов нет!",
	notEnough = "Недостаточно игрового времени",
	claiming = "ПОЛУЧЕНИЕ",
	noAvailableRanking = "НЕТ ДОСТУПНОГО РЕЙТИНГА",
}

```

{% endtab %}
{% endtabs %}
