From f89ea85b0b60b8d9bdd766918d30a4700dee2861 Mon Sep 17 00:00:00 2001 From: Zrips Date: Wed, 16 May 2018 18:12:59 +0300 Subject: [PATCH] Lets include daily quest example into jobConfig.yml --- src/main/java/jobConfig.yml | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/main/java/jobConfig.yml b/src/main/java/jobConfig.yml index c70f358f..df2718fd 100644 --- a/src/main/java/jobConfig.yml +++ b/src/main/java/jobConfig.yml @@ -77,6 +77,65 @@ Jobs: # Instead of providing item id and data you can provide skull owner name or UUID to use it in GUI # In this case you don't need to use Id and Data fields CustomSkull: Zrips + # Defines maximum amount of daily quests player can have from THIS job + # This will not have effect on overall quest amount player will have + maxDailyQuests: 3 + # Daily quests + # Each job can have as many daily quests as you want + # Players will have access to quests from jobs he is currently working at + Quests: + # Quest identification. Can be any ONE word or number or both of them. This doesnt have any real meaning but it cant repeat + 1: + # Quest name used for quests list, don't forget to enclose it with " " + Name: "Break Oak wood" + # Quest action can be any valid job action. Look at lower for all possible action types + Action: Break + # Target id or name. Comes in same format as it is for regular job action + Target: "17-0" + # Amount of actions players should perform to complete this quest + Amount: 300 + # Command list to be performed after quest is finished. + # Use [playerName] to insert players name who finished that quest + RewardCommands: + - "money give [playerName] 500" + - "msg [playerName] Completed quest!" + # Quest description to be used to explain quest requirements or rewards for player + RewardDesc: + - "Break 300 Oak wood" + - "Get 500 bucks for this" + # Defines chance in getting this quest. + # If you have set 10 quests and player can have only 2, then quests with biggest chance will be picked most likely + # This will allow to have some rare quests with legendary rewards + Chance: 40 + # Defines to which job level you want to give out this quest. + # Keep in mind that player will keep quest even if he is over level limit if he got new one while being under + # In example: player with level 2 takes quests and levels up to level 5, he still can finish this quest and after next quest reset (check general config file) he will no longer have option to get this quest + toLevel: 3 + # Defines from which level you want to give option to get this quest + # You can use both limitations to have limited quests for particular job level ranges + fromLevel: 5 + 2: + Name: "Zombie killer" + Action: Kill + Target: Zombie + Amount: 50 + RewardCommands: + - "money give [playerName] 2000" + - "msg [playerName] Completed quest!" + RewardDesc: + - "Kill 50 zombies" + - "Get 2000 for this!" + 3: + Name: "Chicken cooker" + Action: Smelt + Target: "COOKED_CHICKEN" + Amount: 20 + RewardCommands: + - "money give [playerName] 300" + - "msg [playerName] Completed quest!" + RewardDesc: + - "Cook some chicken breasts" + - "Get 300 for this!" ######################################################################## # Section used to configure what items the job gets paid for, how much # they get paid and how much experience they gain.