VoteRewards v10.1.0

Reward players from voting!
Moved UserVoteData#Callback inner-class to utilities.interfaces package
Added ObjectMap#getLocation

New config values:
* Added debug option for useless information
* Added debug option for user data deletion.
* Added purge values
* Added monthly values
* Added a new votetop value `line`
* Moved gui value to votetop section

Added PostgreSQL support

Changed how Database#checkConnection works:
* Added Database#isConnectionValid to check if the connection is valid
* Added Database#isClosed to check if the connection is closed
* Added Database#checkColumn to check for missing columns

HashObjectMap, LinkedObjectMap and ConcurrentObjectMap changes (Check ObjectMap)
Added save boolean to HolographicDisplays#remove(String, boolean).
Added interface IDatabaseType
Renamed LeaderHeads to LeaderHeadsHook
Added All time votes to LeaderHeadsHook
New message in messages.yml (votetop line)
Added new placeholder and rename the old ones
Some ObjectMap changes
New Options values
PlayerListeners changes
Removed Type.java
Added org.jetbrains.annotations.NotNull annotations
Added new methods to User.java

UserVoteData changes:
* Removed Callback
* Added all time votes
* Changed runCommands from BukkitRunnable to Bukkit.getScheduler
* Changed how load, save and reset works
* Added delete option
* IDatabaseType implementation to SQLUSerUtils, MongoDBUtils and UserUtils
* Changed how UserUtils works.
* Changed how save, load, delete and reset works per storage system

Moved registerCommands, unRegisterCommand and registerListeners to Utils.java
Fixed message config value for voteparty and vote

VoteRewardPlugin changes:
* Added the useless debug info about thread id on onEnable
* Added check for "month" value inside of data.yml on onEnable
* Some other changes on onEnable
* Remove Holograms on onDisable (without removing it from data.yml)
* Added PostgreSQL to setupDatabase
* Added HolographicDisplays#updateAll to setupDatabase
* Added VoteUtils#purgeData to setupDatabase
* Added VoteUtils#monthlyReset to setupDatabase

VoteTop changes:
* Added all-time votes top voters
* Added a line to leave a space between

VoteUtils changes:
* Added purgeData to purge user data if they didn't vote for X days
* Added monthlyReset to reset player data each month
* Added getAllTimeTopPlayer to get all time top players
* Moved getTopPlayer and getTopPlayers from Utils.java

Fixed VotifierListener processVote.
Rename Options.java to OptionsUtil.java
Added OptionsUtil#getStringValue and removed unnecessary String.valueOf/String casts
Added CFG#getFile
Added voteparty title option to config.yml
MySQL and PostgreSQL changes
Added ConfigUpdater to add missing Options(Rewards and Holograms sections are excluded)
Changed version to v4.3.5
Changed ObjectMap to interface.
New Map ConcurrentObjectMap.
New Map LinkedObjectMap.
New map HashObjectMap.
Properly usage of HashObjectMap/ConcurrentObjectMap/LinkedObjectMap.
User class extends to ConcurrentObjectMap.
Changes on VoteRewards command.
Added missing "v" on version.md
Some tests in VoteRewards.java
Fixed HolographicDisplays softdepend typo in plugin.yml
Change version to v4.3.4
Added debug option for file creation
Import jetbrains NotNull annotation in commands
Changed ObjectMap from ConcurrentHashMap to LinkedHashMap
Added org.jetbrains:annotations as dependency in POM
Re-added VoteRewards set sub-command
Changed version to 4.3.3

Jenkins link: https://jenkins.georgev22.com/job/VoteRewards/
Removed modules
Added type check and messages in Holograms command
Fixes in code comments (Not visible in this commit changes)
Some other changes
Moved lucko's maven helper and xseries to Externals module
Removed MetricsLite.java class in order to use the class from the repo
Changed how User class works
Added ObjectMap and Assertions classes
Replace almost all Maps with ObjectMap
Rename of WorldEdit modules
Fixed Sound and VoteParty Options#getValue() in some cases
Changed how LibraryLoader get initialized
Added table name for SQL
Some other changes that i forgot..
Code clean up
Comments:
Keep a backup of you current config.yml
I'm using lucko's maven helper in order to download the libraries in runtime
https://github.com/lucko/helper/tree/master/helper/src/main/java/me/lucko/helper/maven
(lucko's helper is not shaded in plugin jar. I'm just using those classes).

As a precaution, libraries that may not be needed because they are in other plugins/server jars, are downloaded when the plugin loads.

Plugin version changed from 4.3-Alpha to 4.3-Beta

Changelog:
Updated config.yml format
Added new settings in config.yml
Libraries are not shaded on the jar but are downloaded when the plugin loads
Removed MongoAtlas.java
Full support for MongoDB
Added Database Type (Type.java)
Better usage of Database.java
Added back "Class.forName("");" for MySQL and SQLite
Fixed a problem with file storage
Remove unnecessary code on VoteRewardPlugin#onDisable
Rewrite SQL System
New UserUtils class to manage user data
Unregister the commands on plugin disable
Remove all tasks on plugin disable
Clean up some code
EULA: Free EULA
31,200 Views
1,235 Downloads
Dec 17, 2018 Published
Jul 7, 2025 Updated
5.00 star(s)
Average rating (27)
3.9 MB File size
Type
  1. Staff
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.9
  1. 1.10
  1. 1.11
  1. 1.12
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
Creator
Owner
Recommended for you
A special auto sell chest plugin. Create unique chests and get rich the smart way!
5.00 star(s) 16 ratings
269 purchases
Change your skin's clothes (overlay) without opening a graphic editor and rejoining!
Not yet rated
4 purchases
Hunt your enemies, level up and earn rewards. Killstreaks, Levels, Bounties and more
5.00 star(s) 2 ratings
3 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,227 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,220 purchases
31,200 Views
1,235 Downloads
Dec 17, 2018 Published
Jul 7, 2025 Updated
5.00 star(s)
Average rating (27)
3.9 MB File size
Type
  1. Staff
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.8
  1. 1.9
  1. 1.10
  1. 1.11
  1. 1.12
  1. 1.13
  1. 1.14
  1. 1.15
  1. 1.16
  1. 1.17
  1. 1.18
Creator
Owner
Recommended for you
A special auto sell chest plugin. Create unique chests and get rich the smart way!
5.00 star(s) 16 ratings
269 purchases
Change your skin's clothes (overlay) without opening a graphic editor and rejoining!
Not yet rated
4 purchases
Hunt your enemies, level up and earn rewards. Killstreaks, Levels, Bounties and more
5.00 star(s) 2 ratings
3 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,227 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,220 purchases
Top