VotingPlugin icon indicating copy to clipboard operation
VotingPlugin copied to clipboard

Not counting vote correctly in the "sites voted on today" stat

Open trent304 opened this issue 1 year ago • 5 comments

Versions 6.15.1 - Paper 1.20.1

Describe the bug When I vote on the site https://www.minecraft-servers-list.org the in-game message is executed and a vote is counted in the database, however, it still says "You have 1 sites to vote on still" even though I voted on all of them (I have 7). When I do /votenext it shows that I still have to vote on https://www.minecraft-servers-list.org.

To Reproduce Steps to reproduce the behavior:

  1. Maybe try https://www.minecraft-servers-list.org as a voting site and see if it executes the messages, but doesn't count the vote in the "sites voted on today" (or whatever you'd call it)

Expected behavior The message is sent, Vote is counted, and the site is marked as voted on today

Screenshots/Configs https://pastebin.com/vUAD5RLi Here is the config for the site in votesites.yml. This is after I deleted it from this file, Serverdata.yml, and revoted so the site would show up again.

Additional context I feel it might be related to the servicesite name containing https:// but I obviously don't have the ability to change this

trent304 avatar May 16 '24 02:05 trent304

a votesite generates if there is no matching service site, you'll need to correct that. https://github.com/BenCodez/VotingPlugin/wiki/Service-sites

BenCodez avatar May 16 '24 19:05 BenCodez

What do I need to correct?

This is the console output I am getting and Voting Plugin seems to recognize it, but when I hover in the votenext menu it still says "Go Vote!"

https://pastebin.com/sgBZmchr

trent304 avatar May 17 '24 05:05 trent304

ServiceSite: `https://www.minecraft-servers-list.org`

What's it do with this?

BenCodez avatar May 17 '24 19:05 BenCodez

Same thing. In game it says "'Thanks for voting on https://www.minecraft-servers-list.org!" which is the only site that has the default message, but it still says "Go vote" in the menu and doesn't remove one from the "You have x more sites to vote on" message

trent304 avatar May 18 '24 03:05 trent304

Send your votesites.yml after it generates a votesite

BenCodez avatar May 18 '24 11:05 BenCodez

Stale issue message

github-actions[bot] avatar Jul 17 '24 16:07 github-actions[bot]