v1.8.0 - Refresh method changes. New commands.
Note: This is a big update, and currently, experimental.
- Added a complete new scoreboard refresh system. (more below)
- Added /kb send Command to send a message (actionbar/title) to players.
- Added /kb sendall command to send a message to all players.
- Added /kb setall <group> to change groups for everyone.
The new method vs the old.
In the old method, each user had a scoreboard, and each scoreboard could have upto 15 lines. Each line had its own refresh task. This meant there were upto 15 tasks
per player.
If you had a server of 100 players, KiteBoard would make 1500 tasks.
In the new method, each player has a single task for themselves, which updates all lines. This is also now been made asynchronous and thoroughly tested. custom timings show that this tasks took about 1-7ms.
Much less than the previous method, where
each task could be 0-4ms
X 15 could take 60ms. thats 53ms improvement (approximately)
There has also been a significant reduction in onJoin lagg.
If you enjoy leave a 5 star review