-
-
Notifications
You must be signed in to change notification settings - Fork 79
Performance Settings
This page provides a brief overview of configuration options in VotingPlugin that can help improve performance, reduce background processing, and fine-tune MySQL load handling.
(This page is still a work in progress — more sections will be added soon.)
These settings control how VotingPlugin interacts with your MySQL database.
Increasing connections can improve responsiveness slightly, but using more than 2 connections rarely provides any benefit.
MaxConnections: 1
âœ
Recommended: 1 or 2
⚠� Avoid setting this too high — it only increases resource usage.
The TopVoter system tracks player totals across daily, weekly, monthly, and all-time categories.
Disabling categories you don’t use reduces memory and SQL usage — especially helpful on large networks.
# Enable only what you need
LoadTopVoter:
AllTime: true
Monthly: true
Weekly: false
Daily: falseTo further reduce background load, lower the number of players processed:
# Maximum number of players to show on top voter
# Set to -1 for no limit
MaxiumNumberOfTopVotersToLoad: 1000
✠Recommendation: Limit to a few hundred for large player bases.
VotingPlugin performs various background updates (for cooldowns, reminders, placeholders, signs, etc.).
The options below let you balance performance vs. feature richness.
PerSiteCoolDownEvents: false
When enabled, allows per-site cooldown rewards and reminders — but increases CPU usage.
Disable if not needed.
DisableCoolDownCheck: false
When
true, disables all cooldown checking.
Has no effect on reminders, but removes cooldown logic completely.
DisableInteractEvent: false
When
true, disables processing of PlayerInteractEvent (used for signs/skulls).
Slightly improves performance if you don’t use vote signs or heads.
UseVoteStreaks: true
UseHighestTotals: true
Disable these if you don’t use vote streaks or best totals.
This lowers SQL queries and speeds up player data saving.
UseJavascriptPlaceholders: false
⚠� Has significant performance impact, even if no JavaScript is actively used.
Only enable for advanced math or logic placeholders.
AlwaysUpdate: false
Forces background updates to run on every interval, even if no changes occurred.
🔧 Not recommended — increases unnecessary database activity.
UpdateWithPlayersOnlineOnly: false
When enabled, only runs background updates if at least one player is online.
Recommended for smaller servers to reduce idle activity.
DelayBetweenUpdates: 3
Interval (in minutes) between background checks like sign updates or top voter sync.
3–10 minutes is ideal for most setups.
Longer = lower background activity, slower updates after votes.
ExtraBackgroundUpdate: false
Performs additional player data checks across servers.
Only needed in multi-server setups where updates don’t trigger correctly.
DisableAdvancedTab: false
Disables checking permissions for tab completion.
May improve command responsiveness slightly for large permission setups.
Default PlaceholderAPI options are already optimized.
You can learn more on the dedicated wiki page:
🔗 PlaceholderAPI Expansion Documentation
Skulls are used to display player heads in VoteTop GUIs.
They can be heavy on performance — especially on large servers.
PreloadSkulls: false
Preloads all skull textures on startup.
⚠� Can cause significant memory usage and startup delay.
LoadSkulls: true
Caches skulls as players appear in VoteTop GUIs.
Recommended over PreloadSkulls — faster in use, lighter on memory.
- Disable unused systems like streaks or daily top voters.
- Avoid preloading skulls unless absolutely necessary.
- Use fewer MySQL connections unless you experience database queueing.
- Keep DelayBetweenUpdates between 3–10 minutes.
- Run
/av statusto monitor background update intervals and timings.
✠Summary of Recommended Performance Settings
| Option | Recommended | Reason |
|---|---|---|
MaxConnections |
1–2 | Efficient MySQL usage |
LoadTopVoter.Weekly/Daily |
false | Skip unused categories |
UseVoteStreaks |
false (if unused) | Reduces SQL load |
UseHighestTotals |
false (if unused) | Fewer queries |
UseJavascriptPlaceholders |
false | Avoids heavy parsing |
PreloadSkulls |
false | Reduces memory |
LoadSkulls |
true | Balanced performance |
AlwaysUpdate |
false | Only update when needed |
DelayBetweenUpdates |
3–10 | Best balance |
UpdateWithPlayersOnlineOnly |
true | Skip idle processing |
âš¡ Tip: Test configuration changes gradually and monitor timings with
/av debugor/av status.
If your server uses multiple instances, make sure all share the same MySQL configuration for consistency.
- Commands & Permissions
- API
- PlaceHolderAPI placeholders
- Minecraft Server Lists
- Bedrock Player Support
- Performance Settings
- Signs
- Special Rewards
- Time Changes
- Vote Reminding
- VoteMilestones
- VoteReminders
- Month Date Totals
- Transferring data storage within plugin