Quests aren't being recognized by autorank anymore.
DrewRichard opened this issue · 6 comments
We updated the server from 1.16.1 to 1.16.4 and also plugins to the newest versions and now the quests(https://www.spigotmc.org/resources/quests.3711/) aren't being recognized by autorank anymore. I reached out to the guy that made the quests plugin and they said "Quests does not depend on that plugin, so seek help from its developer."
We updated to Quests-4.0.0-rc.3 from Quests-3.9.5
This is what we have in autoranks
masterToKnight:
prerequisites:
in group:
value: master
requirements:
time:
value: 20h
votes:
value: 12
quests complete quest:
value: "Road to Knighthood - Final"
This is what we have in the quest
custom13:
name: Road to Knighthood - Final
ask-message: '[Alecks] Do you have all 5 letters of Approval? Please give them
to me.'
finish-message: '[Quests] You have completed the quest line: Road to Knighthood.'
npc-giver-id: 17
requirements:
quests:
- Berryl's Approval - Road to Knighthood
- Brandt's Approval - Road to Knighthood
- Brandy's Approval Attempt 2 - Road to Knighthood
- Heathrow's Approval - Road to Knighthood
- Stuart's Approval Attempt 2 - Road to Knighthood
Don't want to bore you with the contents of the quest.
That's a good one! I'll try to see if it works on my part. What is the output of /version Autorank and /ar hooks?
I've downloaded Quests and Autorank is detecting it properly. It's also working fine with regards to the requirements.
Version autorank give 4.3.3
ar hooks gives Autorank Hooks:
[19:16:36 INFO]: - IdleMonitor
[19:16:36 INFO]: - mcMMO
[19:16:36 INFO]: - Statz
[19:16:36 INFO]: - GriefPrevention
[19:16:36 INFO]: - Vault
[19:16:36 INFO]: - WorldGuard
[19:16:36 INFO]: - EssentialsX
[19:16:36 INFO]: - Quests
[19:16:36 INFO]: - Quests
[19:16:36 INFO]: - NuVotifier
I've got no clue why it's not working for us. We changed back to the older version of quests and it works again.
Hmm, it seems Autorank is detecting two version of Quests. Are you running two types of Quest plugins? What is the output of /plugins?
So we went back to an older version of quests and it seemed to fix it but that version of quests is no longer an option for us. Quests is now 4.0.2(https://www.spigotmc.org/resources/quests.3711/) and autorank is now 4.5.1(https://www.spigotmc.org/resources/autorank.3239/). When someone tried to check a rank that has a quest as the requirement the server does this https://pastebin.com/dzBzUya1 This is one of the ranks that use the quests.
masterToKnight:
prerequisites:
in group:
value: master
requirements:
time:
value: 20h
votes:
value: 12
quests complete quest:
value: "Road to Knighthood - Final"
results:
command: lp user &p promote rankprogression
command2: cr give to &p LuckyCrate 1
command3: "broadcast &fPlayer &e&p &fhas been promoted to &6Knight&f."
message: "&8[&3&lM&7&lad&3&lS&7<one&3&lMC&8] &eCongratulations&e! &bYou have ranked up."
options:
display name: knight
auto choose: true
Running /ar hooks gives
[12:36:52 INFO]: Autorank Hooks: │···············
[12:36:52 INFO]: - mcMMO │···············
[12:36:52 INFO]: - Statz │···············
[12:36:52 INFO]: - GriefPrevention │···············
[12:36:52 INFO]: - Jobs │···············
[12:36:52 INFO]: - Vault │···············
[12:36:52 INFO]: - WorldGuard │···············
[12:36:52 INFO]: - EssentialsX │···············
[12:36:52 INFO]: - Quests │···············
[12:36:52 INFO]: - NuVotifier