-
-
Notifications
You must be signed in to change notification settings - Fork 80
Global Data Handling
β οΈ Work in Progress FeatureThis feature is still being developed, but is stable.
Contact BenCodez if you encounter any problems or unexpected behavior.
Global Data Handling makes the proxy (Bungee/Velocity) act as the primary server for processing time changes and resetting totals.
Instead of each backend handling its own time change independently, the proxy coordinates the process β ensuring all servers finish updating before any totals reset.
This feature improves reliability when using TopVoter or VoteParty resets across multiple servers.
When enabled, the proxy manages the timing of vote resets (daily, weekly, monthly).
During a time change:
- The proxy signals all connected servers to pause vote processing.
- Votes received during this time are cached (with timestamps).
- Once all servers report completion, totals reset and cached votes are re-applied.
If a server is offline, the process will automatically skip that server after a set period β preventing the network from stalling indefinitely.
-
ποΈ MySQL required
Global data uses an additional MySQL table for inter-server coordination.
It can use the same MySQL connection defined in your config or a separate one. -
π Proxy Support
Intended for PLUGINMESSAGING and SOCKETS setups.
Support for MySQL method may be added later. -
βοΈ Proper Server Naming
Each backend must have a unique server name set inBungeeSettings.yml.
β
Bungee will cache votes safely during time changes (stores timestamps)
β
TopVoter rewards distribute correctly across all servers
β
Ensures consistent TopVoter data when enabled
β
All servers finish processing time changes together
β
Prevents random resets if a server was offline
β
Supports TimeHourOffSet configuration for time alignment
ββ’ Votes received during this time are cached (with timestamps) and processed afterward.
ββ’ Delay only applies if the server went offline recently β if itβs been offline for a long period (β 12 hours +), it will not slow down the process.
ββ’ This delay behavior may be adjusted in future updates.
UseMainMySQL: true).
| Command | Description |
|---|---|
/votingpluginbungee forcetimechange (TimeType) |
Forces a manual time change event (daily/weekly/monthly). |
# Global MySQL data handling between server communications
GlobalData:
Enabled: false
# Use existing connection from config.yml
UseMainMySQL: true
# Custom MySQL settings (if not using main)
Host: ''
Port: 3306
Database: ''
Username: ''
Password: ''
MaxConnections: 1
# Must be identical on all servers
Prefix: ''
#UseSSL: true
#PublicKeyRetrieval: false
#UseMariaDB: false
# Time offset for time changes (must match across servers)
TimeHourOffSet: 0# Global MySQL data handling between server communications
GlobalData:
Enabled: false
# Use existing MySQL connection from config.yml
UseMainMySQL: true
# Custom MySQL settings (if not using main)
Host: ''
Port: 3306
Database: ''
Username: ''
Password: ''
MaxConnections: 1
# Must be identical on all servers
Prefix: ''
#UseSSL: true
#PublicKeyRetrieval: false
#UseMariaDB: false- Ensure GlobalData.Enabled is set to
truein both bungeeconfig.yml and BungeeSettings.yml. - All servers must share the same
Prefixand MySQL configuration if usingUseMainMySQL: true. - This system will respect BlockedServers settings in
bungeeconfig.yml. - Time synchronization and resets must occur with consistent
TimeHourOffSetacross all servers.
π§© Intended Use:
This feature is ideal for large networks where accurate TopVoter synchronization is important, and where time changes need to be coordinated globally instead of per-server.
Still under development β feedback is welcome.
- Vote Milestones
- Vote Streak System
- Vote Reminders β Current System
- Legacy Vote Reminding
- Vote Broadcast System
- Vote Logging
- Webhooks
- Time Changes
- Month Date Totals
- VoteShop
- Rewards Overview β Start Here
- Reward System Concepts
- Reward File Format
- Where to Set Rewards
- All Reward Possibilities
- Reward Examples
- Delayed Reward Command
- World Example
- VotingPlugin-Specific Rewards
- Commands & Permissions
- API
- PlaceholderAPI Placeholders
- Minecraft Server Lists
- Bedrock Player Support
- Transferring Data Storage