ajLeaderboards icon

ajLeaderboards -----

Create leaderboards for almost anything!





See changes on github
----------, Aug 18, 2023










  • Fixed an error that could happen in the sortBy indexes cache
  • Fix time placeholder showing -1 instead of no-data-score
  • Use new player profile api on spigot 1.19+ (to fix heads on that version)
  • Delete junk h2 trace file
  • Give the extra placeholder higher priority to fix issues with ajlb thinking its a different placeholder
  • Added /ajlb time to help in diagnosing server time issues
  • Moved position cache to guava too
  • Fixed caches trying to refresh while the server is shutting down
  • Added a config option to disable the dontupdate perm
  • Change reset command warning to clarify that you also need to reset the target placeholder
  • Keep threads alive for longer
----------, Jul 24, 2022

  • Fixed a semi-rare issue where new players added to the leaderboard could cause the timed leaderboards for that board to reset
  • Rewrote the statentry cache using google guava cache
----------, Jul 6, 2022

  • Ignore error about index already existing
  • Unregister luckperms contexts when the plugin disables
  • Fixed a rare error with the StatEntry (position) cache
----------, Jun 26, 2022

  • Fixed the plugin not loading on 1.8
  • Updated adventure/minimessage
----------, Jun 23, 2022

  • Force the position (statentry) fetcher to not fetch as often (to prevent db spam from luckperms)
  • Added SQL index (mainly for MySQL)
  • Rewrote lastReset fetcher to use google guava cache (which is much better than the cache system I wrote and ill probably move all the in-memory caches to it in the future)
  • Skip sending update to database if the value is the same as it was before
----------, Jun 23, 2022

  • Fixed the plugin not loading if luckperms wasnt installed
----------, May 30, 2022

  • Added an option to the config to allow disabling of luckperms contexts
----------, May 28, 2022

  • Added LuckPerms contexts that allow you to set permissions/prefixes/suffixes for players on the leaderboard
  • Fixed some prepared statements not being closed when they should
  • Log progress for import/export to the console (incase the admin gets disconnected)
----------, May 25, 2022

  • Fixed an issue where new extras would not be inserted, only old ones updated

Whoops :oops:
----------, May 10, 2022

  • Added "extras" which allows you to display another placeholder alongside the leaderboard (see config for a bit more info)
  • Fixed missing h2 error messages
  • Fixed text on signs not being removed when you remove a sign
  • Fixed {} being replaced with spaces in h2
  • Fixed some small loading leaks
----------, May 10, 2022

  • Fixed a rare ConcurrentModificationError
  • Fixed $ in the config breaking the converter
  • output BDNE instead of 0 if board doesnt exist (for the value placeholder)
  • Added /ajlb reset (which does the same thing as removing and re-adding a board)
  • Added /ajlb ver alias for /ajlb version
  • Added commas in position placeholder
  • Added warning if you're using SQLite
  • Added storage method chart (bStats)
  • Update the wiki link for the dontupdate permission warning
  • The "attempted to update player" message is now yellow if there is a warning (instead of green). Hopefully this will reduce the number of people that just ignore the warning
----------, May 6, 2022

  • Fixed the table updater inserting tables with caps instead of lowercase (causing errors every time a placeholder is updated)
----------, Apr 29, 2022

  • Added export and import commands, which allows you to export from one cache storage, and import into another
  • Fixed weekly boards resetting every 15 minutes on sundays
  • Added {FVALUE} and {TVALUE} placeholders to signs
----------, Apr 24, 2022

  • Added yearly leaderboards
  • Fix some more async tasks not shutting down (I believe I have everything now)
  • Added require-zero-validation option to the config
  • Fixed some things with the h2 updater
  • Fixed config reload fail sending both the succeed and fail messages
  • Lower timeout time for getting armorstands (should improve plugin shutdown speed)
  • Made h2 use 50 max concurrent (like sqlite)
  • Changed the default storage method to h2
----------, Apr 23, 2022

  • Fixed an error that could happen on sqlite or mysql when doing /ajlb add
  • Added h2 to the comment in the cache_storage.yml file
  • Add more shutdown checks
----------, Apr 17, 2022

  • Fixed sign teleport command description being wrong
  • Fixed an error that could happen if a placeholder returned a color code using ยง
  • Added
    %ajlb_lb_<board>_<number>_<type>_displayname% placeholder to show a player's display name
  • Added the plugin version to the papi placeholder expansion
  • Added only-update option to the config
  • Added h2 cache storage support. This will most likely become the default in the future
  • Cached placeholder identification (improves performance)
  • Calculate pretty score on StatEntry innit (improves performance)
  • Less nested hashmaps (slightly improves performance)
  • Allow changing sign format per-board
  • Added reverse-sort option to the config
  • Make the Database-overloaded message only show up if the database has been having issues, not with spikes
  • Fixed weekly/hourly resetting too often
  • Added sign-update option to the config
  • Allow changing encoding used when connecting to a database
  • Changed the default maxConnections to 20
----------, Apr 16, 2022

  • Fix a rare issue that could crash the server
  • Changed the update command to be updateplayer instead
  • Fixed the remove command not doing anything
  • Fixed ghost boards still showing up in commands after removing a board
  • Fixed just-added boards not showing up in some commands
  • Auto-complete boards that were attempted to be used but don't exist in the add command
  • Added a command to teleport to signs
----------, Apr 9, 2022

  • Fixed an error when the comma option was empty
  • Fixed config converter messing up empty strings
  • Fixed update pool not using as many threads as it should
  • Several performance improvements with SQLite (it didn't cause server lag, it just made updating placeholders slower)
  • Fixed config converter running on every startup
  • More shutdown checks
----------, Mar 27, 2022

  • Made hourly always reset on the hour change, daily always reset at midnight, weekly always on Sunday (at midnight), and monthly always on the 1st (at midnight)
  • Fixed stats updating on join even if updating stats is disabled
  • Re-wrote armorstand system to fix some issues
  • Re-wrote cache to make some parts of it less weird
  • Fixed thread leaks with blocking-fetch disabled
  • Fixed a (harmless) error that could happen on startup
  • Cached some more things to prevent unnecessary database load
  • Added update-on-join option to disable updating players when they join
  • Updated adventure (and legacy color codes are now automatically converted to adventure tags)
  • Fixed signs saying "name"
  • Fixed accidental rounding of some numbers
  • Use log methods instead of printStackTrace (so errors should be together now and wont separate as easily)
  • Adventure support on signs
  • Made placeholders able to update once every second (if your database is fast enough)
I've been working on this update for a while, I'm so happy it can finally be released.
----------, Mar 26, 2022

  • A bunch of changes that should lead to better performance when fetching is slow
  • Thanks to @huynhqtienvtag for improving the code to search for armorstands
----------, Feb 7, 2022

  • Added %ajlb_value_<board>_<type>_time% and %ajlb_value_<board>_<type>_raw%
  • Improvements to fetching pool
  • Shutdown tasks when shutting down (so the nag message doesnt show up)
  • fix player value and formatted player value being switched
  • Fixed sqlite taking forever to shut down
----------, Jan 31, 2022

Some things I forgot to do for 2.1.1
  • Fixed the removeplayer command
  • Fixed the removeplayer command not having tab-completion
  • Removed some debug messages that were no longer necessary
  • Added a warning about the dontupdate permission when you try to manually update a player that has it
----------, Jan 23, 2022

  • Add blocking-fetch option to the config.
  • Fix sometimes if you use another language the timed type would get messed up
  • Fixed spacing in week display format
  • Handle bombardment of placeholder requests better
----------, Jan 23, 2022

  • Added support for placeholders that output like 1w 5d 12h 15m (e.g. %statistic_time_played%) (you'll have to use the new time placeholder to display it)
  • Added %ajlb_lb_<board>_<number>_<type>_time% placeholder, which will convert seconds to this format: 1w 5d 12h 15m
  • Fixed command arguments sometimes being printed to the console
  • Made value and position placeholders more efficient
  • Fixed value and position placeholders only returning values for alltime leaderboards, no matter which one was put
  • Fixed errors with some placeholders (specifically ones with a colon)
----------, Jan 14, 2022

NOTE: The placeholders have changed. Check the wiki for the new placeholders: https://wiki.ajg0702.us/ajleaderboards/setup/placeholders#v2
The old placeholders will not work.

The plugin has been re-written to fix issues and add features.
I've attempted to list the noticable changes from the previous versions, but theres a chance I missed some things.

You don't need to delete your config and cache, but you will need to re-do the PAPI placeholders.

  • Added timed leaderboards (hourly, daily, weekly, and monthly)
  • Added a new command help system (with fancy clickable and hoverable stuff)
  • Added `ajleaderboards.dontupdate.<board>` permission. Players with this permission will not be updated on (or added to) the leaderboard
  • Changed the placeholders to support the new timed types (the old placeholders wont be supported anymore)
  • Made head blocks update less often
  • Fixed armorstand flickering
  • Fixed /ajlb removeplayer not working
And many more improvements to the code (mainly that the code doesnt annoy me with how ugly it is anymore lol)
----------, Jan 10, 2022

  • Added %ajlb_value_<board>% and %ajlb_value_<board>_formatted% that will show the value for the player viewing them
  • Fix memory leak
  • Fixed forward only error
----------, Oct 9, 2021

  • Added the %ajlb_lb_<board>_<number>_value_formatted% placeholder. It will show numbers but in a formatted short form. For example, 10000 will show as 10k, 1000000 will show as 1m, etc
  • Added missing commands to help menu
  • Fixed error with heads uuids being null
  • Clarified some comments in the cache storage config
  • Make sure mysql connection uses utf8
----------, Sep 11, 2021

  • Fixed an error with the sqlite database updater (that would also happen on fresh installs)
----------, Sep 7, 2021

  • Added MySQL support for the cache, instead of just sqlite
  • Fixed an error that could come from skins
  • Cache skins so that we wont pass the mojang api ratelimit
  • If the remove command fails, it will tell you now instead of saying it succeeded when it didnt
----------, Sep 6, 2021

  • Fixed players being able to remove signs when they are protected
  • Removed a debug message I forgot to remove in 1.2.11
----------, Jun 14, 2021

  • Fixed an error that could happen with cracked players
  • Fixed something that caused lagspikes with heads
  • Added the /ajlb removeplayer command, which can be used to easily remove players from the leaderboard (temporarily)
----------, Jun 13, 2021

  • Added a cache to getting the position on boards, so that it doesn't have to wait for sqlite (which can be somewhat slow sometimes)
  • Changed ways of getting head (blocks) that should improve performance slightly
  • Changed ways of getting head (items, for armor stands) that should improve performance massively
  • Added a chat warning when using the old placeholders
----------, May 28, 2021

  • Remove a debug message I forgot to remove in the previous update
----------, Apr 7, 2021

  • Added command usage when you use a command wrong
  • Fixed an error that was happened if your signs were in anything other than the main world
  • Fixed the noperm message showing up without you pressing enter
----------, Apr 4, 2021

  • Changed the placeholders to be shorter. The old placeholders will still work for now, but will warn you every once and a while. I will remove the old ones at some point in the future. See the new placeholders on the wiki
  • Fixed numbers getting rounded
  • Fixed commas being put in wrong place when a number has a decimal
----------, Mar 22, 2021

  • Fixed skulls updating when they didn't have to, causing lag with some modded clients
  • Added some placeholder aliases for some of my plugins that you need to use a special placeholder for
----------, Mar 14, 2021

  • Fixed jar size
  • Will automatically remove commas from input placeholders
  • Include the special color char in the color placeholder
  • Will not update a head if there is no data (should fix head fps lag)
----------, Mar 10, 2021

  • Added the color placeholder
The color placeholder takes the player's prefix, and removes everything except color codes. So it should just be their name color. Can be useful for places where you want to show the name color without showing their prefix.
----------, Mar 1, 2021

  • Fixed an error that could happen when new players join
----------, Feb 28, 2021

  • Fixed error being thrown when any kind of quotes was in prefixes or suffixes
----------, Feb 27, 2021

  • Fixed memory leaks
  • Small caching for a possible slight performance boost
  • Fixed east and south facing signs not checking the right positions for heads and armorstands
----------, Feb 24, 2021

  • Fixed an issue where leaderboard placeholders were calling something they shouldn't have, and was causing lag
  • Added /ajlb update command that lets you force an update for a player. It will let you put offline players too, but note that not all placeholder support getting information for offline players.
----------, Feb 1, 2021

  • Fixed the new configurable update time not being added to old configs
  • Fixed cast error when using sign types other than oak
----------, Dec 19, 2020

  • Will set the player's head to armor stands above signs
  • Will apply the player's skin to heads above signs
  • Fixed a bug where commas could be in the wrong place
  • Made the update interval while a player is online configurable
----------, Dec 13, 2020

  • Fixed large numbers being displayed in scientific notation
----------, Dec 8, 2020

  • Will throw a warning instead of an error when vault cannot find a chat handler
Sorry for the update spam, this is the final one for today
----------, Dec 7, 2020

  • Actually fixed one of the errors mentioned in the last update
----------, Dec 7, 2020

  • Fixed warnings and errors about vault and placeholderapi
----------, Dec 7, 2020

  • Added built-in signs
  • Fixed this plugin being detected as legacy
  • Fixed a possible memory leak
  • Added the /ajlb remove command (to remove a board from the db)
----------, Dec 6, 2020

  • Added placeholders for vault prefix and suffix of players on the leaderboard
  • Added a placeholder to get the position the player is on in a certain leaderboard (thanks EylexLive)
  • Fixed a possible memory leak
----------, Dec 2, 2020

  • Removed unnecessary code that was causing errors
----------, Nov 23, 2020

  • Added an option to the config to change the comma in numbers (can be set to blank to disable commas
  • Added /ajlb reload
----------, Nov 16, 2020

  • Removed default player autocompletion for add command
  • Added autocomplete for the two subcommands
  • Added /ajlb list. If no arguments are given, it will list the added boards. If the name of a board is given, it will list the top 10 for that board
----------, Nov 11, 2020

  • Added commas to large numbers
  • Fixed error when colons are used in placeholders
----------, Nov 10, 2020

  • Fix the placeholders would get un-registered when reload papi
----------, Nov 9, 2020

  • Added support for 1.8 servers
----------, Nov 8, 2020

  • Added bStats
----------, Nov 7, 2020

Resource Information
Author:
----------
Total Downloads: 113,425
First Release: Nov 7, 2020
Last Update: Aug 18, 2023
Category: ---------------
All-Time Rating:
148 ratings
Find more info at wiki.ajg0702.us...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings