PikaMug / Quests

Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
https://modrinth.com/plugin/quests.classic
MIT License
141 stars 104 forks source link

Numerous quests disappeared on server restart #2131

Closed LaBarata closed 9 months ago

LaBarata commented 1 year ago

What is your Quests version / build number (do not say "latest")?

4.8.2-b416

Describe the problem and how to replicate it.

Upon restarting my server, the plugin began giving errors and several previously fully functional quests simply disappeared from the game. Apparently one of my quests broke during the restart and is dragging the rest down but I’m not sure what’s wrong with it.

Any console errors to share?

[13:35:49 WARN]: me.blackvein.quests.exceptions.QuestFormatException: Requirement quests has unknown quest ID custom26, manually update it to a valid ID, see quest of ID custom10
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuestRequirements(Quests.java:2416)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuests(Quests.java:1970)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.lambda$delayLoadQuestInfo$3(Quests.java:845)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1483)
[13:35:49 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:35:49 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[13:35:49 WARN]: me.blackvein.quests.exceptions.QuestFormatException: Requirement quests has unknown quest ID custom10, manually update it to a valid ID, see quest of ID custom23
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuestRequirements(Quests.java:2416)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuests(Quests.java:1970)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.lambda$delayLoadQuestInfo$3(Quests.java:845)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1483)
[13:35:49 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:35:49 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[13:35:49 WARN]: me.blackvein.quests.exceptions.QuestFormatException: Requirement quests has unknown quest ID custom23, manually update it to a valid ID, see quest of ID custom24
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuestRequirements(Quests.java:2416)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuests(Quests.java:1970)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.lambda$delayLoadQuestInfo$3(Quests.java:845)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1483)
[13:35:49 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:35:49 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[13:35:49 WARN]: me.blackvein.quests.exceptions.QuestFormatException: Requirement quests has unknown quest ID custom24, manually update it to a valid ID, see quest of ID custom25
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuestRequirements(Quests.java:2416)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.loadQuests(Quests.java:1970)
[13:35:49 WARN]:        at Quests-4.8.2.jar//me.blackvein.quests.Quests.lambda$delayLoadQuestInfo$3(Quests.java:845)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101)
[13:35:49 WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1483)
[13:35:49 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[13:35:49 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:35:49 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[13:35:49 INFO]: [Quests] Loaded 25 Quest(s), 28 Action(s), 2 Condition(s) and 811 Phrase(s)
[13:35:49 WARN]: [Quests] Unable to consider custom objectives because quest for custom10 was null
[13:35:49 WARN]: [Quests] Unable to consider custom objectives because quest for custom23 was null
[13:35:49 WARN]: [Quests] Unable to consider custom objectives because quest for custom24 was null
[13:35:49 WARN]: [Quests] Unable to consider custom objectives because quest for custom25 was null

If applicable, can you provide an example quest from quests.yml?

Tap here to expand ```yaml custom10: name: Mule! Time to dig! ask-message: Alright, mule- Time to pull your weight! You wanna learn, you're gonna work! We need a new mineshaft dug- Head down there and get digging! Cholan will tell you where you're digging. Now GET, mule! finish-message: Pay attention, mule- It's time for your pay! If I'm gonna keep you around, I'm gonna need you alive, so listen up! You need to learn to protect yourself, so watch my movements closely, and put some HEART into it this time! It could save your life! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom26 stages: ordered: '1': locations-to-reach: - AvatarWorld 1980.0 53.0 976.0 reach-location-radii: - 5 reach-location-names: - The Mine Elevator finish-event: minetp start-message: Cholan is down in the deeper part of the mines- I should go see him to find out where to dig. The elevator is down the path behind me, Guoh is running it. complete-message: This is the deepest part of the mine. Time to find Cholan. '2': npc-uuids-to-talk-to: - 8f0aedbd-eeb5-4fce-b632-d808f7ffd984 start-message: Administrator Cholan should be down the hall to the right. complete-message: Ah, yes- You're the one Sha Fe Hon sent, correct? Yes, we've some work for you, certainly. objective-override: - Speak with Administrator Cholan! '3': locations-to-reach: - TheMinesMission2 73.0 137.0 1.0 reach-location-radii: - 5 reach-location-names: - New Mineshaft 1 start-message: Your task down here will be to dig a pair of new mineshafts into the end of the east tunnel. Head down the stairs opposite this room and tunnel in a straight line until you hit an andesite vein. Once there, dig the entire thing- That should be far enough. complete-message: This should be deep enough- I've found the andesite vein. I should tunnel along it to dig the second shaft. objective-override: - Dig the first new mineshaft! Tunnel to coordinates 73 137 1 '4': locations-to-reach: - TheMinesMission2 73.0 137.0 36.0 reach-location-radii: - 5 reach-location-names: - New Mineshaft 2 complete-message: That should be deep enough! Time to return to Administrator Cholan. objective-override: - Follow the andesite vein to dig the second mineshaft! '5': npc-uuids-to-talk-to: - 8f0aedbd-eeb5-4fce-b632-d808f7ffd984 finish-event: minereturntp complete-message: Ah, you've finished- Excellent work! I'm sure that Sha Fe Hon will be pleased with your work. Err... Why not tidy up a little before you see her? You're a bit of a mess... Err, forget I said anything. Quickly, off you go! Don't want to keep her waiting! objective-override: - Return to Administrator Cholan '6': npc-uuids-to-talk-to: - 46dad872-747d-4e7c-8f6b-e5379a704bf6 start-event: mission2reset delay: 3 start-message: I should go talk to Sha Fe Hon complete-message: Hey, mule! I heard you did some good digging down in the mines today! Sick of throwing rocks yet? No? Then I guess I'll teach you some more- I promised, after all! rewards: commands: - lp user promote earthbender - sudo b h eartharmor - sudo b h bulwark planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom11: name: A Tasty Bribe ask-message: Me? Oh, sure- I'm a firebender. Train you? I mean, I'm no Master Jeong Jeong, but maybe I could teach you a thing or two? finish-message: Ok, so! Lesson number one- Fire comes from the breath. Focus on your breathing. Now, you know how to shoot fire, but use the control you showed on that pork and instead just hold it in your hand, like this, and strike! npc-giver-uuid: dd968d3e-d4b8-4d05-8c57-1340dd883a3f stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: COOKED_PORKCHOP amount: 3 npc-delivery-uuids: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f delivery-messages: - Thank you. Only more to go! start-message: Tell you what- I missed lunch, so let's make that your first lesson. Show me what you can do- Use your Heat Control to cook three pieces of pork for me! complete-message: Mmm! Great work- That's a tasty lesson! Now it's time for my part of the bargain, I guess! rewards: commands: - lp user promote firebender - sudo b h firepunch planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom12: name: My First Firefight ask-message: Hey there- Did you come to learn some more firebending? I hope you brought lunch! finish-message: Now, Firebending is, at its core, a martial art- Your body and mind must be in sync, and you must strike precisely and powerfully! Use your fire and your body together, punch, punch, then try adding a kick- Like this! npc-giver-uuid: dd968d3e-d4b8-4d05-8c57-1340dd883a3f requirements: quests: - custom11 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: COOKED_PORKCHOP amount: 3 npc-delivery-uuids: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f delivery-messages: - Thank you. Only more to go! start-message: First... Let's get ourselves ready to train with a hearty meal! Bring me three cooked pork chops, that should get us started right! complete-message: Mmph, scrmf- Tasty work, Hotman! Now, let's get to the meat of it- Heh, I didn't even mean to do that... Anyways! Go out there and take down some monsters, keep our village safe and show me what you got! '2': mobs-to-kill: - Creeper - Skeleton - Husk mob-amounts: - 5 - 10 - 10 start-message: Get in there, stay focused and remember your training! complete-message: Yeah! Great fighting, Hotman! You definitely know what you're doing! rewards: commands: - lp user promote firebender - sudo b h firekick planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom13: name: A Hot Day's Work ask-message: Flamey-O, Hotman! Looking to learn some more firebending? finish-message: Now, for this lesson, you want to focus your fireblasts- Instead of a great big shot, try for a precise, controlled one! npc-giver-uuid: dd968d3e-d4b8-4d05-8c57-1340dd883a3f requirements: quests: - custom12 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: COOKED_PORKCHOP amount: 3 npc-delivery-uuids: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f delivery-messages: - Thank you. Only more to go! start-message: So! You know the drill- You wanna train, I wanna eat! Cook me some pork and I'll train you! complete-message: Mmmm, tasty as ever- Alright, a deal's a deal! '2': npc-uuids-to-talk-to: - 0317aaaf-1099-41ce-ab82-56adf10a6e4d start-message: So! Your task for today, my friend, is to head on down to the Fe Hon family mines and find a lady named Lashaa. She's hired us- And by us I mean you- To do a bit of work for them. Don't keep her waiting! complete-message: Hey there! Yaikan said he'd send someone by. Are you ready to work? '3': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: IRON_INGOT amount: 64 npc-delivery-uuids: - 0317aaaf-1099-41ce-ab82-56adf10a6e4d delivery-messages: - Thank you. Only more to go! start-event: LashaaOre start-message: '"So, fire fella! Here''s your job for today: Smelt this ore! You can work a forge way faster than my crew, and using your Fire Blast to light the ovens will save us a landslide on coal! Use the smelting tent just over there! Bring me back 64 iron ingots!' complete-message: Here we go! Sixty two, sixty three... Yup, all there! It's been great working with you, fire fella- Tell Yaikan we'll pay him in the usual way, won't you? '4': npc-uuids-to-talk-to: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f start-message: I should tell Yaikan I'm all finished here. complete-message: Hey, you made it! How were the mines? Did you meet Sha Fe Hon? Right, anyways- A deal's a deal, Hotman! rewards: commands: - lp user promote firebender - sudo b h fireball planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom14: name: A Not So Hot Journey ask-message: Flamey-O, Hotman! Are you ready to learn a little more? I've got a big one for you today! finish-message: So, time to make your fire bigger. You can whip out a shield of fire, but we're gonna work on blowing that right on up into an entire wall! Remember how that place made you feel, and let loose! npc-giver-uuid: dd968d3e-d4b8-4d05-8c57-1340dd883a3f requirements: quests: - custom13 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: COOKED_PORKCHOP amount: 3 npc-delivery-uuids: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f delivery-messages: - Thank you. Only more to go! start-message: Right, well, you know how this goes! First my belly gets full, then your head does! complete-message: Mmmmmm! Ok, ok, time to make with the bending, I get it. '2': locations-to-reach: - AvatarWorld 1822.0 97.0 -9999.0 reach-location-radii: - 5 reach-location-names: - The Spirit Oasis start-message: So! I've never been the best at explaining it, but power and knowledge come from all kinds of sources. Fire, water, air, earth, all draw on different strengths. I want you to go to the North Pole and visit the Spirit Oasis, meditate on it. complete-message: Hey, you're back! How was your trip? Meet anyone cute? rewards: commands: - lp user promote firebender - sudo b h walloffire planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom15: name: A New Master ask-message: Hey, Hotman! I've been looking for you! We need to have a chat! finish-message: Pay close attention- Fire must be tightly controlled at all times. Follow my movements, focus the fire in your hands and feet- With this energy, you will be able to take flight. Practice carefully. npc-giver-uuid: dd968d3e-d4b8-4d05-8c57-1340dd883a3f requirements: quests: - custom14 stages: ordered: '1': locations-to-reach: - AvatarWorld 3325.0 64.0 -5565.0 reach-location-radii: - 1 reach-location-names: - Yaikan's Cart start-message: Ok, so- I've been teaching you what I can, but it's becoming obvious you need some real, serious instruction- So, I'm sending you to MY master. He lives out in the desert- We'll need to drive at least part of the way, hop in my cart when you're ready. complete-message: Ok, off we go! This'll be quite a ride, so get some sleep! '2': npc-uuids-to-talk-to: - eba97635-4232-4747-b4b3-bf743fba5f22 start-message: Right, I need to journey across this desert to find Jeong Jeong. I think Yaikan said he lived in a tent near an oasis... complete-message: So, you are . Yaikan has told me about you- I hear that you have quite some talent for Firebending. Hmm... Yes, I see he didn't exaggerate, you have quite some potential. Very well, I will train you. rewards: commands: - lp user promote firebender - sudo b h firejet - player b h jets planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom16: name: Seaward Survivalism ask-message: You return again, excellent! I have more tasks for you to complete, but you will need additional training first. finish-message: So, now that you've spent so much time with the fish, you have an idea of how they move, how they act with the currents, what gets their attention- Try something like this... npc-giver-uuid: d1f0cfb8-7fa0-44f6-90ef-8e07edc199d6 stages: ordered: '1': npc-uuids-to-talk-to: - 11796b19-ae34-4b1f-b085-b66d20c14778 start-message: So! I wish to send you further afield, but you require more lessons before I can do that. You must be taught to properly fend for yourself. Waterbending can feed you- Meet with Huniq in the fish market and ask him to teach you to fish like a waterbender. complete-message: Hello there! Master Pakku sent you, did he? Well, I can't say no to him, can I? '2': fish-to-catch: 10 start-event: HaniqRod start-message: So! Before I can teach you to fish with waterbending, I need to see what you can do with a rod and reel- Take this one! Catch me ten fish, just so I can see what you can do already. complete-message: Alright, that's some good fishing! You're not half bad, but I can make you better! rewards: commands: - sudo b h wakefishing permissions: - bending.ability.wakefishing permission-worlds: [] planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom17: name: Desert Meditations ask-message: Are you prepared to learn more of firebending? I will train your mind first, then your body. finish-message: Very well, I can see you have considered my teachings a great deal- I will train you. Focus on the heat inside you, hold it, let it burn inside your stomach, feel it grow... And release! Please meditate hard on my teachings. npc-giver-uuid: eba97635-4232-4747-b4b3-bf743fba5f22 requirements: quests: - custom15 stages: ordered: '1': place-block-names: - CANDLE place-block-amounts: - 16 place-block-durability: - 0 start-event: jeongjeongcandle condition: CircleMeditation delay: 30 delay-message: I should ponder the nature of fire for some time, and be careful not to leave the circle while I do. start-message: The first thing you must always remember is that fire is dangerous. It brings only death, destruction and pain. It is a burning curse we both share, and one we must master. Take these candles and place them on the circle outside. Meditate there on this. complete-message: I have placed the candles as Jeong Jeong instructed- Time to meditate '2': npc-uuids-to-talk-to: - eba97635-4232-4747-b4b3-bf743fba5f22 start-event: CircleReset start-message: I believe I have internalized what Jeong Jeong meant for me to learn- I should return to him. complete-message: Ah- Through meditating, are we? rewards: commands: - lp user promote firebender - sudo b h fireburst planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom18: name: Desert Brawl ask-message: Are you ready to learn more? If so, I have more to teach. finish-message: 'Jeong Jeong: Pay close attention and exercise extreme discipline! Use the fire inside to stoke the flames outside, cause the fire around you to roar with rage!' npc-giver-uuid: eba97635-4232-4747-b4b3-bf743fba5f22 requirements: quests: - custom17 stages: ordered: '1': npc-uuids-to-talk-to: - c81acfd0-a8aa-478b-b49c-407c8aa13e35 start-message: Your fire comes from deep inside you- You are the vessel for the flame. To hone your flame you must hone your body. Find Yaikan on the mesa to the south- The pair of you will spar without bending. complete-message: Hey there! Master Jeong Jeong says we're supposed to spar, right? '2': npc-uuids-to-kill: - c81acfd0-a8aa-478b-b49c-407c8aa13e35 npc-kill-amounts: - 1 start-event: selectYaikan finish-event: YaikanPostFight delay: 3 start-message: 'Yaikan: Ok, let''s do this! I''ll let you take the first swing. Remember- No bending!' complete-message: 'Yaikan: Ow! Ok, ok, you got me! I yield! Jeez, when did you get so strong? Wait... Who''s that over there?' objective-override: - Defeat Yaikan! '3': npc-uuids-to-kill: - 0e20e2f5-6cfd-4caa-b88d-af739f3ea26f - f34812fe-af20-4096-958f-959ad9dd26cf - 82d0fd13-dbd8-46f6-93a9-e31960c17557 - 5a81569a-0a37-47ff-90ac-97cff4dc8cac npc-kill-amounts: - 1 - 1 - 1 - 1 start-event: Ambush1 start-message: 'Masked Man: There they are, I told you there were benders out here! Quick, get ''em!' complete-message: 'Yaikan: What the- Who WERE those guys?! You''d better go back and tell Master Jeong Jeong about this!' objective-override: - Defend yourselves from the masked men! '4': npc-uuids-to-talk-to: - eba97635-4232-4747-b4b3-bf743fba5f22 start-message: 'Yaikan: This is something he definitely needs to know! Who WERE those guys, anyways?' complete-message: 'Jeong Jeong: Attacked, you say? By who? This is most troubling news! Pay close attention, your training is more important now than ever.' rewards: commands: - lp user promote firebender - sudo b h ragingfire planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom19: name: A Letter To An Old Friend ask-message: Ah, here you are. Your recent encounter has worried me- I believe I have a task for you. finish-message: Now, my friend, about those men who attacked you... I have absolutely no idea who they were! However, Jeong Jeong has asked me to teach you, and so I will. Drink the tea and feel the fire in your belly- This is why I was once called The Dragon of the West! npc-giver-uuid: eba97635-4232-4747-b4b3-bf743fba5f22 requirements: quests: - custom18 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: GLOBE_BANNER_PATTERN meta: ==: ItemMeta meta-type: UNSPECIFIC display-name: '{"extra":[{"text":"Jeong Jeong''s Letter to Iroh"}],"text":""}' lore: - '{"extra":[{"text":"A neat bundled scroll"}],"text":""}' - '{"extra":[{"text":"Address: The Jasmine Dragon"}],"text":""}' - '{"extra":[{"text":"Care of one Iroh"}],"text":""}' npc-delivery-uuids: - 34421ceb-6cf5-463c-8a2b-af8ae2303468 delivery-messages: - Thank you. Only more to go! start-event: jeongjeongletteriroh start-message: Your attackers worry me- I know not what they're planning, and I feel it unwise not to prepare. Take this letter to the Earth Village- A legendary firebender is living there, and I- What? You've met? Well, just bring this to Iroh. complete-message: Welcome back, my young friend! It is a pleasure to see you, as always. Hmm? What's that? A letter for me? You shouldn't have! Now, let me see... objective-override: - Deliver Jeong Jeong's letter to Iroh at The Jasmine Dragon! '2': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: DANDELION amount: 3 npc-delivery-uuids: - 34421ceb-6cf5-463c-8a2b-af8ae2303468 delivery-messages: - Thank you. Only more to go! start-message: I see, I see... This is certainly news to ponder... There's only one thing to do in times like these, my young friend, and that's to share a pot of tea! Could you please fetch me three dandelions? Their roots make a wonderful tea! complete-message: Oh, marvelous! These will do wonderfully. Please, have a seat- I will be done brewing this shortly. '3': use-block-names: - JUNGLE_STAIRS use-block-amounts: - 1 use-block-durability: - 0 start-message: Just have a seat anywhere, I'll be right with you. complete-message: Here we are! Some lovely dandelion root tea! Now, we have much to discuss. objective-override: - Have a seat and wait for Iroh rewards: commands: - lp user promote firebender - sudo b h firebreath - sudo b h flamebreath planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom20: name: The Perfect Cup of Tea ask-message: Ah, you're here- Excellent! I have news and a favour to ask of you, my young friend! finish-message: Now, as for what to do... I'm unsure as to whether there is any way we can act against them now, so we must wait for them to come to us. Be vigilant and stay safe. Oh, I've talked so much your tea has gotten cold! I'll show you how to fix that- npc-giver-uuid: 34421ceb-6cf5-463c-8a2b-af8ae2303468 requirements: quests: - custom19 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: BLUE_ORCHID amount: 3 - ==: org.bukkit.inventory.ItemStack v: 3337 type: ALLIUM npc-delivery-uuids: - 34421ceb-6cf5-463c-8a2b-af8ae2303468 - 34421ceb-6cf5-463c-8a2b-af8ae2303468 delivery-messages: - Thank you. Only more to go! - Thank you. Only more to go! start-message: If you would be so kind, my young friend, could you please fetch me three blue orchids and an allium flower? The tea I will be able to make from this will help us figure out a proper plan! complete-message: Ah, my young friend- You never disappoint! Please, take a seat while I brew the tea. '2': use-block-names: - JUNGLE_STAIRS use-block-amounts: - 1 use-block-durability: - 0 start-message: Have a seat wherever you please! complete-message: Here we are- A fresh cup of tea! Now, as for the matter of your attackers- I have heard rumours of those who hold a grudge against those who are able to control the bending arts, and I believe that is who you met. You should be on your guard. objective-override: - Sit down to wait for Iroh rewards: commands: - lp user promote firebender - sudo b h boil planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom21: name: Sources of Wisdom ask-message: Welcome back, my young friend! I have a suggestion, if you're willing to hear me out. finish-message: You've paid close attention to the currents of the water- Now it's time to pay attention to the currents of fire within yourself. Pay close attention, and let the fire swirl around you! npc-giver-uuid: 34421ceb-6cf5-463c-8a2b-af8ae2303468 requirements: quests: - custom20 stages: ordered: '1': fish-to-catch: 10 start-message: Now, one thing that I know for certain... It is important to draw wisdom from many different sources. If you take it from only one place, it becomes rigid and stale. Perhaps you should study water for now... Maybe take a relaxing fishing trip! Gahahaha! complete-message: That was a lot of fishing, but... Iroh had a point. The way it ebbs and flows... '2': npc-uuids-to-talk-to: - 34421ceb-6cf5-463c-8a2b-af8ae2303468 start-message: I should return to Iroh for now. complete-message: Well! You've certainly made yourself at home with the fishes! Did you have a good time? rewards: commands: - lp user promote firebender - sudo b h firespin planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom22: name: The Road Less Well Traveled ask-message: 'Iroh: Welcome back, my young friend- I think I have some ideas about your situation, if you are willing to hear them!' finish-message: I see... A group focused on attacking benders... I understand their motivations, at least- We wield a powerful and dangerous art. Still, we cannot allow them to act as they please. For now, let us continue your training. Focus on a circular motion... npc-giver-uuid: 34421ceb-6cf5-463c-8a2b-af8ae2303468 requirements: quests: - custom21 stages: ordered: '1': locations-to-reach: - BigCanyonMap -4.0 70.0 -12.0 reach-location-radii: - 5 reach-location-names: - Camino Desert start-event: irohletterjeongjeong start-message: 'Iroh: I have heard rumours of a group who hold such sentiments against the bending arts and seek to strike against those able to wield them. Please take this letter to Master Jeong Jeong, he will be able to guide you further. Please, my friend, be careful!' complete-message: Hey, look- There they are! I told you they'd have to come through here! Get 'em! objective-override: - Head through the tunnel to Camino Canyon! '2': npc-uuids-to-kill: - f34812fe-af20-4096-958f-959ad9dd26cf - 82d0fd13-dbd8-46f6-93a9-e31960c17557 - 5a81569a-0a37-47ff-90ac-97cff4dc8cac - 0e20e2f5-6cfd-4caa-b88d-af739f3ea26f npc-kill-amounts: - 1 - 1 - 1 - 1 start-event: Ambush2 start-message: Defend yourself against the masked men! complete-message: I think that was all of them- Have they been watching me? I'd better hurry to Jeong Jeong, he'll want to know about this! objective-override: - Defeat all four of your attackers! '3': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: GLOBE_BANNER_PATTERN meta: ==: ItemMeta meta-type: UNSPECIFIC display-name: '{"extra":[{"text":"Iroh''s Letter To Jeong Jeong"}],"text":""}' lore: - '{"extra":[{"text":"This, a tea-stained scroll"}],"text":""}' - '{"extra":[{"text":"holds an important letter"}],"text":""}' - '{"extra":[{"text":"addressed to Jeong Jeong."}],"text":""}' npc-delivery-uuids: - eba97635-4232-4747-b4b3-bf743fba5f22 delivery-messages: - Thank you. Only more to go! start-message: I'd better return to Master Jeong Jeong before anything else happens! complete-message: 'Jeong Jeong: So you return- I trust you''ve had enough tea to drown an eelshark? ...Attacked again? And they knew you were coming? This is troubling news indeed. Ah, a letter from Iroh? Please, let me have that.' rewards: commands: - lp user promote firebender - sudo b h firewheel planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom23: name: It's off to work you go! ask-message: Hey, Mule! Great job on the mineshafts- I guess you have some real potential after all! Ready to get back to work? finish-message: Great work, Mule! You can be useful when you put your mind to it, see? Now, I'm gonna teach you some tricks for a proper scrap! As an Earthbender, your feet are one of your best weapons, a constant connection to the earth! Now! Pay attention, Mule! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom10 stages: ordered: '1': break-block-names: - GOLD_ORE - IRON_ORE break-block-amounts: - 10 - 10 break-block-durability: - 0 - 0 items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: GOLD_INGOT - ==: org.bukkit.inventory.ItemStack v: 3337 type: IRON_INGOT npc-delivery-uuids: - 46dad872-747d-4e7c-8f6b-e5379a704bf6 - 46dad872-747d-4e7c-8f6b-e5379a704bf6 delivery-messages: - Keep hauling, Mule- Only more to go! - Keep hauling, Mule- Only more to go! start-message: Alright! You work for me, I pay you in bending lessons! Agreed? Agreed! Go see Guoh and get your butt down into the mines, you've got some digging to do! Just head outside the red lines and dig as you please! Iron and gold, 10 each! Hyah, get to it, Mule! complete-message: Good work, Mule- Slow, but good! You'll be a capable employee yet! rewards: commands: - lp user promote earthbender - sudo b h earthline - sudo b h earthkick planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom24: name: Fighting Dirty ask-message: Look alive, Mule! We've got trouble! Come on, already- We good to go? finish-message: That's the way, Mule! You show them what it means to mess with the Corporation! Here, lemme teach you a couple tricks for fighting dirty- A stable stance is important for bending, and disrupting an opponent's stance can give you an advantage! Watch close! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom23 stages: ordered: '1': mobs-to-kill: - Zombie - Creeper - Skeleton mob-amounts: - 10 - 10 - 10 start-message: Good, get ready to head to work! We're having problems with monsters showing up at camp, and the golems just aren't enough to keep them away. I need you to head on up there and teach those things what it means to mess with the Corporation! Get to it, Mule! complete-message: That should be all of the monsters Sha Fe Hon wanted me to deal with- I should go see her. rewards: commands: - lp user promote earthbender - sudo b h burrow planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom25: name: Work Hard Play Hard ask-message: Hey hey, Mule! Good work chasing those things off! You've had a good week overall- We're all going to have a few drinks, you in? finish-message: Well done! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom24 stages: ordered: '1': npc-uuids-to-talk-to: - 46dad872-747d-4e7c-8f6b-e5379a704bf6 planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true custom26: name: Contractual Obligations ask-message: Hey, Mule- Ready to work? I've got another job for you! finish-message: Well, if I'm gonna keep you around, I'm gonna have to teach you to dig. DIG dig, like an earthbender! It's like throwing a rock, just- PUSH it! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom9 stages: ordered: '1': items-to-deliver: - ==: org.bukkit.inventory.ItemStack v: 3337 type: CREEPER_BANNER_PATTERN meta: ==: ItemMeta meta-type: UNSPECIFIC display-name: '{"extra":[{"text":"SFH Mining Corp Contract"}],"text":""}' lore: - '{"extra":[{"text":"Sha Fe Hon''s Contract"}],"text":""}' - '{"extra":[{"text":"This looks very official-"}],"text":""}' - '{"extra":[{"text":"Deliver to Yaikan!"}],"text":""}' npc-delivery-uuids: - dd968d3e-d4b8-4d05-8c57-1340dd883a3f delivery-messages: - Thank you. Only more to go! start-event: SFHContract finish-event: Pay100 start-message: Alright, Mule- Got an easy one for you today- You get to take a trip! Get this out to Yaikan in the fire town, then come back and see me. complete-message: 'Yaikan: Oh, hey- You''re from the mine, right? Thanks for this, I''ll have it squared away. Tell Sha Fe Hon I appreciate the business! And here, this is for you!' '2': npc-uuids-to-talk-to: - 46dad872-747d-4e7c-8f6b-e5379a704bf6 start-message: Time to head back to the mines and tell Sha Fe Hon I delivered the contract. complete-message: Hey, Mule, you're back! Did you get it done? Good to hear! rewards: commands: - lp user promote earthbender - sudo b h earthtunnel planner: override: false options: allow-commands: true allow-quitting: true ignore-silk-touch: true use-parties-plugin: true share-progress-level: 1 same-quest-only: true share-distance: 0.0 handle-offline-players: false ignore-block-replace: true ```
PikaMug commented 1 year ago

Quests are loaded from the file top-to-bottom so, for example, the first error you have quest ID custom10 trying to reference quest ID custom26. Since custom26 comes after custom10, it hasn't been loaded yet, thus issue.

This has been a long-standing problem which I haven't found a good solution for. The temporary fix is to simply move custom10 to later in the file (and perhaps rename it to custom27 or some higher number), but I will leave this issue open until it can be properly addressed (which may take a while).

LaBarata commented 1 year ago

Thank you so much, this has been driving me absolutely crazy for like three days. This will definitely be something I’ll need to do some thinking to figure out, as 26 is supposed to be quest 2 in a 20something quest string that I added in later after realizing I’d missed a step.

Do the quest numbers need to be in order or is it the order in the config itself that matters? Would just physically moving 26 above 10 work?