Mods / Server Leaderstat Boards
Author: codeAtorium
Side: Both
Created: Apr 24th 2024 at 2:13 AM
Last modified: Apr 30th 2024 at 9:01 PM
Downloads: 7067
Follow Unfollow 22
Latest release (for Vintage Story 1.19.0 - 1.19.3, 1.19.4 and 1.19.5 - 1.19.7, outdated):
leaderstats_1.0.29.zip
1-click install
This is a set of leaderstat tables for servers that track player achievements over time. Press "U" to open the boards.
This mod is a work in progress. I am publishing it mainly to try on my own server, but you're welcome to try it if you like. I welcome any feedback.
Currently Tracking:
- Blocks Broken
- Blocks Placed
- Chat WordsSents
- Chickens Killed
- Distance Walked
- Killed by Chickens
- Killed by Fall Damage
- Killed by Drowning
- Killed by Other Players
- Killed by Starvation
- Killed by Wolves
- Players Killed
- Minutes on Server
- Times Died
- Wolves Killed
- Smithed Items
- Clayformed items
- Chisel Strikes
- Ingots poured (YABBA forge compatible)
- Tools napped
- Ore Blocks Mined
- Trees chopped down
- Blocks burned
- Grass harvested
Planned:
- More animals/creatures
- More tool varieties
- Vessels looted
- Honey looted
- Harvestables (farming, plants, berries, sticks, resin)
- Meals Cooked (probably on the totals board since ownership can't be assigned)
- An additional "Totals" board that shows ten stats for all the players combined across the server
UPDATE: I will not be continuing development of this or any of my mods. Please feel free to fork them and continue development.
madgnome has generously taken over the development of this mod: https://news.kalataka.ru/show/mod/12585
Thanks, Gnome!
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.29 | leaderstats | 2634 | Apr 30th 2024 at 9:01 PM | leaderstats_1.0.29.zip | 1-click install | ||
|
attempting to fix timeonserver problem | |||||||
| 1.0.28 | leaderstats | 145 | Apr 30th 2024 at 4:57 PM | leaderstats_1.0.28.zip | 1-click install | ||
|
removed log line from smithingItemsCreated | |||||||
| 1.0.27 | leaderstats | 286 | Apr 30th 2024 at 12:03 AM | leaderstats_1.0.27.zip | 1-click install | ||
|
null anvil check for helve hammers | |||||||
| 1.0.26 | leaderstats | 124 | Apr 29th 2024 at 8:42 PM | leaderstats_1.0.26.zip | 1-click install | ||
|
trying to patch timeOnServer to prevent the same bug as distanceWalked | |||||||
| 1.0.25 | leaderstats | 136 | Apr 29th 2024 at 8:16 PM | leaderstats_1.0.25.zip | 1-click install | ||
|
+attempting to fix the distance travelled crash | |||||||
| 1.0.24 | leaderstats | 145 | Apr 29th 2024 at 4:53 PM | leaderstats_1.0.24.zip | 1-click install | ||
|
Added helve hammer creations to smithing stats Fixed a rare crash bug in timeOnServer when connecting. | |||||||
| 1.0.23 | leaderstats | 177 | Apr 29th 2024 at 7:05 AM | leaderstats_1.0.23.zip | 1-click install | ||
|
-modconfig loads new boards dynamically | |||||||
| 1.0.22 | leaderstats | 126 | Apr 29th 2024 at 5:33 AM | leaderstats_1.0.22.zip | 1-click install | ||
|
fixed clay recipe quantity | |||||||
| 1.0.21 | leaderstats | 130 | Apr 29th 2024 at 4:51 AM | leaderstats_1.0.21.zip | 1-click install | ||
|
blocks walked was giving you 1 block for every 10 seconds even if you didn't move. (left the value+1 in) | |||||||
| 1.0.20 | leaderstats | 168 | Apr 27th 2024 at 6:31 AM | leaderstats_1.0.20.zip | 1-click install | ||
|
Added compatibility with YABBA forge bulk ingot molds | |||||||
| 1.0.19 | leaderstats | 126 | Apr 27th 2024 at 5:54 AM | leaderstats_1.0.19.zip | 1-click install | ||
|
added information to server info on login | |||||||
| 1.0.18 | leaderstats | 153 | Apr 27th 2024 at 4:54 AM | leaderstats_1.0.18.zip | 1-click install | ||
|
fixed distance travelled; time on server - they were accruing the wrong values | |||||||
| 1.0.17 | leaderstats | 190 | Apr 26th 2024 at 5:39 PM | leaderstats_1.0.17.zip | 1-click install | ||
|
attempts to fix the minute counting bug | |||||||
| 1.0.16 | leaderstats | 128 | Apr 26th 2024 at 5:00 PM | leaderstats_1.0.16.zip | 1-click install | ||
|
fixed animal deaths being reported incorrectly | |||||||
| 1.0.15 | leaderstats | 395 | Apr 25th 2024 at 9:08 PM | leaderstats_1.0.15.zip | 1-click install | ||
|
+really fixed pit kilns | |||||||
| 1.0.13 | leaderstats | 192 | Apr 25th 2024 at 7:40 PM | leaderstats_1.0.13.zip | 1-click install | ||
|
patched out all api side check crashes | |||||||
| 1.0.12 | leaderstats | 132 | Apr 25th 2024 at 7:35 PM | leaderstats_1.0.12.zip | 1-click install | ||
|
-patch chopping trees crash | |||||||
| 1.0.11 | leaderstats | 184 | Apr 25th 2024 at 7:56 AM | leaderstats_1.0.11.zip | 1-click install | ||
|
fixed time on server fixed extra word count in chat added ability to turn off stats in config | |||||||
| 1.0.10 | leaderstats | 138 | Apr 25th 2024 at 7:23 AM | leaderstats_1.0.10.zip | 1-click install | ||
|
+config file +gui key config | |||||||
| 1.0.9 | leaderstats | 128 | Apr 25th 2024 at 6:40 AM | leaderstats_1.0.9.zip | 1-click install | ||
|
removed dummy text from boards | |||||||
| 1.0.8 | leaderstats | 143 | Apr 25th 2024 at 6:28 AM | leaderstats_1.0.8.zip | 1-click install | ||
|
added a bunch of nullchecks | |||||||
| 1.0.7 | leaderstats | 131 | Apr 25th 2024 at 6:17 AM | leaderstats_1.0.7.zip | 1-click install | ||
|
+trees chopped down | |||||||
| 1.0.6 | leaderstats | 128 | Apr 25th 2024 at 5:53 AM | leaderstats_1.0.6.zip | 1-click install | ||
|
+ore mines | |||||||
| 1.0.5 | leaderstats | 138 | Apr 25th 2024 at 5:19 AM | leaderstats_1.0.5.zip | 1-click install | ||
|
+tools knapped +ingots poured | |||||||
| 1.0.4 | leaderstats | 158 | Apr 25th 2024 at 12:30 AM | leaderstats_1.0.4.zip | 1-click install | ||
|
+chisel strikes | |||||||
| 1.0.3 | leaderstats | 131 | Apr 24th 2024 at 11:50 PM | leaderstats_1.0.3.zip | 1-click install | ||
|
Added harmony to get smithing/crafting/clayforming/chiseling | |||||||
| 1.0.2 | leaderstats | 135 | Apr 24th 2024 at 4:24 AM | leaderstats_1.0.2.zip | 1-click install | ||
|
limits
| |||||||
| 1.0.1 | leaderstats | 127 | Apr 24th 2024 at 2:48 AM | leaderstats_1.0.1.zip | 1-click install | ||
|
players killed killed by players | |||||||
| 1.0.0 | leaderstats | 136 | Apr 24th 2024 at 2:14 AM | leaderstats_1.0.0.zip | 1-click install | ||
|
initial commit the source code is linked on the main page | |||||||
pls update for 1.21. this mod looks awesome!
Crashes on VS 1.21.5 when i try to open in game
Running on 64 bit Windows 10.0.26100.0 with 16123 MB RAM
Game Version: v1.21.0 (Stable)
28/09/2025 11:29:53: Critical error occurred in the following mod: leaderstats@1.0.29
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, leaderstats@1.0.29, 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 C:\Users\jgord\source\repos\scoreboard_new\scoreboard_new\scoreboardGui.cs:line 34
at scoreboard.ScoreboardSystem.OnReceiveStats(StatRequestResponse networkMessage) in C:\Users\jgord\source\repos\scoreboard_new\scoreboard_new\scoreboardModSystem.cs:line 237
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
Event Log entries for Vintagestory.exe, the latest 3
Please add multilingualism, namely Russian. Thanks
You can choose the essential ones
@Ruyeex More likely I would do some sort of chat notifications and then it's usually easy to just pipe throught one of your channels to the discord. But I'm not sure what we would notify. If we notified every time someone took the top of a table, it would be pretty spammy for a lot of the tables, especially early on.
@ATree Thanks for pointing it out. The quanity of the recipe is now considered when adding to the stat table for clay items.
@DejFidOFF That looks like the old timeOnServer stat. I rewrote it last night, so I think that error is probably fixed.
Thought I would bring up something I noticed, not sure if it is intended behavior or not so I was curious. For the leaderstat, "Clay Items Crafted" it does not count the individual clay items. For example, if I were to clayform 4 crocks, it would only count 1, but if I were to clayform 4 crocks 1 by 1 then it would count all 4.
Is there a possibility to add compatibility to a discord bot?
@Kemble Thank you. I honestly never tested it. I'll check it out and see what the issue is. I probably just formatted the name wrong.
I tried to post to the #mods channel, but it says I don't have permission.
I died to a chicken and it's not recording it properly.
Please post your mod in the Vintage Story discord under #mods so we can provide you with better feedback and post pictures.
hope so, we are starting a new world tomorrow so this is perfect timing; we'll get to use it from the start lol
@RogueRaiden Performance shouldn't be an issue. Nothing grows. If it works the first time with 10 people, it will work every time with 10 people.
my biggest worry, of course, is server performance. aaaaalways the server performance
Oh man this looks like fun.
A few more things I'd like to see added.
With so many animals in the game, might be best to just say "Animals killed" & "Death by animals" instead of seperating it by type (foxes, wolves, chickens, etc)
Ore mined, Tree's chopped, honey looted
Drifters killed & killed by drifters.
Harvest ables looted (farming, plants, grass)
Meals cooked
Tools made or anything crafted/created on the anvils
@xXx_Ape_xXx I am not sure if I can actually track crafting/chiseling/smithing stuff. A lot of that stuff it handled client side and doesn't really have true ownership. I would be able to send that stuff from the client, but I believe that would make the boards much more vulnerable to exploiting, so I'm making the decision to only track serverside events. I will look into it though and get a definitive answer. As usual @DanaCraluminum provides the solution. I can do chiseling, as well as crafting/smithing. I'll work on adding those soon.
Cool! Can it track chiseling too? That would be awesome in a building/chiseling competition 😃
@RogueRaiden @Ruyeex Sorry I hadn't set it to public. It should be visible now.
source link seems invalid currently
The github link is above, just above the screenshot. The stats are each a separate class. You can duplicate them and modify them to suit your needs. After that, you just need to specify in the AddAllStats method where you want it to go.
It can add achievements?
And which github link?
From the day you install it.
Just so you know the stat files are easily editable and the whole thing is published on github. If you want to add a stat, it's very easy.
That means you can duplicate a stat and add "This Month" to its key and title and you have a new stat starting on the day you made it. This could be useful for contests, etc.
I'd love to hear your ideas for additions. I'm somewhat limited in what I can track, because the events must be on the server (not the client).
oh heck yeah!!
does this read stats that are stored by vanilla already, or does it only track while it itself is installed