Mods / Leaderboards

Tags:
QoL
Author:
MadGnome
Side:
Both
Created:
May 19th 2024 at 8:46 PM
Last modified:
Jun 16th 2024 at 1:16 PM
Downloads:
7534
Follow Unfollow 30
Latest release (for Vintage Story 1.19.0 - 1.19.3, 1.19.4 and 1.19.5 - 1.19.8, outdated):
leaderboards_1.1.6.zip  1-click install

This mod is a work in progress, I have taken over from codeAutorium (original mod author) and will update the project as best I can.  I am completely brand new to C# so bear with me while I update stuff.

If you are familiar with C#, and would like to add another tracker the source code is available above.  I'm available on the VS Discord by the same username if you have questions.

Currently Tracking:

  • Blocks Broken, Blocks Placed, Chat WordsSent, Distance Walked, Minutes on Server, Times Died, Smithed Items, Clayformed items, Chisel Strikes, Ingots poured (YABBA forge compatible), Tools napped, Ore Blocks Mined, Trees chopped down, Blocks burned, Grass harvested

 

  • Killed by Vanilla: Anything, Bear, Chickens, Drifter, Drowning, Fall Damage, Fox, Goat, Hyena, Locust, Pig, Players, Rabbit, Raccoon, Sheep, Starvation, Wolves
  • Killed by Mod Support: Primitive Survival, Outlaws, Something in the Water, Fauna of the Stone Age: Caninae, Capreolinae, Casuariidae, Dinornithiformes, Machairodontinae, Manidae, Pantherinae, Rhinocerotodae

 

  • Killed X Vanilla: Anything, Bear, Chickens, Drifter, Fish, Fox, Goat, Hyena, Locust, Pig, Players, Rabbit, Raccoon, Sheep, Wolves
  • Killed X Mod Support: Primitive Survival, Outlaws, Something in the Water, Fauna of the Stone Age: Caninae, Capreolinae, Casuariidae, Dinornithiformes, Machairodontinae, Manidae, Pantherinae, Rhinocerotodae

Future Plans:

  • Tracking for the rest of Vanilla entities
  • More modded mobs support
  • Other actions as I can figure them out

Current Bugs:

  • Ranged weapons gives the kill credit to the weapon (ie, game:steel-arrow) and not the player.  Looks to be working now in SP based on my testing.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.6 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
4405 Jun 16th 2024 at 1:16 PM leaderboards_1.1.6.zip 1-click install

Minor Update:  Added participation in the leaderboard for Hyenas.

1.1.5 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
506 Jun 13th 2024 at 11:33 PM leaderboards_1.1.5.zip 1-click install

Fixed more bugs.  Should count now for falling deaths, drowning, and starvation.

Error for being killed by a bear when no bear killed you should be gone as well.

1.1.4 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
276 Jun 13th 2024 at 7:02 PM leaderboards_1.1.4.zip 1-click install

Minor Update: Added tracker for total kills.  Unfortunately it will only track new kills and not your historical ones.

1.1.3 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
491 Jun 9th 2024 at 6:19 PM leaderboards_1.1.3.zip 1-click install

Hopefully fixed the random KilledByBear error message in the log.

Added support for Primitive Survival: Snakes/Vipers, Living Dead, Crabs.

1.1.2 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
575 Jun 2nd 2024 at 7:33 PM leaderboards_v1.1.2.zip 1-click install

Fixed Major Bug: Tracks ranged kills

Added Missing Tracker KilledByBears

Added support for mod: Fauna of the Stone Age Dinorithidae

 

1.1.1 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
1092 May 22nd 2024 at 12:24 AM leaderboards_v1.1.1.zip 1-click install

Removed

Killed Vermin, Killed by Vermin

Added

Killed By:Fish, Fox, Goat, Pig, Rabbit, Raccoon, Shark, Sheep

Killed:Fish, Fox, Goat, Pig, Rabbit, Raccoon, Shark, Sheep

1.1.0 leaderboards
1.19.0 - 1.19.3 1.19.5 - 1.19.8
189 May 19th 2024 at 9:04 PM Empty leaderboards_v1.1.0.zip 1-click install

37 Comments (oldest first | newest first)

TheDe5tiny, Oct 27th 2025 at 3:12 AM

Crashes game on VS 1.21.5

 

CaptainJake, Sep 28th 2025 at 9:38 AM
Crash Report
Running on 64 bit Windows 10.0.26100.0 with 16123 MB RAM
Game Version: v1.21.0 (Stable)
28/09/2025 11:38:06: Critical error occurred in the following mod: leaderboards@1.1.6
Loaded Mods: axleinblocks@1.21.0, signs@1.0.2, bedrespawn@1.1.0, canoemode@1.0.4, cavesymphony@1.2.0, chiseltools@1.15.1, hqzlights@1.1.2, expandedmolds@1.2.0, caninae@1.0.34, casuariidae@1.1.5, chelonioidea@1.0.2, dinornithidae@1.0.17, elephantidae@1.0.13, iniidae@0.1.3, machairodontinae@1.0.27, manidae@1.0.17, pantherinae@1.2.1, rhinocerotidae@1.0.21, sirenia@1.0.23, spheniscidae@1.0.11, viverridae@1.0.4, ornamentalfish@5.0.1, plainsandvalleys@1.0.12, primitivesurvival@3.9.4, spyglass@0.5.2, tankardsandgoblets@1.2.1, tprunes@1.1.2, torchholdersmithingplus@1.0.0, game@1.21.0, vsimgui@1.1.12, alchemy@1.7.14, animalcages@4.0.1, apelanterns@1.3.2, attributerenderinglibrary@2.1.1, betterruins@0.5.0, butchering@1.10.1, carryon@1.10.7, configlib@1.10.2, herbarium@1.4.1-rc.1, hydrateordiedrate@2.2.8, kevinsfurniture@1.7.3, krpgenchantment@1.1.4, landclaming@1.0.3-rc.1, leaderboards@1.1.6, medievalexpansionpatch@1.3.1, moreanimals@1.6.2, ndlexpandedgrowth@3.2.2, noticeboard@1.1.2, spearexpantion@0.3.6, opdoorpack@0.0.1, playerlist@2.1.5, relictools@1.1.0, rpgoverlay@1.0.7, rpvoicechat@2.3.22, saltandsands@1.1.3, slowtox@3.0.1, stonebakeoven@1.2.0, stonerailings@1.4.0, substrate@1.1.2, th3dungeon@0.4.4, thecritterpack@1.1.4, vinconomy@5.0.2, creative@1.21.0, vsinstrumentsbase@2.0.4, survival@1.21.0, allclasses@2.0.5, em@3.3.0, justchairs@0.0.3, tabletopgames@3.0.0, thebasics@5.2.3, wildcrafttree@1.3.2, tailorsdelight@2.0.0, wildcrafttreenerf@1.0.2
System.MissingMethodException: Method not found: 'Vintagestory.API.Client.GuiComposer Vintagestory.API.Client.GuiComposerHelpers.AddDialogTitleBar(Vintagestory.API.Client.GuiComposer, System.String, System.Action, Vintagestory.API.Client.CairoFont, Vintagestory.API.Client.ElementBounds)'.
at scoreboard.ScoreboardGui.SetupDialog()
at scoreboard.ScoreboardGui..ctor(ICoreClientAPI capi, String[] leaderStats, Boolean fresh, Boolean newGui) in D:\VS Projects\Leaderboard\scoreboard_new\scoreboardGui.cs:line 34
at scoreboard.ScoreboardSystem.OnReceiveStats(StatRequestResponse networkMessage) in D:\VS Projects\Leaderboard\scoreboard_new\scoreboardModSystem.cs:line 287
at Vintagestory.Client.NoObf.NetworkChannel.<>c__DisplayClass12_0`1.<SetMessageHandler>b__0(Packet_CustomPacket p) in VintagestoryLib\Client\API\NetworkChannel.cs:line 74
at Vintagestory.Client.NoObf.NetworkAPI.HandleCustomPacket(Packet_Server packet) in VintagestoryLib\Client\API\NetworkAPI.cs:line 148
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 779
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 172
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 719
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 663
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 113
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 338
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 133
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95
McTaco, Mar 24th 2025 at 6:46 PM

Error during launch about being unable to start, but does work in game. can see stats accumulate.

 

Need a way to add modded animals and such.

CobbleCobbler, Mar 2nd 2025 at 5:49 PM

Could be interesting to add Server wide stat viewing for Xskills. They store it in ./data/saves/XLeveling/(world).json by player id

so it shouldnt be too complicated

disputedname, Jan 24th 2025 at 6:47 PM

WIll this be updated to 1.20.1?

Desolae, Jan 17th 2025 at 9:49 PM

Does it work in 1.20?

Aledark, Nov 7th 2024 at 7:58 PM

Hi MadGnome Currently on 1.19.8 on our server hitting U-selecting server tab crashes the client everytime(100% reproductible)

codeAtorium, Aug 4th 2024 at 11:27 PM

@MadGnome Hey there!  Sorry I've been out of touch. It looks like you're doing a great job with it! Would you like me to remove the page for my mod, so there's no confusion?  I added a link to this one on my page for the time being.

DejFidOFF, Jun 26th 2024 at 5:05 AM

MadGnome

If you have zero programing experience, than I have a negative so.. :D Good job. It works just fine. 

MadGnome , Jun 25th 2024 at 10:57 PM

DejFidOFF

I mean, I have zero programming experience in any language.  I just like leaderboards to track stats and the original mod author was stepping away from modding so I decided to see if I could fix some things with it, and add some more things to it lol.

DejFidOFF, Jun 25th 2024 at 2:57 PM

MadGnome

 

I am really good at hw, but C# is rocket science for me so.. nvm :D

MadGnome , Jun 25th 2024 at 2:03 PM

DejFidOFF

The original mod author didn't have any language files/localization for it and that is something I am unaware of how to do.

I do have the mod's source cord linked up top if you know C#, and wanted to do a pull request/fix for that.

DejFidOFF, Jun 24th 2024 at 2:10 PM

Ohhh I want to translate this mod, but there is no localization file in the zip :( :(

DejFidOFF, Jun 22nd 2024 at 7:32 PM

MadGnome

kilometers will be fine

Maamessu, Jun 22nd 2024 at 4:18 PM

Ah okay, gotcha. Thanks for the clarification!

MadGnome , Jun 22nd 2024 at 1:37 PM

Maamessu

The mod reads events from the server, and then decides if they meet the criteria to add to a leaderboard stat.

ie, the server would read when a fox killed a hare, but it wouldn't meet the conditions to add it to a leader board stat (Player killed Hare would, or Player Killed by Fox would).

MadGnome , Jun 22nd 2024 at 1:33 PM

DejFidOFF

I'll have to see about extending the maximum displayed value, or convert the blocks walked into Kilometers instead perhaps.

DejFidOFF, Jun 22nd 2024 at 7:58 AM

MadGnome

Hello o/ Is it possible to repair the counting to ordinary numbers? Thank you :) btw is it even possible to walk all this blocks? or it counts blocks when you teleport?

 

Maamessu, Jun 19th 2024 at 9:03 PM

I'm pretty sure this is (trying) to log kills of entities by other entities (foxes killing hares, as an example).

MadGnome , Jun 14th 2024 at 5:34 PM

DejFidOFF Cinobi

I'm not sure if I can show a single players stat on the bottom.
I can probably figure out how to make the GUI and list area bigger so it shows more people, but even then that would only show so many on a large server.

DejFidOFF, Jun 14th 2024 at 4:24 AM

MadGnome

Agree with Cinobi. I you are not in top 10 than your stat will be at 11. position. Example 212. DejFidOFF :)

 

Cinobi, Jun 12th 2024 at 10:03 PM

It would be nice to see my own accomplishements too in a list, like
1: blabla
2: blabla
10: blabla
......
1337: Cinobi

DejFidOFF, Jun 10th 2024 at 9:33 AM

@MadGnome

ooh sorry for that. I am not even see that. I don't tell anybody. :D

 

MadGnome , Jun 10th 2024 at 5:15 AM

DejFidOFF

The Error message has the C:\Users\myname location of my computer I built the mod from.  Can you remove that line from your poast.  I'm going to build the next version of the mod in a different location to remove that information.

 

DejFidOFF, Jun 10th 2024 at 4:16 AM

MadGnome

Hello "would you mind editing/removing the post which contains my name in it?" Really don´t understand which post you mean or what do you want from me :( 

 

MadGnome , Jun 9th 2024 at 2:22 PM

DejFidOFF

Working on that bug at the moment, would you mind editing/removing the post which contains my name in it?  I see I need to rename my windows account.

 

WickedSchnitzel, Jun 3rd 2024 at 1:10 PM

Could you add:
-Monthly statistics
-maybe even weekly statistics
...would be nice for server challenges. The best weekly/ monthly player in category xy could win a server prize. This could boost player activity.

Ovadex, May 29th 2024 at 11:56 PM

Looks cool. I think I'll add this to my server once it tracks arrow kills. :)

Aerra, May 26th 2024 at 9:02 PM

Oops, I apologize :( I'll just remove the whole comment for now and keep you posted on further developments in the issue tracker. Thank you for going through the trouble!

MadGnome , May 26th 2024 at 8:07 PM

Aerra

I'm not able to replicate that error in SP with just leaderboards installed, is this happening with just the bear or other mobs as well?

Aerra, May 24th 2024 at 11:28 PM

Ah, that's fascinating. Good to know!

No rush for an update, I imagine that might be a tricky fix. Everyone on our server is fighting over the top spot of the 'Killed By' leaderboards in the meantime 😂

MadGnome , May 24th 2024 at 9:58 PM

Aerra

Right you are, I was only testing with the admin blade. Looks like the game isn't recognizing the player as the owner of the projectile that killed the target, (ie it recognizes game:arrow-steel as the owner of the kill).  I'll have to look into how to fix that, can't have all our ranged people not getting credit for their kills!

Aerra, May 24th 2024 at 2:08 AM

Working great on our server so far!

Only note would be that ranged kills don't appear to count towards the 'Killed X' trackers. Only tested with drifters so far.

MadGnome , May 20th 2024 at 3:15 PM

The_True_Goo

I'm not sure if it's possible or not yet, I have almost no C# knowledge, but I would like to add as many trackers as possible.  Going to add a link to the Github later, so people with more C# knowledge can see how the individual trackers are done and make some more trackers to add (by sending their tracker to me and I'll add it in).

The_True_Goo, May 20th 2024 at 2:57 PM

ah  I see. I'll be adding this to my server then. Thank you :D. Could we get a tracker for trees/Crops planted and time spent temporally unstable

 

MadGnome , May 20th 2024 at 2:10 PM

The_True_Goo

From Leaderstats: "UPDATE: I will not be continuing development of this or any of my mods. Please feel free to fork them and continue development."

From Leaderboards: "I have taken over from codeAutorium (original mod author) and will update the project as best I can."

The_True_Goo, May 20th 2024 at 11:41 AM

I'm sorry to be that one but what's the difference between this and [LeaderStats](https://mods.vintagestory.at/leaderstats)