pikamug / quests Goto Github PK
View Code? Open in Web Editor NEWEasy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
Home Page: https://modrinth.com/plugin/quests.classic
License: MIT License
Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
Home Page: https://modrinth.com/plugin/quests.classic
License: MIT License
In your issue, please include:
Failure to provide the first 2 bullets may result in your issue being closed!
In your issue, please include:
Spigot 1.12 (but it give the same result on 1.11.2)
Quests 2.9.0 (build 140)
The problem is that I can't progress to a second stage after delivering the quest items.
Quest stage 1:
Break 64 iron ore blocks.
Deliver 64 iron ore to Hogard (the quest giver).
Quest stage 2 (never arrives). Gets stuck there.
Quest File Content:
custom3:
name: Bucket List
npc-giver-id: 16
ask-message: Do you want to help me? I have got some gold if you are interested!
finish-message: Thanks a lot, you helped me a great deal. Here be thy gold!
gui-display: name-BUCKET:amount-1
requirements:
items:
Error:
ug when completing stage 1 it does NOT progress to stage 2.
Could not pass event NPCRightClickEvent to Quests v2.9.0-b140
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:414) [citizens-2.0.22-SNAPSHOT.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1568) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(SourceFile:69) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(SourceFile:13) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45-internal]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45-internal]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
Caused by: java.lang.NullPointerException
at me.blackvein.quests.Quester.getObjectives(Quester.java:376) ~[?:?]
at me.blackvein.quests.Quester.getObjectivesReal(Quester.java:351) ~[?:?]
at me.blackvein.quests.Quest.setStage(Quest.java:142) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:105) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1126) ~[?:?]
at me.blackvein.quests.Quester.deliverItem(Quester.java:987) ~[?:?]
at me.blackvein.quests.NpcListener.onNPCRightClick(NpcListener.java:59) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43
) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[gbinvl_minecraft_spigot_1_12.jar:git-Spigot-ede465d-bb4ae3b]
... 24 more
Hello,
I am hoping you can help with a few questions about your plugin, Quests.
I may have more questions. So sorry. We have been brainstorming some ideas but just can't seem to wrap our head around making this plugin work for them, altho theoretically it seems possible. Alternatively, what would the cost be to come to my server and set up some quests?
Thank you!
Hello Can you make it so you can add messages after a player does a quest so for example a player has a place objective then you want to put a message saying now you need to return to bon npc for your reward.
Also prerequisites so we can define which quest needs to be done before each quest
1.11.2 and quests 2.8.7
This is the error https://pastebin.com/B89WYCDh and this is the quest: https://pastebin.com/bSS9SCWn
The very first time I ran the quest it worked but I needed to reload my server. Tried it again to make sure I could continue using this method and it through the error.
All quests commands give "Unknown Quests command. Type /questsadmin for help.
Version: 2.8.7
As the title says, when i try to type a command from Quests, it gives me this error.
There are no quests, because i cannot create one.
I am attaching all my Quests files so you can sift through them just in case you need to.
Quests Files.zip
Not sure what it is but getting spammed with https://pastebin.com/TsvPb7fE
doing /quests journal to put it away and it keeps coming back but idk about the errors in console.
good morning,
I do not understand why no one has reported this serious problem.
All you have noticed is that after months and months of quests work, when the time comes when you need to remove an NPC (doing / npc remove), if you do not notice that a quest was tied to it, Quest then begins to bribe.
There is a fundamental rule I understood over time ... never remove the npc first and then the quest. Always delete the quest first and then remove the npc.
If you miss this, you can start saying goodbye to all the quests you create. This is because the quest related to the npc you have removed can no longer be deleted. There will always be mistakes, one after the other, until the file explodes.
Can you solve this problem?
There is no particular version ... this problem persists for a long time, years. Do not ask me for log console, I do not have it and I can not start all my quests again. Just try it on your server and you will see the problem.
I've noticed also sometimes when you are on a quest, if the plugin is reloaded, it removes the quest from you and you have to accept it from the npc again. Not sure if this is meant to happen (I'm setting up my server and all the quests while testing everything before we open).
Edit for question: How do you reset a compass to to point towards the quest you're on? I know if I take another quest, after finishing the second one it will point back towards the first one. But if I finish the second one, log out for the night and come back to the first quest, it points towards my last bed spawn. I have to reload the plugin to reset the compass, if the quest is still on the stats list.
-Spigot 1.11.2 / QUest 2.8.7
[15:31:54] [Async Chat Thread - #97/ERROR]: Could not pass event AsyncPlayerChatEvent to Quests v2.8.7-b134
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.PlayerConnection.chat(PlayerConnection.java:1266) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1204) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_72]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_72]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
Caused by: java.lang.IllegalStateException: Asynchronous entity track!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.EntityTracker.addEntity(EntityTracker.java:108) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.EntityTracker.track(EntityTracker.java:90) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.WorldManager.a(WorldManager.java:21) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.World.b(World.java:1089) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.WorldServer.b(WorldServer.java:1112) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.WorldServer.a(WorldServer.java:1077) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.Chunk.addEntities(Chunk.java:753) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:45) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:1) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:337) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:295) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:16) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:137) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:120) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:116) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.World.getChunkAt(World.java:329) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.World.getChunkAtWorldCoords(World.java:325) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.World.getType(World.java:806) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.BlockBed.b(SourceFile:181) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.BlockBed.a(SourceFile:166) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at net.minecraft.server.v1_11_R1.EntityHuman.getBed(EntityHuman.java:1367) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer.getBedSpawnLocation(CraftPlayer.java:883) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
at me.blackvein.quests.Quester.resetCompass(Quester.java:2602) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:89) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1094) ~[?:?]
at me.blackvein.quests.Quester.sayPass(Quester.java:1042) ~[?:?]
at me.blackvein.quests.PlayerListener.onPlayerChat(PlayerListener.java:302) ~[?:?]
at sun.reflect.GeneratedMethodAccessor631.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e232e15]
... 11 more
Thx for reading, i hope it could be fixed because this is the best quest plugin, really (tested every other)
The issue I've been havinga is this: Quests delete themselves. At first everything was smooth and I had no problems but then I made a new quest and I needed to edit my quest so I went to /quests editor and I clicked edit a quest and then I typed in the quest I needed to edit but nothing appeared. After restarting the server the quest actually deleted itself. The quest was still in the quests.yml folder but it wasn't appearing in game. I tried making another quest to see if the problem persisted and sure enough it did. I tried reinstalling quests and putting in the yml file but the problem still was there. Then I tried reinstalling quests and making a new quest with a new yml. That quest worked. . I'm going to send the yml file over as a txt file. Please take a look and tell me how to fix this. I think the problem is with the yml,
quests.txt
In your issue, please include:
First i have create a mission name talk to Julian in Ailly then it work but when i make an other mission in Julian and accept the mission, it just jump to mission failed i have no idea to fix about the problem
When making a quest and using the kill mob objective, I choose a mob like Elder Guardian for example and then upon saving and reloading the plugin, I get this error in console
## ERROR Elder Guardian inside mobs-to-kill: inside Stage 7 of Quest Captain Kent is not a valid mob name!
and then my quests doesn't show up in the list of quests...
I went to the quests.yml and changed
mobs-to-kill:
Elder Guardian
to
mobs-to-kill
Elder_Guardian
and performed a /questadmin reload and it worked, the quest appeared in the list...but then editing the quest and saving and reloading the plugin again, reverted the "Elder_Guardian" back to "Elder Guardian" and broke it yet again...
Quests version 2.8.6 Spigot 1.11.2
Just as the title says- i make a quest in the quests editor, save it, then exit. Then i did the command /quests list, and it was not in the list- so i tried /questsadmin reload, and it still did not have the quest in there.
I have tried making this quest twice.
Hey -
I'm using the Quests plugin on the version 2.8.6-b132 (pictured below).
When I attempt to save a Quest (that is has all needed arguments filled out), it is unresponsive in-game and gives me this error in the console -
24.06 19:02:00 [Server] ERROR Error handling conversation prompt 24.06 19:02:00 [Server] INFO java.lang.NullPointerException: null 24.06 19:02:00 [Server] INFO at me.blackvein.quests.QuestFactory$SavePrompt.acceptInput(QuestFactory.java:1036) ~[?:?] 24.06 19:02:00 [Server] INFO at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1038) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1234) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.util.Waitable.run(Waitable.java:24) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:757) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-ede465d-bb4ae3b] 24.06 19:02:00 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
In my last issue, you mentioned that I should replicate the issue. Can you please clarify what that means? I'm sorry if I'm being a pain.
Thanks
Hey I am having some trouble with events...I am able to send a player a message in a "Start Event" but nothing happens when i add an event to "Finish Event" not sure if just not working or....
I've been using this plugin for a long time, and it does not work much, why is not the corrective work performed? From the very first versions and up to the last few mistakes were corrected, I can describe everything that does not work (if you fix it)
Spigot 1.11.2
Quests 2.8.4 (build 130)
When trying to edit a quest, I can not edit Break Blocks.
Quest file:
custom3:
name: Bucket List
npc-giver-id: 16
ask-message: Do you want to help me? I have got some gold if you are interested!
finish-message: Thanks a lot, you helped me a great deal. Here be thy gold!
gui-display: name-BUCKET:amount-1
requirements:
items:
Error handling conversation prompt
java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at me.blackvein.quests.prompts.CreateStagePrompt$BreakBlockListPrompt.getPromptText(CreateStagePrompt.java:739) ~[?:?]
at org.bukkit.conversations.Conversation.outputNextPrompt(Conversation.java:291) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:230) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1058) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1203) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.util.Waitable.run(Waitable.java:24) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:757) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
When setting up mobs to spawn in the events you can successfully get 1 set to spawn but if you want to add some more mobs to spawn it will give an index out of bounds when you hit done.
/title i dont see craft objective in the stages to craft something using the crafting table
3 Bugs Found:
Quests verion 2.9.0, no modules
The quests editor does not save my quests.
Only warning found in the console: (from bottom up. Using MCPRO so the console prints backwards)
14.07 13:57:30 [Server] WARN Could not save data.yml to plugins/Quests/data.yml because data.yml already exists.
14.07 13:57:30 [Server] WARN Could not save events.yml to plugins/Quests/events.yml because events.yml already exists.
14.07 13:57:30 [Server] WARN Could not save quests.yml to plugins/Quests/quests.yml because quests.yml already exists.
14.07 13:57:30 [Server] INFO Enabling Quests v2.9.0-b140
quests:
Miner:
name: Stone Miner
ask-message: <yellow>Mine <purple>10<yellow> blocks of <purple>Stone<yellow> and gather the <purple>10 pieces of <purple>Cobblestone<yellow>.
finish-message: <yellow>Well done. Here is your reward.
redo-delay: 1800
requirements:
items:
- name-wood_pickaxe:amount-1
remove-items:
- false
fail-requirement-message: <red>You must have a <purple>Wooden Pickaxe<red> first.
stages:
ordered:
'1':
break-block-names:
- stone
break-block-amounts:
- 10
break-block-durability:
- 0
rewards:
money: 1000
quest-points: 1
Hunter:
name: Mob Hunter
ask-message: <yellow>Kill an assortment of Mobs.
finish-message: <yellow>Excellent. Here is a <purple>Diamond Sword<yellow>.
requirements:
quests:
- Stone Miner
fail-requirement-message: <red>Complete <purple>Stone Miner<red> first.
stages:
ordered:
'1':
death-event: DeathFail
mobs-to-kill:
- Pig
mob-amounts:
- 3
finish-event: GoodJob
'2':
death-event: DeathFail
mobs-to-kill:
- Zombie
mob-amounts:
- 2
finish-event: GoodJob
'3':
death-event: DeathFail
mobs-to-kill:
- Skeleton
mob-amounts:
- 1
rewards:
items:
- name-diamond_sword:amount-1
exp: 100
quest-points: 1
CatchFish:
name: Catch Fish
ask-message: <yellow>Catch some fish!
finish-message: <yellow>Good job. Here is some <green>experience<yellow>.
requirements:
quests:
- Stone Miner
fail-requirement-message: <red>Complete <purple>Stone Miner<red> first.
stages:
ordered:
'1':
start-event: FishingStart
death-event: DeathFail
chat-events:
- RodEvent
chat-event-triggers:
- rod
fish-to-catch: 5
rewards:
exp: 250
My quests are not saved to the server or plugin reload..
I love this plugin and would really like to use it on my server.
A solution ? There is no error in the console...
My server is in 1.11.2
Hello!
I found a problem with custom rewards. Please fix it :)
- Spigot and Quests versions (do not say "latest")
Spigot version: PaperSpigot-1.12-b1150
Quests version: 2.9.0-b140
- Description of problem & console errors
Problem: When I try to test my new custom reward, I get an error message and the custom rewards does not apply.
Console errors:
[20:58:45 ERROR]: Could not pass event NPCRightClickEvent to Quests v2.9.0-b140
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:46) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:414) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor91.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1614) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:842) [PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766) [PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664) [PaperSpigot-1.12-b1150.jar:git-Paper-1150]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at me.blackvein.quests.Quest.completeQuest(Quest.java:427) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:102) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1126) ~[?:?]
at me.blackvein.quests.Quester.deliverItem(Quester.java:982) ~[?:?]
at me.blackvein.quests.NpcListener.onNPCRightClick(NpcListener.java:59) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor105.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44) ~[PaperSpigot-1.12-b1150.jar:git-Paper-1150]
... 23 more
- Pastebin an example quest from quests.yml for testing, if applicable
quests.yml part
my code
Link to Quests.java:427 to make it easier to check.
In your issue, please include:
Spigot 1.11.2
Quests 2.8.4 (build 130)
The problem is that I can't progress to a second stage after delivering the quest items.
Quest stage 1:
Quest File Content:
custom3:
name: Bucket List
npc-giver-id: 16
ask-message: Do you want to help me? I have got some gold if you are interested!
finish-message: Thanks a lot, you helped me a great deal. Here be thy gold!
gui-display: name-BUCKET:amount-1
requirements:
items:
- name-BUCKET:amount-1
remove-items:
- true
fail-requirement-message: You don't have a bucket? Who are you!!
stages:
ordered:
'1':
break-block-names:
- IRON_ORE
break-block-amounts:
- 64
break-block-durability:
- 0
items-to-deliver:
- name-IRON_ORE:amount-64
npc-delivery-ids:
- 16
delivery-messages:
- Thanks!
start-message: I ran out of Iron Ore, can you get me some?
complete-message: Thanks! I can finally start making some more swords, the guards will be please (I hope).
'2':
break-block-names:
- GOLD_ORE
- COAL_ORE
break-block-amounts:
- 40
- 32
break-block-durability:
- 1
- 1
items-to-deliver:
- name-COAL:amount-32
- name-GOLD_ORE:amount-40
npc-delivery-ids:
- 16
- 16
delivery-messages:
- OOOOH SOO SHINY!!!
start-message: Hey, can you also get me some gold ore and some coal please?
complete-message: I am so grateful!
'3':
items-to-deliver:
- name-IRON_PICKAXE:amount-1
- name-IRON_PICKAXE:amount-1
- name-IRON_SWORD:amount-1
npc-delivery-ids:
- 18
- 18
- 17
delivery-messages:
- Ooh a brand new tool, finally (my pickaxe was starting to break apart).
- Ah, still no break? Thanks anyways.
- Thanks for the deliveries!
start-message: Our miners down the mine requested me to make them some tools, but I ain't going down that scary dark hole, here you bring it!
complete-message: Thanks, it saved me a dangerous trip down the treacherous paths of the that scary dark place. Ugh.
rewards:
money: 10
Error:
ug when completing stage 1 it does NOT progress to stage 2.
Could not pass event NPCRightClickEvent to Quests v2.8.4-b130
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:414) [Citizens.jar:?]
at sun.reflect.GeneratedMethodAccessor351.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1537) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PacketPlayInUseEntity.a(SourceFile:69) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PacketPlayInUseEntity.a(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45-internal]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45-internal]
at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.
v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
Caused by: java.lang.NullPointerException
at me.blackvein.quests.Quester.getObjectives(Quester.java:460) ~[?:?]
at me.blackvein.quests.Quester.getObjectivesReal(Quester.java:416) ~[?:?]
at me.blackvein.quests.Quest.setStage(Quest.java:162) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:114) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1580) ~[?:?]
at me.blackvein.quests.Quester.deliverItem(Quester.java:1411) ~[?:?]
at me.blackvein.quests.NpcListener.onNPCRightClick(NpcListener.java:75) ~[?:?]
at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
Is there a way to add a quest requirement to CHARGE money from your economy plugin? So for example you have to spend $100 to even start the quest.
Quests-2.8.7, spigot, 1.8.8/1.8.9
quests:
custom2:
name: Trouble In Hyrule Pt 1
npc-giver-id: 0
ask-message: "\xa74I've been investigating into Hyrule's Royal Guards,\ \ and
\ noticed something is off!"
finish-message: "\xa74The Kingdome of \xa7cHyrule \xa74thanks you for your help,
\ Hope we can count on you again!"
stages:
ordered:
'1':
npc-ids-to-kill:
- 127
npc-kill-amounts:
- 1
locations-to-reach:
- TP -56.0 76.0 -4961.0
reach-location-radii:
- 3
reach-location-names:
- Hyrule Castle
start-message: '&4First we must kill the evil &0Link&4!'
complete-message: '&4Continue through the castle and reach the top, Zelda
is counting on you to save her!'
'2':
npc-ids-to-kill:
- 128
npc-kill-amounts:
- 1
locations-to-reach:
- TP -56.0 139.0 -5000.0
reach-location-radii:
- 5
reach-location-names:
- Boss Room (Upstairs)
start-message: '&4Onward to &4Z&celda&4, There are Checkpoints to help guide
you on your quest!'
complete-message: '&4Kill &4G&ca&7n&8o&0n'
'3':
npc-ids-to-kill:
- 131
npc-kill-amounts:
- 1
start-message: '&4Here we are, don''t turn away now!'
complete-message: '&cHurry to the Princess!'
'4':
items-to-deliver:
- "name-GOLD_AXE:amount-1:displayname-\xa78\xa7lAxe \xa77\xa7lOf \xa74H\xa7
ce\xa76l\xa7el"
npc-delivery-ids:
- 130
delivery-messages:
- '&4Give &2L&aink&4, &4H&ce&6l&el&fs &4weapon!'
start-message: '&cI feel a change in the world'
complete-message: '&cAh the &8&lAxe &7&lOf &4H&ce&6l&el&c!'
'5':
items-to-deliver:
- "name-IRON_SWORD:amount-1:displayname-\xa7f\xa7lSage \xa77\xa7lSword"
npc-delivery-ids:
- 129
delivery-messages:
- '&4Give &8M&7idna&4, &4G&ca&7n&8o&0n&fs &4weapon!'
start-message: '&cWhat about me'
complete-message: '&cThank you for giving me this'
'6':
items-to-deliver:
- "name-DIAMOND_SWORD:amount-1:displayname-\xa75\xa7lMaster \xa78\xa7lSword"
npc-delivery-ids:
- 126
delivery-messages:
- '&4Return the &5Master &8Sword &4back to &4Z&celda'
start-message: '&cI hope you brought me the &5&lMaster &8&lSword, &cthat
&0&lDark Link &ctook!'
complete-message: '&cThank you very much. I have granted you 3 weapons,
all improvments of what you brought'
rewards:
items:
- "name-DIAMOND_SWORD:amount-1:displayname-\xa70\xa70\xa70\xa70\xa70\xa70\xa7
0\xa77\xa76\xa7l\xa75\xa7lMaster \xa78\xa7lSword:lore-\xa70\xa70\xa70\xa7
0\xa70\xa70\xa70\xa77\xa7fOne handed \xa74\xa7lEvil's \xa78\xa7
lBane\xa7c\xa7a\xa7f\xa7e\xa70\xa70\xa70\xa70:lore-\xa7f40 Damage:lore-\xa7
aNever breaks:lore-\xa7aShoots an arrow. (1.0s cooldown):lore-\xa7e\xa7o"
This sword was given you to by:lore-\xa7e\xa7o\xa74\xa7oZ\xa7c\xa7oelda\xa7
e\xa7o, as the new holder of the:lore-\xa7e\xa7osword!":lore-\xa7f\xa75\xa7
lLegendary:lore-\xa7f\xa7d\xa7lSacred \xa7b\xa7lPower"
- "name-IRON_SWORD:amount-1:displayname-\xa70\xa70\xa70\xa70\xa70\xa70\xa70\xa7
8\xa75\xa7l\xa7f\xa7lSage \xa77\xa7lSword:lore-\xa70\xa70\xa70\xa70\xa70\xa7
0\xa70\xa78\xa7fdouble \xa7e\xa7lGods\xa7c\xa7a\xa7f\xa7e\xa70\xa70\xa7
0\xa70:lore-\xa7f35-40 Damage:lore-\xa7aNever breaks:lore-\xa7e\xa7o"In the
\ olden:lore-\xa7e\xa7odays when the:lore-\xa7e\xa7o\xa7f\xa7l\xa7oStages
\ \xa7e\xa7otried to:lore-\xa7e\xa7okill \xa74\xa7l\xa7oG\xa7c\xa7l\xa7oa\xa7
7\xa7l\xa7on\xa78\xa7l\xa7oo\xa70\xa7l\xa7on\xa7e\xa7o,:lore-\xa7e\xa7othings
\ ended:lore-\xa7e\xa7obadly with the:lore-\xa7e\xa7odemise of a:lore-\xa7
e\xa7o\xa7f\xa7l\xa7oSage\xa7e\xa7o":lore-\xa7f\xa75\xa7lCorrupted:lore-\xa7
f\xa7d\xa7lCursed"
- "name-GOLD_AXE:amount-1:displayname-\xa70\xa70\xa70\xa70\xa70\xa70\xa70\xa7
9\xa75\xa7l\xa78\xa7lAxe \xa77\xa7lOf \xa74H\xa7ce\xa76l\xa7el:lore-\xa70\xa7
0\xa70\xa70\xa70\xa70\xa70\xa79\xa7fdouble \xa74B\xa7cu\xa76r\xa7en\xa7
6i\xa7cn\xa74g\xa7c\xa7a\xa7f\xa7e\xa70\xa70\xa70\xa70:lore-\xa7f35-40 Damage:lore-\xa7
aNever breaks:lore-\xa7e\xa7o"You never know:lore-\xa7e\xa7owhen you need
\ to:lore-\xa7e\xa7ocall apond:lore-\xa7e\xa7o\xa74\xa7l\xa7oH\xa78\xa7l\xa7
oades\xa74\xa7l\xa7o's \xa7e\xa7oWraith":lore-\xa7f\xa74H\xa7ce\xa76l\xa7
el \xa78\xa7lIf \xa77\xa7lI \xa7f\xa7lKnow:lore-\xa7f\xa74\xa7lUnder\xa78\xa7
lworld"
money: 5000
In your issue, please include:
I created a 4 stage quest, here: https://pastebin.com/SLZQ9FG8
and after saving I tried to reload and got this: https://pastebin.com/sYZ2aVVN
Spigot 1.12
Quests 2.9.0 (And has been the same for previous versions)
Hey! I absolutely love this plugin. One thing that is irking me somewhat is when there's a requirement for an item to start a quest, I use quest tokens. Like, you need 1 quest token to take a quest, and when you take it the token is taken off you. If you have 1 token it is taken fine. But if you have 2 or more, it doesn't take the token and you get the quest anyway. Have tried on a couple of my servers with the simplist quests etc and it always happens...
No errors showing in Console
name: The Daily News
npc-giver-id: 3
redo-delay: 86400
ask-message: Greetings Traveller. Please go around all the Major towns and Gather information for my Newsletter. Thankyou.
finish-message: Great. This issue will be a real humdinger.
gui-display: name-BOOK_AND_QUILL:amount-1
requirements:
items:
- name-IRON_NUGGET:amount-1:displayname-Quest Token:lore-Can be used to accept Daily Quests
remove-items:
- true
fail-requirement-message: In order to accept this quest you need a Quest Token. Go to /warp Quests to get your daily allowance.
stages:
ordered:
'1':
locations-to-reach:
- survival2 -1105.0 90.0 675.0
reach-location-radii:
- 10
reach-location-names:
- Spawn by typing ./spawn
'2':
npc-ids-to-talk-to:
- 13
complete-message: Super Secret Mage's guild news is Super Secret. Read my Blog for more.
'3':
locations-to-reach:
- survival2 -17785.0 69.0 -4018.0
reach-location-radii:
- 10
reach-location-names:
- Inishmore through the Portal on ./warp ship
'4':
npc-ids-to-talk-to:
- 23
complete-message: The Grass is Green, the Birds are Chirping and all is well on our wonderful island thankyou.
'5':
locations-to-reach:
- survival2 1252.0 64.0 16015.0
reach-location-radii:
- 10
reach-location-names:
- Roanoke through the portal on ./warp ship
'6':
npc-ids-to-talk-to:
- 98
complete-message: The Creaking of the trees is keeping us all awake at night and vicious monsters prowl the boundaries of our town. Apart from that, all is well.
'7':
locations-to-reach:
- survival2 17077.0 63.0 -6600.0
reach-location-radii:
- 10
reach-location-names:
- The Keep through the portal on ./warp ship
'8':
npc-ids-to-talk-to:
- 91
complete-message: The Mead flows free and our Training Continues. We will be ready should a worthy adversary show up.
'9':
locations-to-reach:
- survival2 16573.0 72.0 1390.0
reach-location-radii:
- 10
reach-location-names:
- Droughtstone through the portal on ./warp ship
'10':
npc-ids-to-talk-to:
- 129
complete-message: I am the only person to remain in this deserted settlement. We have the odd passerthrough, but I am lonely. Hold me?
'11':
locations-to-reach:
- survival2 -13496.0 228.0 11044.0
reach-location-radii:
- 20
reach-location-names:
- Highwater through the Portal on ./warp ship
'12':
npc-ids-to-talk-to:
- 122
complete-message: Well, since our town uprooted and floated up to the sky our engineering has improved greatly. As has our quality of life. Now the Sky is the Limit.
'13':
npc-ids-to-talk-to:
- 3
complete-message: Well, It seems like everything is going smoothly, apart from Roanoke, That doesn't sound good.
rewards:
items:
- name-TRIPWIRE_HOOK:amount-1:enchantment-Knockback 1:displayname-§aBasic Key:lore-§cOpen the Basic Crate!
- name-GOLD_NUGGET:amount-2:displayname-Questicle:lore-Use this to trade for Loot
money: 250
mcmmo-skills:
- Woodcutting
mcmmo-levels:
- 5
Spigot 1.11.2 and Quests 2.8.7
No errors in console.
Quest with issue https://pastebin.com/jSjRpwxF that you tried to duplicate and had no issue, but doesn't mean other people are not having.
And a 46 second video link to show you the issue at play (if it helps) https://youtu.be/xkbj3eHqBZE
The other one you replicated with the fairies is the same issue. turning in a completed quest but its not registering as complete. Nothing to do with mythicmobs or even the items being turned in.
(I love the quests plugin, I'm not trying to sound upset or anything, just trying to help fix a big problem. And I have plenty of time to test all this out before opening.)
Hello when i assign a quest to npc and go to start the quest, it opens the gui just like it should then when i click the gui item it picks up the item instead of starting the quest. here is the error that happens:
Spigot 1.11.2
Quests 2.8.4 (build 130)
The problem is that the completed message given to the player after he complets a break block section of a stage of a quest it does not say the correct amounts but 0/0 instead.
Screenshot of the completed message: https://gyazo.com/6b7762c64414a9e398087801524f3321
Screenshot of the quest journal: https://gyazo.com/7a35e91f4c6e32a1b460f72b82ef3b3e
quets.yml content
custom3:
name: Bucket List
npc-giver-id: 16
ask-message: Do you want to help me? I have got some gold if you are interested!
finish-message: Thanks a lot, you helped me a great deal. Here be thy gold!
gui-display: name-BUCKET:amount-1
requirements:
items:
- name-BUCKET:amount-1
remove-items:
- true
fail-requirement-message: You don't have a bucket? Who are you!!
stages:
ordered:
'1':
break-block-names:
- IRON_ORE
break-block-amounts:
- 64
break-block-durability:
- 0
items-to-deliver:
- name-IRON_ORE:amount-64
npc-delivery-ids:
- 16
delivery-messages:
- Thanks!
start-message: I ran out of Iron Ore, can you get me some?
complete-message: Thanks! I can finally start making some more swords, the guards will be please (I hope).
rewards:
money: 10
Apparently a player of mine was able to dupe a quest even though it had a redo delay of 24 hours (1 day) he said he was able to click on the quest multiple time or something https://images.discordapp.net/attachments/263548298361569280/330333514153328653/2017-06-30_23.06.03.png?width=1027&height=531
Versions:
Spigot 1.11.2
Quests 2.9.0 (build 140)
Also tried for 2.8.4, and 2.8.7 (build 134) same result.
Description of problem & console errors:
I try to create an event where I spawn a few zombies and a skeleton, but I can only add 1 zombie to the list and after that I can't add another mob spawn to the list. See below for the error:
20:58:50 ERROR]: Error handling conversation prompt
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.LinkedList.checkElementIndex(LinkedList.java:555) ~[?:1.8.0_45-internal]
at java.util.LinkedList.set(LinkedList.java:490) ~[?:1.8.0_45-internal]
at me.blackvein.quests.EventFactory$QuestMobPrompt.acceptInput(EventFactory.java:1582) ~[?:?]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1058) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1203) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.util.Waitable.run(Waitable.java:24) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:757) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
My events.yml looks like this:
events:
ExampleEvent:
message: Event happened!
potion-effect-types:
- Speed
- Jump
potion-effect-durations:
- 100
- 25
potion-effect-amplifiers:
- 3
- 2
GoodJob:
message: Good job!
DeathFail:
fail-quest: true
FishingStart:
message: Type 'rod' in chat to get a fishing rod!
RodEvent:
message: Here you go!
items:
- name-fishing_rod:amount-1
SpawnMobs:
mob-spawns:
'0':
spawn-location: world 1514.0 62.0 -310.0
mob-type: ZOMBIE
spawn-amounts: 1
Open a quest gui and shift + rightclick on a questicon.
You now have that item in your inventory.
spigot 1.12
https://pastebin.com/tKVSFDpx
Hi there,
When I try to give a permission it doesn't do anthing. I'm trying to give a bending plugin permission which is:
bending.player
I put that into the permission reward section, save, and reload. The person completes the quest but it doesnt come up as a reward and when they try to use commands related to the permission, it doesnt work. I've also tried giving "/bending choose water" as a command [as thats what bending.player gives them] and that also doesnt come up as a reward or work.
Hi.
I have recently downloaded this plugin. When I completely setup everything and type in 13, and then 1, it gives me this error -
ERROR Error handling conversation prompt
23.06 17:14:01 [Server] INFO java.lang.NullPointerException: null
23.06 17:14:01 [Server] INFO at me.blackvein.quests.QuestFactory$SavePrompt.acceptInput(QuestFactory.java:1036) ~[?:?]
23.06 17:14:01 [Server] INFO at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1038) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1234) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.util.Waitable.run(Waitable.java:24) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:757) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-ede465d-bb4ae3b]
23.06 17:14:01 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
I have all required dependencies installed. What should I do? This is preventing me from saving any quest.
Thanks
Having an issue with Enchantments where when you add an enchantment objective and first of all that menu is super confusing, looks like two different lists mashed together...and when I chose 'Fire Protection' it instantly broke the plugin and the quest was missing from the list upon re-entering the editor.
Seems like a similar issue with the mobs where the spaces aren't supported in the enchantment name and have to be changed probably to underscores.
Thanks in advance for all the support! :)
Heres a pic of the weird list...tried 'fireprotection' , 'fire_protection' , and 'fire protection' none of which work..
Is it possible to do conversations? so it shows the npc talk and you respond with something like in fallout. Can I do the conversation side things with BetonQuest?
spigot-1.12-R0.1-SNAPSHOT-b1349
Quest2.8.7
This BUG has been around for a long time.It exists almost every version.
Players do not complete the quest after receiving the quest, and then I restart the server, the count of the quest count will be reset.
Such as digging 100 stones, I have dug 20, after the restart, it becomes 0.
The console does not have any error, it's just a BUG.
When you have time, think you could add a teleport feature during a quest? I've tried going around it, using one quest to tp a player to a dungeon world. But get this error: https://pastebin.com/r0Jp4EPN
This is the quest I'm trying to make: https://pastebin.com/L5kzjTqF
Quests 2.9 and spigot 1.11.2
I had this issue before but it fixed itself and now its starting again: https://pastebin.com/iqtNzKn5
This is the quest with the issue: https://pastebin.com/sh753Ae6
When completing the quest, it actually completes and shows in chat the region greeting of the dungeon but I'm still standing in front of the quester. If this is not something to do with Quests would you be able to tell me how to fix it?
When you use the option "Break block" don't save quests(version::Quests-2.8.4). Pls, Fix that
Quests 2.8.8 test2 (keeping until updated :P and spigot 1.11.2
In the middle of a long quest questline and boom, server is restarted. I come back and still on the quests but compass leads to last bedspawn. Anyway you can fix that for the next update? Maybe implement the quests journal to link with the compass so we can click which quest to follow?
In your issue, please include:
Failure to provide the first 2 bullets may result in your issue being closed!
Just a little spam in console regarding npcs that were deleted BUT they were never attached to any quests:
24.06 13:12:49 [Server] INFO Quester not found for UUID "7fd97ccc-5abc-2e8d-9512-cd40f46daa8d". Consider adding them to the Quester blacklist.
and
24.06 11:41:16 [Server] INFO Quester not found for UUID "52ce8106-3cd6-24af-a79c-da886b6f34a8". Consider adding them to the Quester blacklist.
These are npcs I had attached to npcdestinations, never made quests for them but ended up having to remove them. There is also the:
24.06 13:22:45 [Server] INFO Enabling Quests v2.8.6-b132
24.06 13:22:45 [Server] WARN Could not save quests.yml to plugins/Quests/quests.yml because quests.yml already exists.
24.06 13:22:45 [Server] WARN Could not save events.yml to plugins/Quests/events.yml because events.yml already exists.
24.06 13:22:45 [Server] WARN Could not save data.yml to plugins/Quests/data.yml because data.yml already exists.
Which is minor but annoying to look at after restarts lol. Files are there since I added them but I guess it keeps trying to add its own?
Hey Pikachu
I know everybody can change messages, but it isn't easier when language-files are in the pluginfile like de Fr and i don't know how many language exist on our world.
When a translation missing, than he shouls automatically take in english.
So the full translation is in en.yml and some translated strings are in a language file. I have seen something like that somewhere else.
Who is updating the translationfile? I think you have many many people there use this. anyone will do this i'm sure.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.