BenCodez / VotingPlugin

Plugin on SpigotMC
Other
83 stars 68 forks source link

Backend servers do not receive rewards #1332

Closed hiiamken closed 6 months ago

hiiamken commented 7 months ago

Versions 6.15 + Paper 1.20

Describe the bug I don't know why the backend servers do not receive rewards when voting and the voting party does not increase. Bungee still reports a successful vote.

My config: Bungeeconfig.yml: https://controlc.com/41ac9781 Bungeesetting.yml: https://controlc.com/1e3c6989 Config.yml: https://controlc.com/f4489035

BenCodez commented 7 months ago

What's in bungee console on a vote? Anything in the backend server console?

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-09 lúc 08 56 18

backend

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-09 lúc 08 56 34

Bungee

hiiamken commented 7 months ago

i test with username: OwlGamingVN

BenCodez commented 7 months ago

Wanna try the troubleshooting steps on the bottom of this page? https://github.com/BenCodez/VotingPlugin/wiki/Bungee-Setup-PLUGINMESSAGING

hiiamken commented 7 months ago

Only about 30% of members cannot vote, the rest still vote to receive normal rewards

BenCodez commented 7 months ago

What's with the 30% not working? What's in console when they vote?

hiiamken commented 7 months ago

Like the console above, the backend server has no notification. But bungee has a notification that the vote was successful

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-09 lúc 09 03 39
BenCodez commented 7 months ago

set debug to true on bungee and send the log with that enabled

hiiamken commented 7 months ago

[VotingPlugin]: Sending request for status message on CherryEarth [02:04:25 INFO] [VotingPlugin]: Sending request for status message on KitkatSkyblock [02:04:25 INFO] [VotingPlugin]: Sending request for status message on SugusTowny [02:04:25 INFO] [VotingPlugin]: Sending request for status message on CandyDungeon [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny [02:04:25 INFO] [VotingPlugin]: Status okay for SugusTowny

I saw that only 1 server have status okay

hiiamken commented 7 months ago

when run /votingpluginbungee status in Kitkat server

BenCodez commented 7 months ago

try restarting all servers?

hiiamken commented 7 months ago

yes i have had this problem since 2 days. When I posted this, all players could not vote. I backed up the voting file a week ago and about 70% of the votes were successful

hiiamken commented 7 months ago

https://controlc.com/47b3bd3d

BenCodez commented 7 months ago

Try this build on all servers and see what that does: https://bencodez.com/job/VotingPlugin/

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-09 lúc 09 11 03
hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-09 lúc 09 12 01

This is with a normal voting account

BenCodez commented 7 months ago

Log on a player not working with that build that I linked?

hiiamken commented 7 months ago

Let me try to check

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-10 lúc 14 47 19

bungee

If I change the new version, some people who couldn't vote before can vote now, and some people who could vote before can't vote now.

hiiamken commented 7 months ago

Voting milestones are still counted but the rewardssite is not active

BenCodez commented 7 months ago

Voting milestones are still counted but the rewardssite is not active

What do you mean?

You also have it set to only give rewards on one server across the entire network, is that what you want?

hiiamken commented 7 months ago

What I mean is that the voting milestone still increases but does not receive a reward when entering any server

hiiamken commented 7 months ago

I want to receive a reward on 1 server but currently the player does not receive the reward on any server. And only some people suffer from this problem

hiiamken commented 7 months ago

Milestone placeholders still increase, but players do not receive site-specific rewards (Not all players)

BenCodez commented 7 months ago

Do you have mixed uuids? Servers all in online mode?

hiiamken commented 7 months ago

My server is in offline mode, I don't know what mixed uuid is

BenCodez commented 7 months ago

Why are you in offline mode? That would explain the issue

hiiamken commented 7 months ago

I have been using offline mode sincejust started using voting plugin

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-11 lúc 07 10 53

is this section?

BenCodez commented 7 months ago

VotingPlugin doesn't really support offline uuids. Plus you have online mode enabled in votingplugin

hiiamken commented 7 months ago

I've been using it normally for several months now, but now I'm having this problem

BenCodez commented 7 months ago

Switch to online mode?

hiiamken commented 7 months ago

I still configured online mode: true from the beginning

hiiamken commented 7 months ago

I've been using it for about 4 months and now it's just starting to have problems

BenCodez commented 7 months ago

Are servers actually using online uuids?

hiiamken commented 7 months ago

I set everything to online mode false in server.properties

BenCodez commented 7 months ago

But is the network in online mode with all servers getting the right uuid?

hiiamken commented 7 months ago

Should I try online mode: false in bungeesetting

hiiamken commented 7 months ago

But is the network in online mode with all servers getting the right uuid?

yeah

BenCodez commented 7 months ago

Send logs on vote and on login after enabling debug on bungee server in votingplugin

hiiamken commented 7 months ago

online mode should I set it to false or true

hiiamken commented 7 months ago

in bungeeconfig

BenCodez commented 7 months ago

true

hiiamken commented 7 months ago
Ảnh chụp Màn hình 2024-02-11 lúc 07 21 14 Ảnh chụp Màn hình 2024-02-11 lúc 07 22 02
hiiamken commented 7 months ago

This is a non-premium account and the vote was successful and receive the vote key in rewardssite

BenCodez commented 7 months ago

So you do have mixed uuids? (As in premium and non premium, or online and offline uuids) VotingPlugin doesn't really support that and that would be why it's acting up so much on you. Not much I can do

hiiamken commented 7 months ago

I don't really understand what you mean, is it the plugin or the server?

BenCodez commented 7 months ago

Not sure what you mean by that question. Do you have online and offline uuids on the same server?