![[PAID] WavePlayTimeRewards main image](https://forum-cfx-re.akamaized.net/optimized/4X/a/9/5/a95b7b94499fd47370b8a69f7e080539aad13a12_2_690x388.jpeg)
![[PAID] WavePlayTimeRewards thumbnail 1](https://forum-cfx-re.akamaized.net/optimized/4X/a/9/5/a95b7b94499fd47370b8a69f7e080539aad13a12_2_690x388.jpeg)
![[PAID] WavePlayTimeRewards thumbnail 2](https://forum-cfx-re.akamaized.net/original/4X/2/e/b/2ebba48359ae89f5f58e52d25b09b02b5eea6b54.gif)
Price
UnknownA script by AyyyZeN
Price
UnknownDescription
WavePlayTimeRewards is an amazing ESX & QBUS ready resource, allowing your players to be rewarded for their playtime on your server.
Every features is configurable and can be adapted to all your tastes!
Showcase
Watch the Showcase !
Tebex
WaveResources | Home (tebex.io) - 15€ + taxes
Features
Config Example
wavePlayTimeRewards = {
frameWork = "ESX", --ESX OR QBCORE
Language = "EN",
getSharedObject = "esx:getSharedObject",
Currency = "$",
settings = {
menu = {
menuCommandName = "rewards",
enableKey = true,
menuKey = "F10",
},
giveRewardToAllPlayersCommand = {
enable = true, --if enabled, will give a reward to all your players if you run the command from the console or from a whitelisted player
commandName = "giveAllReward",
whiteListedLicenses = {
["license:171a23d246444c95bd897754beb26aa197ab3570"] = true,
},
},
nbOfDraws = 30, -- number of random draws higher is better
giveVehicleEvent = "esx_vehicleshop:setVehicleOwned",
vehiclePlate = "REWARD",
},
playTimeRewards = {
enable = true, --It will give the reward that you set in the list according to player's playtime on the server
rewards = { --playTime is the needed playtime to get the reward ( in minutes )
--this is all possible rewards ( obviously you can edit whatever you want, only type must be -> item/weapon/vehicle/account)
-- you can add, edit, or remove rewards as much as you want
{playTime = 10,type = "item",name="bread",count=5},
{playTime = 20,type = "weapon",name="weapon_pistol",ammos=250},
{playTime = 30,type = "vehicle",name="blista"},
{playTime = 40,type = "account",name="money",amount=1000},
{playTime = 50,type = "account",name="black_money",amount=1000},
{playTime = 60,type = "account",name="bank",amount=1000},
},
},
loopedRewards = {
enable = true, -- if enabled, will give 1 random reward among the list every minutes you setted below
loopMinutes = 60, -- how often it will give reward (in minutes)
newPlayerRewards = {
enable = true,
maxTimePlayedConsideratedToBeNonNewPlayer = 120, --means that after this number ( in minutes) of timeplay, he will not be considerated as a new player
loopMinutesNewPlayer = 15, --how often it will give reward (in minutes)
},
rewards = { --chance is the percentage of chance between 0 and 1 to get the reward ( all chances arent needed to make sum of 1.0, we use our own random draw system)
--this is all possible rewards ( obviously you can edit whatever you want, only type must be -> item/weapon/vehicle/account)
-- you can add, edit, or remove rewards as much as you want
{type = "item",name="bread",count=5,label = "Sandwich",chance=0.3},
{type = "weapon",name="weapon_pistol",ammos=250,label = "Pistol",chance=0.2},
{type = "vehicle",name="blista",chance=0.3},
{type = "account",name="money",amount=1000,label = "Cash",chance=0.3},
{type = "account",name="black_money",amount=1000,label = "Dirt Money",chance=0.3},
{type = "account",name="bank",amount=1000,label = "Bank Money",chance=0.3},
},
winNotingChance = 0.01,
},
}
Check out our other resources !
WaveProperties - Properties/Garages Creator That You Need !
WaveSkills - Skills & Abilities
WavePlayTimeRewards - Rewards your players for their playtime
WaveVehiclesPreview - Vehicles Catalog & Exhibitions
See what others are saying about this script.
Share your experience and help others.