Mods / Server Leaderstat Boards

Category: #Utility
Author: codeAtorium
Side: Both
Created: Apr 24th at 2:13 AM
Last modified: Apr 30th at 9:01 PM
Downloads: 3513
Follow Unfollow 13

Latest file for Various v1.19.x:
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.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.29 1668 Apr 30th at 9:01 PM Show leaderstats_1.0.29.zip Install now
v1.0.28 52 Apr 30th at 4:57 PM Show leaderstats_1.0.28.zip Install now
v1.0.27 193 Apr 30th at 12:03 AM Show leaderstats_1.0.27.zip Install now
v1.0.26 32 Apr 29th at 8:42 PM Show leaderstats_1.0.26.zip Install now
v1.0.25 28 Apr 29th at 8:16 PM Show leaderstats_1.0.25.zip Install now
v1.0.24 59 Apr 29th at 4:53 PM Show leaderstats_1.0.24.zip Install now
v1.0.23 84 Apr 29th at 7:05 AM Show leaderstats_1.0.23.zip Install now
v1.0.22 34 Apr 29th at 5:33 AM Show leaderstats_1.0.22.zip Install now
v1.0.21 30 Apr 29th at 4:51 AM Show leaderstats_1.0.21.zip Install now
v1.0.20 69 Apr 27th at 6:31 AM Show leaderstats_1.0.20.zip Install now
v1.0.19 37 Apr 27th at 5:54 AM Show leaderstats_1.0.19.zip Install now
v1.0.18 53 Apr 27th at 4:54 AM Show leaderstats_1.0.18.zip Install now
v1.0.17 101 Apr 26th at 5:39 PM Show leaderstats_1.0.17.zip Install now
v1.0.16 39 Apr 26th at 5:00 PM Show leaderstats_1.0.16.zip Install now
v1.0.15 309 Apr 25th at 9:08 PM Show leaderstats_1.0.15.zip Install now
v1.0.13 91 Apr 25th at 7:40 PM Show leaderstats_1.0.13.zip Install now
v1.0.12 45 Apr 25th at 7:35 PM Show leaderstats_1.0.12.zip Install now
v1.0.11 90 Apr 25th at 7:56 AM Show leaderstats_1.0.11.zip Install now
v1.0.10 42 Apr 25th at 7:23 AM Show leaderstats_1.0.10.zip Install now
v1.0.9 43 Apr 25th at 6:40 AM Show leaderstats_1.0.9.zip Install now
v1.0.8 45 Apr 25th at 6:28 AM Show leaderstats_1.0.8.zip Install now
v1.0.7 35 Apr 25th at 6:17 AM Show leaderstats_1.0.7.zip Install now
v1.0.6 38 Apr 25th at 5:53 AM Show leaderstats_1.0.6.zip Install now
v1.0.5 51 Apr 25th at 5:19 AM Show leaderstats_1.0.5.zip Install now
v1.0.4 60 Apr 25th at 12:30 AM Show leaderstats_1.0.4.zip Install now
v1.0.3 39 Apr 24th at 11:50 PM Show leaderstats_1.0.3.zip Install now
v1.0.2 54 Apr 24th at 4:24 AM Show leaderstats_1.0.2.zip Install now
v1.0.1 47 Apr 24th at 2:48 AM Show leaderstats_1.0.1.zip Install now
v1.0.0 42 Apr 24th at 2:14 AM Show leaderstats_1.0.0.zip Install now

21 Comments (oldest first | newest first)

💬 Ruyeex, Apr 29th at 10:38 AM

You can choose the essential ones

 
 

 

 

💬 codeAtoriumAuthor, Apr 29th at 5:47 AM

@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.  

💬 codeAtoriumAuthor, Apr 29th at 5:34 AM

@ATree Thanks for pointing it out.  The quanity of the recipe is now considered when adding to the stat table for clay items.  

💬 codeAtoriumAuthor, Apr 29th at 4:43 AM

@DejFidOFF That looks like the old timeOnServer stat.  I rewrote it last night, so I think that error is probably fixed.

💬 DejFidOFF, Apr 28th at 5:52 PM

chyba sb

💬 A_Tree, Apr 28th at 12:39 AM

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.

💬 Ruyeex, Apr 27th at 5:15 AM

Is there a possibility to add compatibility to a discord bot?

💬 codeAtoriumAuthor, Apr 26th at 4:22 PM

@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.

💬 Kemble, Apr 26th at 6:26 AM

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.

💬 RogueRaiden, Apr 25th at 6:15 AM

hope so, we are starting a new world tomorrow so this is perfect timing; we'll get to use it from the start lol

💬 codeAtoriumAuthor, Apr 25th at 12:42 AM

@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.

💬 RogueRaiden, Apr 25th at 12:02 AM

my biggest worry, of course, is server performance. aaaaalways the server performance

💬 Kemble, Apr 24th at 5:35 PM

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

💬 codeAtoriumAuthor, Apr 24th at 4:27 PM

@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.

💬 xXx_Ape_xXx, Apr 24th at 2:24 PM

Cool! Can it track chiseling too? That would be awesome in a building/chiseling competition 😃

💬 codeAtoriumAuthor, Apr 24th at 4:26 AM

@RogueRaiden @Ruyeex Sorry I hadn't set it to public.  It should be visible now.

💬 RogueRaiden, Apr 24th at 4:22 AM

source link seems invalid currently

💬 codeAtoriumAuthor, Apr 24th at 4:21 AM

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.

💬 Ruyeex, Apr 24th at 4:17 AM

It can add achievements?
And which github link?

💬 codeAtoriumAuthor, Apr 24th at 3:38 AM

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).

💬 RogueRaiden, Apr 24th at 3:04 AM

oh heck yeah!!

does this read stats that are stored by vanilla already, or does it only track while it itself is installed

(edit comment delete)