Your first quests
A weekly group with two quests and rewards, step by step.
- Copy
groups/daily.conftogroups/weekly.conf. The file name is the group's id:weekly. - Set the group:
group {
name = "Weekly"
mode = cycle
count = 2
claim = manual
sharing = solo
rerolls = 1
reset { type = cron, cron = "0 4 * * 1", zone = "Europe/Istanbul" }
}
rarities = [ { name = common, weight = 1 } ]
- Write the quests as a list:
quests = [
{
id = miner
name = "Deep miner"
rarity = common
tasks = [ { id = mine, type = block-break, block = [DIAMOND_ORE, DEEPSLATE_DIAMOND_ORE], amount = "8-16", reverse = true } ]
rewards = [ "[give-money] {500-1000}", "[message] Well dug, {player}." ]
}
{
id = hunter
name = "Hunter"
rarity = common
tasks = [ { id = kill, type = mob-kill, mob = ZOMBIE, amount = 50 } ]
rewards = [ "[console] give {player} diamond 2" ]
}
]
- Run
/uxmquests reload, then/quests. The window shows theweeklygroup; open it and the two quests are there. - Finish one and click it, or run
/quests claim weekly miner, to be paid. - To feed a battle pass, add
weeklytotasks.groupsinpasses/season.confand setbattlepass.enabled = true.
Plain words are shown as written. For a server with several languages, write @quest.miner.name and put the line in
every messages/ file; see Languages.
Related: Quests and tasks, Rewards and milestones
Was this page helpful?