BenCodez / VotingPlugin

Plugin on SpigotMC
Other
84 stars 68 forks source link

Month change ignored #1388

Open Geitenijs opened 6 days ago

Geitenijs commented 6 days ago

Versions 6.17.1 and latest Paper 1.21.1

Describe the bug [00:03:31] [pool-56-thread-1/WARN]: [VotingPlugin] Detected a month change, but current day is not near end of a month, ignoring month change

To Reproduce This happened last night, 30 Sep > 1 Oct

Expected behavior Month should change accordingly, no matter how many days a month has.

BenCodez commented 6 days ago

Are you using bungee or anything? Was the server offline for a while before it detected a month change?

BenCodez commented 6 days ago

Also force a month change if you still need it.

Geitenijs commented 6 days ago

Are you using bungee or anything? Was the server offline for a while before it detected a month change?

Velocity, and no the server had been running for at least 2 days without rebooting. A reboot should trigger a month change, right? But why does this happen in the first place?

BenCodez commented 6 days ago

reboot won't trigger a month change. Is votingplugin on velocity?

If you need to Just force a month change with /av forcetimechange MONTH (done on console only)

Geitenijs commented 6 days ago

It’s on all my servers, including Velocity, yes. Will try that command! Thanks

BenCodez commented 6 days ago

Then you may want to try this: https://github.com/BenCodez/VotingPlugin/wiki/Global-Data-Handling

ChimpGamer commented 18 hours ago

Not only monthly votes total but also weekly and daily don't seem to reset. I've been using the Global Data Handling since December of last year and it hasn't been reset for like 3 months now I think. I haven't changed anything configuration wise. I've also checked the log of my velocity proxy of October 1st and I've found this which should be good.


[00:00:03] [pool-25-thread-1/INFO] [votingplugin]: Time change event: MONTH, Fake: false
[00:00:03] [pool-25-thread-1/INFO] [votingplugin]: Finished processing month changes
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Detected day changed, processing...
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Time change event: DAY, Fake: false
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Finished processing day changes```
BenCodez commented 18 hours ago

Can you send your configs over?

ChimpGamer commented 17 hours ago

votingplugin.zip I've added the configuration of VotingPlugin for both my Velocity and Lobby server.

BenCodez commented 17 hours ago

Not only monthly votes total but also weekly and daily don't seem to reset. I've been using the Global Data Handling since December of last year and it hasn't been reset for like 3 months now I think. I haven't changed anything configuration wise. I've also checked the log of my velocity proxy of October 1st and I've found this which should be good.

[00:00:03] [pool-25-thread-1/INFO] [votingplugin]: Time change event: MONTH, Fake: false
[00:00:03] [pool-25-thread-1/INFO] [votingplugin]: Finished processing month changes
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Detected day changed, processing...
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Time change event: DAY, Fake: false
[00:00:08] [pool-25-thread-1/INFO] [votingplugin]: Finished processing day changes```

Based on this log it's telling me global data is disabled, since if it's enabled local processing is disabled. Restart the servers and see what happens?

Enable debug on proxy and run /votingpluginbungee forcetimechange DAY and see what it shows?

ChimpGamer commented 17 hours ago

Will do that. But as you've seen in the configuration files I've sent you it is enabled right?

ChimpGamer commented 17 hours ago
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Executing time change events: DAY
[00:54:06] [Velocity Async Event Executor - #10/INFO] [com.velocitypowered.proxy.console.VelocityConsole]: Triggering time change: DAY
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Time change event: DAY, Fake: true
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446935', `DAY`='true' WHERE server='survival';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message survival BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446936', `DAY`='true' WHERE server='lobby';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message lobby BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446937', `DAY`='true' WHERE server='creative';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message creative BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446937', `DAY`='true' WHERE server='skyblock';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message skyblock BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Finished executing time change events: DAY

This is what was logged in the console after I enabled debug and executed the command as you've said.

BenCodez commented 17 hours ago
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Executing time change events: DAY
[00:54:06] [Velocity Async Event Executor - #10/INFO] [com.velocitypowered.proxy.console.VelocityConsole]: Triggering time change: DAY
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Time change event: DAY, Fake: true
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446935', `DAY`='true' WHERE server='survival';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message survival BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446936', `DAY`='true' WHERE server='lobby';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message lobby BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446937', `DAY`='true' WHERE server='creative';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message creative BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728262446937', `DAY`='true' WHERE server='skyblock';
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message skyblock BungeeTimeChange 
[00:54:06] [pool-25-thread-1/INFO] [votingplugin]: Debug: Finished executing time change events: DAY

This is what was logged in the console after I enabled debug and executed the command as you've said.

Should be getting console log messages every so often saying it's still processing

ChimpGamer commented 17 hours ago

After that nothing else about it has been logged so far.

BenCodez commented 17 hours ago

enable bungee debug on backend servers and run the command again? What does the mysql table for global data show?

ChimpGamer commented 17 hours ago

Alright, I've done that and this is what is logged in the lobby console after running the command.

[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: LastUpdated: 1728263880373
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Detected time change from bungee: DAY
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Executing time change events: DAY
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Time change event: DAY, Fake: false
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Starting background task, current cached users: 0
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Finished getting player data in 0 seconds, 892 users, MYSQL
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: AllTime TopVoter loaded, number of players 892
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Maandelijks TopVoter loaded, number of players 263
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Updated TopVoter
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: 0 Signs updated
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Current cached users: 0
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Background task finished. Final processing took 0 seconds. Total time: 0 seconds
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Finished processing day change, took 0 seconds
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: ---Getting references to all files in: /home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/VoteSites.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Config.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Reports
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/SpecialRewards.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/GUI.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Backups
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/ServerData.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards/ExampleBasic.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards/ExampleAdvanced.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Shop.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_APRIL_1714514412808.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_DECEMBER_1704063601908.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_SEPTEMBER_1696111204220.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JULY_1722463201916.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_NOVEMBER_1701385203812.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_MARCH_1711922409307.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728167098452.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_FEBRUARY_1709247604909.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_SEPTEMBER_1727733603690.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_MAY_1717192804475.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JUNE_1719784807191.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_OCTOBER_1698793203775.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_AUGUST_1725141602550.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728248506575.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728245333672.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JANUARY_1706742000673.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/BungeeSettings.yml
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: ---Creating zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/VoteSites.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Config.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/SpecialRewards.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/GUI.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/ServerData.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Rewards/ExampleBasic.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Rewards/ExampleAdvanced.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Shop.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_APRIL_1714514412808.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_DECEMBER_1704063601908.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_SEPTEMBER_1696111204220.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JULY_1722463201916.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_NOVEMBER_1701385203812.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_MARCH_1711922409307.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728167098452.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_FEBRUARY_1709247604909.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_SEPTEMBER_1727733603690.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_MAY_1717192804475.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JUNE_1719784807191.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_OCTOBER_1698793203775.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_AUGUST_1725141602550.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728248506575.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728245333672.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JANUARY_1706742000673.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/BungeeSettings.yml' to zip file
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Created zip file at /home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Backups/Backup-2024_OCTOBER_7.zip
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: ---Done
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Starting background task, current cached users: 0
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Finished getting player data in 0 seconds, 892 users, MYSQL
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: AllTime TopVoter loaded, number of players 892
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Maandelijks TopVoter loaded, number of players 263
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Updated TopVoter
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: 0 Signs updated
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] ExtraDebug: Current cached users: 0
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Background task finished. Final processing took 0 seconds. Total time: 0 seconds
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Finished executing time change events: DAY
[01:18:05] [pool-49-thread-1/INFO]: [VotingPlugin] Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='true', `Processing`='false' WHERE server='lobby';

The GlobalData table looks like this (after running the command) image

BenCodez commented 17 hours ago

Can you restart velocity and test again?

ChimpGamer commented 17 hours ago

Currently not. I'll test again after the daily restart and report back to you.

BenCodez commented 17 hours ago

Currently not. I'll test again after the daily restart and report back to you.

When is that daily restart?

ChimpGamer commented 5 hours ago

Currently not. I'll test again after the daily restart and report back to you.

When is that daily restart?

Everyday at 5 in the morning. I've executed the command again. This is the output on Velocity:

[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Executing time change events: DAY
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Time change event: DAY, Fake: true
[12:37:30] [Velocity Async Event Executor - #6/INFO] [com.velocitypowered.proxy.console.VelocityConsole]: Triggering time change: DAY
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728304650728', `DAY`='true' WHERE server='creative';
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message creative BungeeTimeChange 
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728304650729', `DAY`='true' WHERE server='survival';
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message survival BungeeTimeChange 
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728304650731', `DAY`='true' WHERE server='skyblock';
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message skyblock BungeeTimeChange 
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='false', `LastUpdated`='1728304650733', `DAY`='true' WHERE server='lobby';
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Sending plugin message lobby BungeeTimeChange 
[12:37:30] [pool-25-thread-1/INFO] [votingplugin]: Debug: Finished executing time change events: DAY

And this is the output on the lobby server after executing that command on the velocity server:

[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] BungeeDebug: Received plugin message: BungeeTimeChange, 
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: LastUpdated: 1728304650733
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Detected time change from bungee: DAY
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Executing time change events: DAY
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Time change event: DAY, Fake: false
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Starting background task, current cached users: 3
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Finished getting player data in 0 seconds, 892 users, MYSQL
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: AllTime TopVoter loaded, number of players 892
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Maandelijks TopVoter loaded, number of players 263
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Updated TopVoter
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: 0 Signs updated
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Current cached users: 3
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Background task finished. Final processing took 0 seconds. Total time: 0 seconds
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '30' for 'Monkeymel/2bb1def6-8607-4d63-a976-d2a369c01420' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '310' for 'Mr_Dan0/b02e933c-534b-4118-bee8-d2c9d4238136' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '44' for 'Julianbomb/48e6fc77-b05e-4b13-9244-b55d2a6d9263' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '126' for 'Moeke/2b81b266-313e-410e-bfc8-33191f10636d' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '25' for 'dimondminer55/600a6826-3231-4930-ac99-a95848efcc10' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '306' for 'Und3rground/0c2b1235-f037-443c-a456-1b59ab4ebc6c' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Schedule changes
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '210' for 'DokterNausea/d1ae403c-dcc9-4d9a-bd3c-552f70f47b53' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '268' for 'Wegwijzer16/c436da8c-6b47-40ac-b332-be0c3d9729c6' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '168' for 'patenber/8cb9a878-4f50-454e-a77b-691153978fa9' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '114' for 'DragstarX/6603983f-ce30-4830-9cca-71bd549304c3' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '26' for 'Ymeon/330f9b93-b89d-4ef4-adf3-ebf8261a93a2' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '156' for 'Snive1501/a9e5990d-b376-44b0-9493-18e16c4b02d3' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '255' for 'Chef_Zuivel/cf16a171-b59d-49b1-a358-6fd1cb5f807a' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '214' for 'TheFroukje/0f8d5f37-22ad-41cb-8301-33bbe8d024fe' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: PlayerData MYSQL: Setting HighestDailyTotal to '327' for 'jvtempire/5665ef7d-44c0-47f9-9196-5d7689b83803' Queue: true
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Finished processing day change, took 0 seconds
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: ---Getting references to all files in: /home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/VoteSites.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Config.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Reports
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/SpecialRewards.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/GUI.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Backups
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/ServerData.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards/ExampleBasic.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Rewards/ExampleAdvanced.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Shop.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: directory:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_APRIL_1714514412808.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_DECEMBER_1704063601908.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_SEPTEMBER_1696111204220.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JULY_1722463201916.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_NOVEMBER_1701385203812.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_MARCH_1711922409307.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728167098452.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_FEBRUARY_1709247604909.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_SEPTEMBER_1727733603690.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_MAY_1717192804475.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JUNE_1719784807191.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2023_OCTOBER_1698793203775.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_AUGUST_1725141602550.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728248506575.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728245333672.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/TopVoter/Monthly/2024_JANUARY_1706742000673.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: file:/home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/BungeeSettings.yml
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: ---Creating zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/VoteSites.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Config.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/SpecialRewards.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/GUI.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/ServerData.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Rewards/ExampleBasic.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Rewards/ExampleAdvanced.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/Shop.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_APRIL_1714514412808.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_DECEMBER_1704063601908.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_SEPTEMBER_1696111204220.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JULY_1722463201916.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_NOVEMBER_1701385203812.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_MARCH_1711922409307.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728167098452.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_FEBRUARY_1709247604909.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_SEPTEMBER_1727733603690.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_MAY_1717192804475.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JUNE_1719784807191.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2023_OCTOBER_1698793203775.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_AUGUST_1725141602550.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728248506575.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_OCTOBER_1728245333672.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/TopVoter/Monthly/2024_JANUARY_1706742000673.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Writing 'plugins/VotingPlugin/BungeeSettings.yml' to zip file
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Created zip file at /home/amp/.ampdata/instances/Lobby/Minecraft/plugins/VotingPlugin/Backups/Backup-2024_OCTOBER_7.zip
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: ---Done
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Starting background task, current cached users: 3
[12:37:30] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Finished getting player data in 0 seconds, 892 users, MYSQL
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: AllTime TopVoter loaded, number of players 892
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Maandelijks TopVoter loaded, number of players 263
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Updated TopVoter
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: 0 Signs updated
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] ExtraDebug: Current cached users: 3
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Background task finished. Final processing took 0 seconds. Total time: 0 seconds
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Clearing cache basic
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Finished executing time change events: DAY
[12:37:31] [pool-50-thread-1/INFO]: [VotingPlugin] Debug: Batch query: UPDATE VotingPlugin_GlobalData SET `FinishedProcessing`='true', `Processing`='false' WHERE server='lobby';
[12:37:33] [pool-41-thread-1/INFO]: [VotingPlugin] ExtraDebug: Processing changes for 0c2b1235-f037-443c-a456-1b59ab4ebc6c, Changes: 1
BenCodez commented 2 hours ago

https://bencodez.com/job/VotingPlugin/

What does this do? Think I figured out the issue

ChimpGamer commented 1 hour ago

https://bencodez.com/job/VotingPlugin/

What does this do? Think I figured out the issue

I'll try it. That version will be loaded after the daily restart. I'll report again after that. Thanks for the help so far!