Please read everything about this update before updating on your server.
Highlights
Reworked the leaderboard system.
Now uses HolographicDisplays.
Dropped sign support.
Changes on how data is sent and received.
You can set leaderboard update time.
Improvements on the online storage system.
HolographicDisplays and Data
Now you have the option in settings file
Leaderboard.Data-Limit - default is 10 wich means that Splegg will get only the top 10 players and after this no placeholder will be registered - so if you want top 20 change the Data-Limit option to 20.
If you are looking for Sign Leaderboard this may be added again but it's not in the to-do list for now, however using the API you can access the leaderboard and create your own system.
Bugfixes
Fixed ActionBar for 1.12.
Fixed auto-join signs being create at wrong file.
Fixed auto-join signs breaking the normal sign system.
Fixed errors while creating signs due Auto-join sign bug.
Fixed game queue.
Fixed auto-join system sending players to random maps when there's still a available map to join.
Fixed plugin dependencies.
Changes
Added a system to set blocks behind the sign according the arena state.
Keep in mind that this system is for normal signs only, there's no way to use with auto-join signs.
Set Use-Block-Behind-Sign to true in settings.yml to use.
Use id:data for now.
Changed /splegg leaderboard to /splegg updateLeaderboard.
API update
New methods
Code (Text):
/**
* Gets the wins leaderboard;
*
* @return The list of avaliable data.
*/
public List<Entry<String, Integer>> getWinsLeaderboard();
/**
* Gets the shots leaderboard;
*
* @return The list of avaliable data.
*/
public List<Entry<String, Integer>> getShotsLeaderboard();
/**
* Get offline player data.
*
* @param name - The player name
* @return Offline player data
*/
public OfflineGamePlayer getOfflineGamePlayer(String name);