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

Players Randomly Getting Rewards They Didn't Earn #1397

Open
JerichoTorrent opened this issue Nov 23, 2024 · 5 comments
Open

Players Randomly Getting Rewards They Didn't Earn #1397

JerichoTorrent opened this issue Nov 23, 2024 · 5 comments
Labels
Possible Bug Something which could be a possible bug

Comments

@JerichoTorrent
Copy link

Versions
VotingPlugin 6.17.2 & Pufferfish 1.21.1 (Build 21 latest)

Describe the bug
For some strange reason, players are logging into the server and getting stacks of vote crate keys. I use AdvancedCrates (latest version) and have configured each votesite to give one key. ac key give %player% Vote 1
Players who haven't even voted before, will occasionally login and get 2 whole stacks of keys. This is kinda breaking my economy. All I see in logs is that AC has given keys to the player over and over, no details about what caused it.

To Reproduce
Steps to reproduce the behavior:

  1. Login to the server
  2. Randomly get 2 stacks of vote keys in your inventory

Expected behavior

  1. Only get the rewards specified in the config
  2. Only get rewards if you actually voted

Screenshots/Configs
My entire VotingPlugin tar.gz file is attached.
VotingPlugin.tar.gz

Additional context
If you need me to upload my AdvancedCrates config I can, but nothing in there actually gives the keys.

@JerichoTorrent JerichoTorrent added the Possible Bug Something which could be a possible bug label Nov 23, 2024
@BenCodez
Copy link
Owner

Set debuglevel to EXTRA and send the log on vote and login

@JerichoTorrent
Copy link
Author

JerichoTorrent commented Nov 23, 2024

https://mclo.gs/qhjYmbX
About halfway down the page is where I turned debug on. My username is JerichoTorrent. When I logged back in, that's when I got the 2.5 stacks of keys.

@BenCodez
Copy link
Owner

I only see the commands run a few times, not really sure why your getting so many keys

@JerichoTorrent
Copy link
Author

Is there anywhere else you could think to look for what is causing this?

@BenCodez
Copy link
Owner

try using a different command and see what it does?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug Something which could be a possible bug
Projects
None yet
Development

No branches or pull requests

2 participants