Creating Quests
Creating Quests
Note: remember to use 4 spaces instead of a tab in YML files!
Name | Description |
---|---|
Name | The display name of the quest |
Start_Info | The text you see when you start a quest |
End_Info | The text you see when you finish a quest |
Type | The task type/objective. Full list on the bottom of the page |
id | What you have to kill/collect/destroy/etc, for multiple word items/mobs, use underscore, ie: zombie_pigman. For the villager quest type, just type the full name of the villager (no underscores). |
Amount | The amount of times you have to do the objective |
Worlds | Which worlds the quest is "progress able" in separated by a comma and space (, ). For no restriction, type "any" |
Reset_Time | The time in seconds the quest will not be available after finishing it. Also usable: -1 is not available again after finishing |
QuestsCompleted | Sets the quests the player has to finish first before he unlocks this quest, each separated by a comma and space ", ". Use -1 for no restriction |
(Requirement) id | The item that will be taken off the player in text. ie: diamond_axe |
(Requirement) Amount | The amount of items that will be taken off the player |
Level | The minimal level the player needs in order to get the quest |
- Quest types:
- Collect
- Kill
- Killplayer
- Killanyplayer
- Destroy
- Place
- Levelup
- Enchant
- Tame
- Craft
- Smelt
- TalkToVillager
- Killanymob
- Killmobbyname
- Use this in combination with MythicMobs or any other custom mob plugin to target bosses and rare mobs!
- Repair
- Goto
- ID is block location in the following syntax: x=y=z
- Triggers when in a certain radius
- Clickblock
- ID is block location in the following syntax: x=y=z
- Executecommand
Quest rewards
Name | Description |
---|---|
Permissions: Group | Puts the player in the new group, if the group exists |
Money | Gives a certain amount of money |
Item section | Gives a set amount of a set item (ie: diamond_axe). Set either one to -1 for no item reward. To give multiple item rewards, separate the ID's and amounts by a comma (no space!). |
Command | Sets a command that will execute when the player completes the quest. To use the player name, type <player> (case sensitive). ie: "kick <player>" to kick the player who completed the quest. If you do not want a command, leave the space empty, that includes NO SPACES. |
HeroesExp | Gives a certain amount of experience if Heroes is enabled |
Signs
To use signs for quests, simply put down a sign and use one of these formats:
Give random quest
Line 1: [EpicQuest]
Line 2: [Give]
Line 3: random
Line 4:
Give specific quest
Line 1: [EpicQuest]
Line 2: [Give]
Line 3: <number>
Line 4:
Turn in quests
Line 1: [EpicQuest]
Line 2: [Turnin]
Line 3:
Line 4:
Note: everything inside of the hooks [] are case sensitive!
The quest book
Enable the quest book in the config. Open it to show the quests you have and their progress. Simple!
Changes in 3.2
There is a new section in the quest file, which is "Requirements". This is to avoid confusion in what some other lines in the quest file would do such as "locked". In order to keep your old file, you need to change a few things per quest. Look at the new quest file to see how you need to set it up exactly.
- Add a Requirements section
- Rename "locked" to "QuestsCompleted" and move it to the Requirements section
- Move "Worlds" to the Requirements section
- Add a new section called "Item" to the Requirements in the same format as the reward item section
- Add a new "Level" line to the requirements
Hi Impossible24. I downloaded this and started modifying my own quests but I keep getting 'There are no more quests available' error.
Here is a copy of my quests.yml -http://anyhub.net/file/7pnr-quests.yml
I'm pretty sure it's all setup correctly - we've just customised it for my server, can you see any errors?
@Grimlexx It means you've already got all quests. That said, how much quests do you have in your quest book when you get this? What's your quest limit?
I can't get it to work, but I'm guessing it is because I'm running 1.2_3 =P
EDIT: Found a typo in my config file. However, the money reward doesn't seem to work. And yes, I have Vault installed =)
@Satukon
That might be because I have an older vault, though I'm not sure. Can you show me your config and a quest anyway?
Config
Quests
Thanks for adressing the problem =)
With chain quests do I put the reward like this
Rewards:
Quest: q5 or just "5", "quest 5" ?
Same with Worlds.... is it just 'end', 'enderverse', 'nether' 'netherworld' ?
Hey is there anyway you could clarify more on the Quest creation. I noticed I am not the only one of late who is asking about this and that. I am a server owner who is looking to add and adventure feel to his server and I feel your plugin would be great if the quest creation was better explained.
Mmm, I'm trying to think of a way how to explain every single line separately without making super confusing.. Suggestions?
Is there any way to assign the quests toa NPC so players have to interact with the NPC?
@apoisonedgift
No. I'll have to make a separate plugin for as an add-on to this one. (Which is totally possible because of the API.) Problem is that I don't yet know how to create npc's.
Ah okay. That's a shame... I will keep an eye on this though :) Cheers for the response... lotsa authors dont bother replying it seems. Keep up the good work.
Also - there are a few plugins that are designed to make NPCs, maybe you could just tie it into them somehow? I dunno if that's easier or not but yeah *shrugs*
@apoisonedgift
Sorry for the late response, but I'll see what I can do. :)
Im haveing errors whenever i upload a new quest in to the quest folder. i was wondering if you can tell me why? from what i see it should be fine.
q29: Name: Giving back to nature Start_Info: I would like for you to plant some trees for
mother nature! End_Info: Well done, i and mother earth thanks you. Tasks: '0': Type: place id: 06 Amount: 30 Rewards: Quest: -1 Permissions: Group: none Permission: Money: 5 Item: id: -1 Amount: -1 Worlds: jazzycraft, jazzycraft_the_end, jazzycraft_nether, fend, fnether, resource Only_Once: false Not_Random: false Specialy_Attained: true
two questions
1) How do I set a cooldown for the frequency of a repeatable quest? such as I only want a quest that can be completed once every 24 hour.
2) Is there a way to set quests to be obtained only from a sign or other specific location method. Such as I only want players to have the ability to pick up quests from the quest giving location instead of anywhere via command. I can see half of this is done by setting the quest to Not_Random but not sure how the person acquires the quest then.
Does not work with BOSEconomy, is it supported yet? I typed the name of it in the config exactly as i did here.
Thanks
@ryanwagner
Try ServerSigns plugin. My favourite one :)
Is the blocklist for replacing an item code with a name? How would I go about having a collection quest for wool? It has an error because of the colon in the item ID.
@Chanito91
I havn't used this plugin - but I imagine you would specify Vault instead of BosEconomy.
I have problem with BosEconomy too.. I tried to set Vault too, but its still not adding any money : / .. Maybe any1 know how to solve it?
When I get a quest to kill stuff if I use a bow and arrow it doesn't count towards the quest! Please help me out! Also where can I download more quests?