If enabled players can work towards various quests that give rewards
These quests are fully configurable and are based of the amount of rocks the player has mined
There is a command named miningquests that players can execute to view active quests they can claim or work towards detailing the rewards given and their current status
Config.Quests = {
Enabled = false, -- set to true to enabled quests (make sure to import sql file if enabled)
Quests = {
[1] = {--the key is the quest number and must be in sequence
rocksMined = 10, -- amount of rocks that must be mined
label = 'Mine 10 ores', -- label for menu
rewardType = 'cash', -- cash or item reward type
cash = 100, -- if rewardType type is cash how much should the player get
items = { }, -- if rewardType is items then define item rewards here and amounts given
},
[2] = {--the key is the quest number and must be in sequence
rocksMined = 100, -- amount of rocks that must be mined
label = 'Mine 100 ores', -- label for menu
rewardType = 'item', -- cash or item reward type
cash = 0, -- if rewardType type is cash how much should the player get
items = { -- if rewardType is items then define item rewards here and amounts given
{name = 'ironingot', amount = 25, },
{name = 'goldingot', amount = 3, },
},
},
[3] = {--the key is the quest number and must be in sequence
rocksMined = 500, -- amount of rocks that must be mined
label = 'Mine 500 ores', -- label for menu
rewardType = 'both', -- cash or item or both reward type
cash = 500, -- if rewardType type is cash how much should the player get
items = { -- if rewardType is items then define item rewards here and amounts given
{name = 'diamond', amount = 3, },
},
},
--add more quests as required
},
}