BenCodez / VotingPlugin

Plugin on SpigotMC
Other
83 stars 68 forks source link

Vote Sites Bug #782

Closed SmexyDuk closed 4 years ago

SmexyDuk commented 4 years ago

Versions 1.15.2

Describe the bug Certain vote sites doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. put minecraft-server-list.com as a vote site
  2. set up the rewards
  3. save and reload

Expected behavior Automatically redirects you to "MCSL" and adds it as a votesite on your /vote making minecraft-server-list.com not work, every other site doesn't work as well.

BenCodez commented 4 years ago

VoteSites.yml?

SmexyDuk commented 4 years ago

Yep.

BenCodez commented 4 years ago

Are you gonna send it?

SmexyDuk commented 4 years ago

https://pastebin.com/HkYFxPe9 I have already deleted the other websites last night, just decided to post it here again to see if there are any fixes. But thats what my config currently looks like.

BenCodez commented 4 years ago

If it generates a votesite then you have an incorrect service site. Check console when that happens.

SmexyDuk commented 4 years ago

minecraft-server-list.com <- I used this one and it generated the error. Is there something wrong with the link? Thats how i exactly wrote it down on the configs. Not "https://minecraft-server-list.com/"

BenCodez commented 4 years ago

The service site could be anything, check console on a vote.

SmexyDuk commented 4 years ago

Let me reproduce it real quick.

SmexyDuk commented 4 years ago

https://pastebin.com/pv5iNBhb https://pastebin.com/AWrxVEH1 - votesites.yml

BenCodez commented 4 years ago
VoteSite with service site 'MCSL' does not exist
SmexyDuk commented 4 years ago

Yup, I did not even put MCSL anywhere on the votesites.yml Other voting sites produce that error as well.

BenCodez commented 4 years ago

MCSL is the service site, set it to that.

SmexyDuk commented 4 years ago

Thanks, it works now. :)