DailyQuests
Missioni giornaliere e settimanali casuali per ogni giocatore: minare, piazzare, uccidere, pescare, craftare, cuocere, far riprodurre animali, mangiare e camminare. Menu con barre di progresso, premi in soldi (Vault), oggetti, XP o comandi, bonus quando le finisci tutte e reset automatico all'ora che scegli.
Installazione
- Scarichi il file dall'area clienti e lo copi nella cartella
pluginsdel server. - Avvii il server una volta: viene creata la cartella del plugin con
config.yml. - Incolli la sua licenza alla voce
license:e riavvii il server.
Comandi
Alias: /missions, /dq
| Comando | Permesso | Descrizione |
|---|---|---|
/quests | dailyquests.use | Apre il menu delle missioni (clic = prendi il premio) |
/dailyquests reload | dailyquests.admin | Ricarica config, missioni e lingue |
/dailyquests reset <player> [all|daily|weekly] | dailyquests.admin | Dà nuove missioni a un giocatore |
Permessi
| Permesso | Predefinito | Descrizione |
|---|---|---|
dailyquests.use | true | Aprire il menu e fare progressi |
dailyquests.admin | op | Ricaricare il plugin e resettare le missioni |
Creare le missioni
Le missioni sono in quests.yml, divise in daily e weekly. Ogni missione ha un type (BREAK, PLACE, KILL, FISH, CRAFT, SMELT, BREED, EAT, WALK), un target (nome del blocco, oggetto o mob, una lista, "any", oppure *_ore / oak_* per gruppi), un amount fisso o {min, max} e i rewards. Dopo le modifiche usa /dailyquests reload.
Premi
money serve Vault con un plugin di economia (es. EssentialsX); senza, i soldi non vengono mostrati né dati. items usa "oggetto:quantità", commands viene eseguito dalla console con {player}. Sotto bonus metti il premio extra per chi finisce tutte le missioni del giorno o della settimana.
Anti-abuso
Di base non contano i blocchi rotti che il giocatore ha piazzato, i mob degli spawner e i giocatori in creativa. Puoi anche escludere dei mondi con disabled-worlds.
File di configurazione
config.yml
# Your license key (you received it privately from our Discord bot). license: "PASTE-YOUR-LICENSE-HERE" # Message language: "en" (English) or "it" (Italiano). Files are in /lang and can be edited freely. language: en # When true, each player sees the messages in their own game language (when a file for it exists). use-client-language: true reset: # Timezone used for the resets, for example "Europe/Rome". "default" = the timezone of the server machine. timezone: default # Hour of the day (0-23) when new daily quests arrive. 0 = midnight. hour: 0 # Day of the week when new weekly quests arrive (MONDAY, TUESDAY, ... SUNDAY). weekly-day: MONDAY quests: # How many quests each player gets (max 7 each). The quests themselves are in quests.yml. daily-count: 3 weekly-count: 2 # true = everybody gets the same quests on the same day. false = each player gets their own random quests. same-for-everyone: false # true = the reward is given as soon as the quest is done. false = the player clicks the quest in /quests to claim it. auto-claim: true # Show the progress above the hotbar while the player works on a quest. progress-action-bar: true # Tell the player when new quests are available. announce-new-quests: true anti-abuse: # Breaking blocks that a player placed does not count (no place/break farming). ignore-placed-blocks: true # Mobs from spawners do not count for kill quests. ignore-spawner-mobs: true # Players in creative mode make no progress. count-in-creative: false # Worlds where quests make no progress. disabled-worlds: [] # Sound names from https://minecraft.wiki/w/Sounds.json -> "name:volume:pitch" ("none" = no sound) sounds: complete: "ui.toast.challenge_complete:0.6:1" claim: "entity.player.levelup:1:1.2" new-quests: "block.note_block.pling:1:1.5"
quests.yml
daily: miner: type: BREAK target: [stone, cobblestone, deepslate, cobbled_deepslate, andesite, diorite, granite, tuff] amount: {min: 64, max: 128} name: "Mine {amount} stone blocks" names: it: "Mina {amount} blocchi di pietra" icon: iron_pickaxe rewards: money: 150 xp: 40 ore-hunter: type: BREAK target: ["*_ore"] amount: {min: 10, max: 20} name: "Mine {amount} ores" names: it: "Mina {amount} minerali" icon: iron_ore rewards: money: 250 xp: 60 lumberjack: type: BREAK target: ["*_log", "*_stem"] amount: {min: 32, max: 64} name: "Chop {amount} logs" names: it: "Taglia {amount} tronchi" icon: iron_axe rewards: money: 120 items: ["apple:8"] farmer: type: BREAK target: [wheat, carrots, potatoes, beetroots, nether_wart, melon, pumpkin, sugar_cane] amount: {min: 32, max: 64} name: "Harvest {amount} crops" names: it: "Raccogli {amount} coltivazioni" icon: wheat rewards: money: 120 items: ["bone_meal:16"] zombie-slayer: type: KILL target: [zombie, husk, drowned, zombie_villager] amount: {min: 10, max: 20} name: "Kill {amount} zombies" names: it: "Uccidi {amount} zombie" icon: rotten_flesh rewards: money: 200 xp: 50 skeleton-slayer: type: KILL target: [skeleton, stray, bogged] amount: {min: 8, max: 15} name: "Kill {amount} skeletons" names: it: "Uccidi {amount} scheletri" icon: bone rewards: money: 200 items: ["arrow:32"] monster-hunter: type: KILL target: [zombie, skeleton, spider, creeper, enderman, witch, slime, husk, stray, drowned, cave_spider] amount: {min: 15, max: 30} name: "Kill {amount} monsters" names: it: "Uccidi {amount} mostri" icon: iron_sword rewards: money: 250 xp: 80 fisher: type: FISH target: any amount: {min: 5, max: 12} name: "Catch {amount} fish" names: it: "Pesca {amount} pesci" icon: fishing_rod rewards: money: 150 items: ["cooked_cod:8"] builder: type: PLACE target: any amount: {min: 64, max: 128} name: "Place {amount} blocks" names: it: "Piazza {amount} blocchi" icon: bricks rewards: money: 120 xp: 30 smelter: type: SMELT target: any amount: {min: 16, max: 32} name: "Smelt {amount} items" names: it: "Cuoci {amount} oggetti nella fornace" icon: furnace rewards: money: 120 items: ["coal:8"] walker: type: WALK amount: {min: 1000, max: 2000} name: "Walk {amount} blocks" names: it: "Cammina per {amount} blocchi" icon: leather_boots rewards: money: 100 xp: 30 breeder: type: BREED target: any amount: {min: 5, max: 10} name: "Breed {amount} animals" names: it: "Fai riprodurre {amount} animali" icon: wheat weight: 6 rewards: money: 120 items: ["wheat:16"] hungry: type: EAT target: any amount: {min: 5, max: 10} name: "Eat {amount} times" names: it: "Mangia {amount} volte" icon: cooked_beef weight: 5 rewards: money: 80 items: ["golden_carrot:4"] weekly: deep-miner: type: BREAK target: [diamond_ore, deepslate_diamond_ore] amount: {min: 8, max: 16} name: "Mine {amount} diamond ores" names: it: "Mina {amount} minerali di diamante" icon: diamond_pickaxe rewards: money: 1500 xp: 300 warrior: type: KILL target: [zombie, skeleton, spider, creeper, enderman, witch, slime, husk, stray, drowned, cave_spider, blaze, wither_skeleton, piglin_brute, phantom] amount: {min: 100, max: 150} name: "Kill {amount} monsters" names: it: "Uccidi {amount} mostri" icon: diamond_sword rewards: money: 1500 items: ["golden_apple:3"] master-builder: type: PLACE target: any amount: {min: 1000, max: 1500} name: "Place {amount} blocks" names: it: "Piazza {amount} blocchi" icon: bricks rewards: money: 1000 xp: 200 explorer: type: WALK amount: {min: 10000, max: 15000} name: "Walk {amount} blocks" names: it: "Cammina per {amount} blocchi" icon: compass rewards: money: 1000 items: ["ender_pearl:8"] master-fisher: type: FISH target: any amount: {min: 50, max: 80} name: "Catch {amount} fish" names: it: "Pesca {amount} pesci" icon: fishing_rod rewards: money: 1200 items: ["name_tag:2"] crafter: type: CRAFT target: any amount: {min: 200, max: 300} name: "Craft {amount} items" names: it: "Crafta {amount} oggetti" icon: crafting_table rewards: money: 1000 xp: 200 # Extra reward when a player finishes ALL their quests of the day / of the week. bonus: all-daily: money: 300 items: ["diamond:1"] all-weekly: money: 2500 items: ["diamond:5"]