Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/quests top not working in mysql mode #2318

Open
Dragsio opened this issue Jan 1, 2025 · 4 comments
Open

/quests top not working in mysql mode #2318

Dragsio opened this issue Jan 1, 2025 · 4 comments
Labels

Comments

@Dragsio
Copy link

Dragsio commented Jan 1, 2025

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

5.1.5

Describe the problem and how to replicate it.

When I type the /quests top command (in mysql mode), it only shows the title but no players. However, in local storage mode, this command works.
image

Any console errors to share?

no console errors

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

No response

@Dragsio Dragsio added the bug label Jan 1, 2025
@PikaMug PikaMug changed the title /guests top not working in mysql mode /quests top not working in mysql mode Jan 2, 2025
@PikaMug
Copy link
Owner

PikaMug commented Jan 2, 2025

Upon switching to mysql, data is not transferred automatically, so I assume you need to do so using https://www.spigotmc.org/resources/questsconverter.86165/

If this is not the case, please respond with a screenshot of some of your mysql table below.

@PikaMug PikaMug closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@PikaMug PikaMug added the invalid label Jan 2, 2025
@Dragsio
Copy link
Author

Dragsio commented Jan 3, 2025

Since I started using the Quests plugin, I've only been storing data in mysql.

Here's an excerpt from quest_players mysql table:
sql

@PikaMug PikaMug reopened this Jan 5, 2025
@PikaMug PikaMug removed the invalid label Jan 5, 2025
@PikaMug
Copy link
Owner

PikaMug commented Jan 6, 2025

@Dragsio So the default questspoints value should be 0, not blank/null. I've just done some testing and couldn't narrow down a situation where that could occur. Maybe the structure on your table was changed? Here's what that should look like (via phpMyAdmin):
structure
If it's the correct type of bigint(20), try setting some or all null values of questspoints to 0 then run /quests top again. You should at least get some users to appear with 0 Quest Points.

@Dragsio
Copy link
Author

Dragsio commented Jan 7, 2025

Strange, both the structure and the data in the table seem to be fine. The structure is the same as in your image and I didn't find any player that had blank/null instead of 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants