NotQuests icon indicating copy to clipboard operation
NotQuests copied to clipboard

QuestPoints and cooldown time have been reset

Open tsingyayin opened this issue 2 years ago • 2 comments

If I execute the qa save command, all cooldown times and QuestPoints will be immediately reset. Please refer to the console output below

[16:49:27 INFO]: [NotQuests]: Saving PlayerData of player Server_Test2...
[16:49:27 INFO]: [NotQuests]: PlayerData of player Server_Test2 was saved (10 QuestPoints, Profile: default)
[16:49:27 INFO]: [NotQuests]: Saving PlayerData of player TsingYayin...
[16:49:27 INFO]: [NotQuests]: PlayerData of player TsingYayin was saved (0 QuestPoints, Profile: default)
[16:49:27 INFO]: [NotQuests]: Saving PlayerData of player Arklorth...
[16:49:27 INFO]: [NotQuests]: PlayerData of player Arklorth was saved (0 QuestPoints, Profile: default)
[16:49:27 INFO]: [NotQuests]: Your quests.yml of category default has been successfully backed up to plugins\NotQuests\backups\quests-backup-default-2023-10-31-16-49-27.yml
[16:49:30 INFO]: Server_Test2 issued server command: /q
[16:50:02 INFO]: TsingYayin issued server command: /qa save
[16:50:02 INFO]: [NotQuests]: Saving PlayerData of player Server_Test2...
[16:50:02 INFO]: [NotQuests]: PlayerData of player Server_Test2 was saved (0 QuestPoints, Profile: default)
[16:50:02 INFO]: [NotQuests]: Your quests.yml of category default has been successfully backed up to plugins\NotQuests\backups\quests-backup-default-2023-10-31-16-50-02.yml
[16:50:05 INFO]: Server_Test2 issued server command: /q

As you can see, after the first save, the number of points for the "Server Test 2" account returned to 0. At the same time, the task cooldown has also been reset,

tsingyayin avatar Oct 31 '23 08:10 tsingyayin

This issue is so serious that it fundamentally shakes my trust in the plugin. It has disrupted the task progress and economic balance of everyone on my entire server. If this issue cannot be fixed in a timely manner, I believe I need to permanently terminate the use of this plugin

tsingyayin avatar Oct 31 '23 09:10 tsingyayin

Also, can we add the function of reloading all yml files. If you can directly edit the yml configuration to build a Quest, it is more intuitive than commands

tsingyayin avatar Nov 02 '23 03:11 tsingyayin