Fixed a class conversion bug in PAPI
Small bug fix and database version bump
Added the %statssb_kd_rank% papi placeholder
Added &#FFFFFF hex support
Added a bunch more PAPI placeholders
Hopefully fixes some bugs with the plugin still wiping scoreboards on world/region change when scoreboards are disabled.
Small update, title explains the only change.
Fixed a bug with the hooking manager.
Added MariaDB data support + jar relocating work
1.20.6 compatibility and Fixed some more edge cases.
should have fixed any issues with the holograms not booting properly.
Added a null check for EntityPotionEffectEvent
Finding a bunch of issues tonight.
As the title states, fixed a bug for users that are booting up the plugin for the first time, it wouldn't populate the table properly.
Updated a bunch of stuff with the scoreboards & patched bugs with animations!
Starting with the fun stuff first!
- Combat Tag scoreboard modifier!
You can now define a new scoreboard modifier player.combat-tag which gets called when you are in combat!
Example:
Code (YAML):
modifiers:
player:
combat-tag
:
modifier-priority
: 1
board
: combat-example-1
cycle-boards
: false
cycle
:
- example-1:200
- example-2:200
Bug Fixes:
- Fixed a pretty large bug where once multiple users logged in, the scoreboard animations would break timing.
- Fixed a bug with projectilelaunch stat (arrows shot) didn't save properly and never would update the leaderboards at the right time.
- more smaller tweaks and some code smell fixes.
As the title says, cleaned up some code.
Fixed a bug where a player could logout and somehow still have a scoreboard task running. (Usually happened with cross-platform players.)
Fixed some bugs related to combat tags messages
Fixed some problems with combattags not actually "killing" the player on logout.
Fixed error with calling methods to update the scoreboard from the region change handler when the scoreboard is disabled.
As the title states. Just is a small patch to the confirmDatabase method in my data system.
Like the title says:
- Added support for MC versions 1.20.3+
- Fixed issues with some stats not updating
Well that was quick!
Fixed some bugs related to WorldGuard regions
Also realized the statssb.board permissions had a typo. fixed!
Hello Everyone!
Today's update is quite large, Ive had this update in the works for a while now. I massively improved the scoreboard system and animation driver behind it!
Simple rundown of all the new features:
- Scoreboards updating and animations are now ENTIRELY async, beforehand It would be a main thread hit, (very very tiny hit but still a hit) now it gets put onto its own async thread for each player.
- Permission Specific scoreboard "systems" so you can now setup special boards for individual permission. Admin boards now possible!
- Dynamic modifier boards, This includes currently active potion effects you can show different scoreboard systems if the user has specific potion effects.
- New Updated scoreboard command, "/board" this command gives three options; Toggle, Skip, and Hold:
- Toggle: Toggle on/off the scoreboard from your sidebar
Permission: statssb.board.toggle
- Skip: Skip the active scoreboard in the cycle
Permission: statssb.board.skip
- Hold: Hold the active scoreboard in the cycle
Permission: statssb.board.hold
- New Stat: Best Kill Streak
- Updated the config.yml disabledWorlds, this has been updated to disabledWorlds, disabledRegions, hiddenWorlds, hiddenRegions
- This separates the disabled stat worlds and the hidden scoreboard worlds. this way you can still have the scoreboards showing in non stat worlds or likewise
- Updated/Fixed the holograms/leaderboards now showing the "plural" correctly, you will need to update your format inside the config.yml more details in the update video.
This update adds compatibility for version 1.20.2
Hello!
This update should fix the issues related to the ProjectileHitEvent throwing an error on versions below 1.11.
This was caused by the method projectileHitEvent.getHitEntity() not existing until the spigot 1.11 API.
I optimize the code to work with 1.17.1, this is how I missed this bug until users brought this to my attention!
SHOULD WORK NOW!!!
(also added a nicer message if the database fails to be created (most likely invalid mysql details))
Placeholder API updates.
Fixed the leaderboard placeholders needing the player object.
Version: 4.2.13-Premium
Minor bug fixes.
- Fixed Hologram config entries not fully deleting causing other holograms not to load.
- Fixed Hologram loader to not stop loading holograms if a single hologram failed to load.
- Fixed Hologram command not tab completing the stat types.
- Added another safety check if hologram is null to not attempt to update the board.
- Fixed debug mode override by the config.
- Updated some of the default hologram related messages in the messages.yml (This will only affect newly generated configs.)
Updated Holograms:
Known bugs that were fixed:
- Issue with Holographic Displays with a "NPE" because "lines" was null
- Hologram adjusting to 1 block lower after restart.
- Holograms not updating.
- Some color codes not getting replaced
Got a bug report for the leaderboard command permissions not working.
Went through and fixed that.
Adds a new setting called enableAdvancedBoards in the config.yml
This setting will remove the custom world boards / custom region boards. and just use the default board loop at the top of the scoreboards.yml - this still persists in the config and the messages files.
Also should remove some of the auto replacing of the scoreboards.yml and animations.yml although, this does add errors to make it through. So make sure you're formatting correctly.
Fixing thing from last update
Fixed KD not updating.. probably
simple, just Hologram adjustments/bug fixes

The update is a bit experimental so if you want to be safe, I would recommend backing up your statssb files. As the title suggests, lots of improvements. Mostly everything changed is "behind the scenes" but should run smoother now.
Data System additions again again.
))
Just some more data system updates, nothing changed feature wise.
As the title suggests:
"Should" Fix to the "ArrayIndexOutOfBounds" issue.
This update just adds a few more back-end changes to the datasystem
- Should Fix some issues related to "Database File Is Locked"
Small fix to pass over some null values.
Many things changed in this update, Will write up a full update list in the next update, this is just to push a fix out sooner!
Hello!
Unfortunately I have to update often because of some unforeseen issues with some crashing related bugs
Changes:
- Changed the data system to work a tad like it used to with this plugin, Still new code just kinda doing it the same way as before.
- Fixed a bug where arrows hit would increment by 2 instead of 1.
- Changed the rounding of doubles in the leaderboard message.
Like the title says, simple changes to appease some bugs.
- getKD bug fix/code change
- Probably fixed a bug related to Premium vanish
What the title says
Modified the scoreboard update() method to be a bit more readable and spread out to two separate methods for updating the title and the lines.
Fixed an issue with holograms not showing after reboot, (hook detection order issue)
This update should fix the holograms not being able to be created/updated.
Update should fix some of the hex replace-order for placeholders on the scoreboard/messages.
- Adds some error default checks for the mysql convert (default 0)
Bug Fixes:
- This update should fix any issues with the plugin not starting up correctly/converting MySQL databases from the old version to the new one.
This update is quite experimental !!!!!!
BACKUP ANY STATSSB FILES YOU DON'T WANT TO LOOSE!
Update Features:
- Re-Wrote the entire data management system (MySQL and SQLite)
- The placeholder system should also now be improved, should hopefully see some timings improvements there.
- Leaderboards update at fixed intervals, you will not see any changes till the updates, although you can use a placeholder to get the current time till update (%leaderboard_update_time%) this amount is configurable in the config. This may have been in last update, although I figure ill bring attention to it again.
This was mainly a behind the scenes update, not much real features.
JOIN THE DISCORD TO REPORT BUGS!
HERE
Updates:
-Fixed some issues with MySQL
Updates:
- Fixed 1.8 support.
- Fixed some debug messages still appearing on the live build.
- Updated the file utils to allow for the file comments to stay.
- Removed the last bit of functionality of the scoreboards.yml. Now the only board editing file is updated_scoreboards.yml
Updates:
- Updated a good portion of the data system.
- Fixed a bug where the plugin would hang on load.
Updates:
- Large Scoreboard Update! The scoreboard now updates per tick. (Not sure totally how taxing this will be on the server, can revert to slower update rate if needed.)
REMOVED: REGION FLAG BOARDS, IT NOW ONLY WORKS WITH REGION NAMES
All Scoreboard Updates:
- Able to run multiple boards in one world/region.
- New Line Animations
- New Scoreboard File.
File:
Code (Text):
Scoreboard:
Default:
interval: 20
board-1:
title: "&aStats Scoreboard"
lines:
- "&7%date%"
- "%blank-1%"
- "&fKills: &3%kills%"
- "&fDeaths: &3%deaths%"
- "&fKD: &3%kd%"
- "&fStreak: &3%streak %"
- "%blank-2%"
- "&7&l&m-------------"
Worlds:
world:
interval: 20
FirstLoopedBoard:
title: "&aStats Scoreboard"
lines:
- "&7%date%"
- "%blank-1%"
- "&fKills: &3%kills%"
- "&fDeaths: &3%deaths%"
- "&fKD: &3%kd%"
- "&fStreak: &3%streak%"
- "%blank-2%"
- "&7&l&m-------------"
SecondLoopedBoard:
title: "&aStats Scoreboard"
lines:
- "This is a cool scoreboard line"
- "This is a cool scoreboard line"
- "This is a cool scoreboard line"
Regions:
region1:
interval: 15
FirstLoopedBoard:
title: "&aStatsSB Region"
lines:
- "&7%date%"
- "%blank-1%"
- "&fKills: &3%kills%"
- "&fDeaths: &3%deaths%"
- "&fKD: &3%kd%"
- "&fStreak: &3%streak%"
- "%blank-2%"
- "&7&l&m-------------"
SecondLoopedBoard:
title: "&aStatsSB Region"
lines:
- "This is a cool scoreboard line"
- "This is a cool scoreboard line"
- "This is a cool scoreboard line"
Updates:
- Data System got a few changes that should change a bit of how it loads up the database, nothing significant. Mostly updates for my other plugin MineAlerts.
Updates:- Added new placeholders for PAPI
These placeholders let you retrieve information about the top 10 players in each stattype
They follow a new syntax so they are flexible.
- %statsssb_leaderboard_type_rank_name/amount%
some example usages would be:
- %statssb_leaderboard_kill_1_name%
- %statssb_leaderboard_arrows_shot_3_amount%
- %statssb_leaderboard_damage_taken_1_amount%
- Decent Hologram support is now available to the public. NOTE, It isn't good support yet as I cant quite understand the API. Currently its extremely slow at updating the entries as they change.
Bugs:
- Fixed a bug where you could get a scoreboard in a disabled world on join.
- Fixed/Updated the logic that checks the world names in the scoreboards.yml they now can be any CaSiNg.
Updates:
- Data System now has a cache. It should now be able to compare old stats to the new ones and it will only attempt to update the values that actually changed. Should improve the speed by a lot!
Updates:
- This update should revert some of the datalib changes I implemented a few versions ago. This should help with potential lag.
- Fixed a potential bug where the last entry in the data structure would get skipped resulting in a stat not loading.
Updates:
- This should fix the Plugin is disabled issues.
Updates:
- Fixed potential performance problem with the data system. This update should address that.
- Fixed an issue with the scoreboard.enabled setting still showing the scoreboard from server startup when its set to false.
Updates:
- Fixed Disabled Worlds not actually removing the tracking of stats, it would only stop showing the scoreboard in those worlds.
- Added a new section called disableCertainRegionStats and disabledRegions
This new addition allows you to remove stat tracking in certain areas of your worlds.
Title explains it!
StatsSB is now 1.18 compatible.
Updates:
- Changed the main way the Data System loads data.
It now loads all values dynamically. It will attempt on loading the stats in can seek out from what the system loads. If a entry isn't compatible it will attempt some of the older methods to load the data. If that fails it will set the data defaults to 0.
This also adds support for data conversion from the new StatsSB Lite version to this plugin.
Bug Fixes:
Eeevennn More bug fixes for ya.
- Added a new placeholder %combat-status% This tag is editable in messages.yml,
edit not-in-combat-placeholder: this is what the placeholder will show when the user isn't in combat. in-combat-time-placeholder is what shows when the player is in combat. (doesn't have to stay %tag-time%)
- Fixed an issue introduced in version 4.0 that would drop your items onQuit
- Fixed Some scoreboard problems with Worldguard and region support.
- Fixed Combat tags issues with starting/stopping
Bug Fixes:
More bug fixes for ya.
- Fixed an issue where the Scoreboard could not be toggled on/off
Bugs:
Fixed a bug created by the last fix:
The bug I fixed last update caused a new bug for < 1.13 players, this update "should" fix that. The bug is from the EntityDamageByEntityEvent and I believe the error got thrown when a Mob attacked another mob.
Bugs:
Fixed a potential "Mob vs Mob" Error thrown:
This should now just ignore the damage mobs do to eachother.
Fixed Citizens NPC's:
This should now ignore the kills. It before would throw an error related to the fact that citizens throws "PlayerDeathEvent" when a NPC dies.
Updates:
MySQL:
This should re-add support for MySQL connection to databases. The Bungee mode is still not working. keep in mind I'm working on a fix for this.
WorldGuard Flaged Boards:
You can now create worldguard flags that StatsSB will find and use. It will take your scoreboard name and prefix the flag with "statssb-" ex: "statssb-example-flag". Keep in mind you must use "-" for your spaces as WorldGuard isn't underscore friendly apparently.
Bug Fixes:
- Fixed a potential bug related to the "addStat" method.
It should now do a friendly check to the map and use a default value for adding if a previous amount does not exist.
About:
So far this is probably the largest update I've posted for this plugin. This update brings many features though removes MySQL support temporarily.
Permissions Have Changed:
Features:
- New Stat Types:
- Damage Taken
- Damage Dealt
- Arrows Shot
- Arrows Hit
- Every Stat now has a leaderboard and has hologram support.
- Command System rewrite allows for more complex command operations.
- More async methods which means faster loading.
- Config and Messages additions
- Additional Commands to change stat values ingame.
- Changed a bit how the data system works, it will now give you some more details when needed.
- Data conversion, It will now convert your old stats.db file to a new updated format.
NOTE: THIS COULD TAKE A BIT DEPENDING ON THE SIZE OF THE FILE. IF THE SERVER STOPS RESPONDING JUST LET IT DO ITS THING. IT SHOULD MANAGE EVERYTHING ELSE PROPERLY EVEN AFTER IT STOPS.
- Much more placeholders! They should all be listed in the discord.
Hello Everyone!
Today's update brings some bug fixes related to the scoreboard and API additions/improvements. Stat Changes will improve the stats system 10x. And will be flexable and simple to add new stats.
Scoreboard bug was that if someone had their "spawn" world disabled and then enabled in another world it would mix up the toggling with some old methods. This should now be resolved. If you find any more issues with this feel free to join the discord and let me know!
API additions is methods to "setKills", "setDeaths", "savePlayer" More API additions coming soon.
Hello Everyone!
Today's update is just another simple bug fix for /togglescoreboard.
Keep in mind I plan on updating and expanding StatsSB soon.
StatsSB v4.0 has been started.
Hello Everyone!
Today's update should fix a big where scoreboards couldn't be toggled with specific worlds being disabled.
Hello Everyone!
Today's update brings some placeholder additions/updates to StatsSB!
The plugin should now have more generic placeholder replacing meaning, You can now use any placeholder anywhere(almost)
These placeholders are all now available, and the same across everything, no section specific placeholders that should be the same as another.
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FJEEefSe.png)
Hello Everyone!
Today's update fixes player kills counting as mob kills, not too much is needing to be fixes atm. If you have issues or requests please join the discord and we can get it in the works

Hello Everyone!
Today's update brings some bug fixes, that you guys may have been experiencing.
First up we have a Worldguard fix for some legacy servers (<1.13). Unfortunately There is not a easy fix for it so I disabled region support for legacy servers for now.
Secondly I fixed players killing themselves to boost their stats.
And last but not least, I fixed a possible error on first time plugin startup possibly throwing some errors at the console till a reload or such. (not sure how I didn't find this bug earlier)
Hello Everyone!
Today's update brings WorldGuard Region support! StatsSB prioritizes region boards over world boards, this way you can have a base world board and have the board update when entering a specified region.
You can add these regions by entering the name of the region in the new "RegionBoards" section in scoreboards.yml. The region boards work the same way as the world boards work as in you can copy over as many as you want.
A possible issue with the regions is if you have multiple regions overlapping and having individual boards for each. If you avoid this you should have no issues.
Hello Everyone!
Today's update brings an option to toggle whether mobs spawned by a spawner counts towards the mob kills!
You can find the option inside the config.yml

Hello Everyone!
Today's update should fix all the conversion errors the plugin has been experiencing, It should now properly load the lite versions file and update the entries.
Side note, you may run into issues if you try to go from premium to lite again.
Hello Everyone!
This is a small hologram bug fix patch that should fix any issues you might have been having with the holograms throwing errors on player join.
Hello Everyone!
Today's update brings a new data system, all your stats should be fine throughout the conversion though if you want to be safe I'd recommend backing up your stats.db
This update also should bring some fixes to the holograms and data loading order.
IF YOU FIND BUGS PLEASE JOIN THE DISCORD AND LET ME KNOW ASAP
Hello Everyone!
Super small update today, Found some possible bugs with the data system and this is a patch for it! Tests on my system seem to work fine, though if you have issues with it please join the discord and we can work out the issue

Hello Everyone!!!
Today's update brings per world scoreboard to the plugin!
To get started with creating a scoreboard you will need to open the new "scoreboards.yml" file in this file you will find a default scoreboard. All you have to do to add a new world is create new layout with the world name instead of default. (note there will always need to be a default scoreboard for the plugin too fall back on)
For the config I removed the scoreboard layout and title parameters from the scoreboard section. I left them inside the config so you can easily copy over your current scoreboard to the scoreboards.yml file.
I also added 2 new options to the config first being defaultScoreboard: which states what scoreboard in scoreboards.yml to use as a default in unspecified worlds. Second being dateFormat, you can change the format of the date to your desired format ex: dd/MM/yyyy for most eu servers.
Feel free to join the discord for any assistance with creating per world boards.