BossSloth-Statistics icon

Statistics

Adds stats to the game like amount blocked

Last updated 2 weeks ago
Total downloads 1024
Total rating 2 
Categories Client-side Utilities
Dependency string BossSloth-Statistics-1.0.0
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

willis81808-UnboundLib-2.9.0 icon
willis81808-UnboundLib

This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.

Preferred version: 2.9.0
willis81808-MMHook-1.0.0 icon
willis81808-MMHook

MonoMod Runtime Hooks generated for ROUNDS

Preferred version: 1.0.0
BepInEx-BepInExPack_ROUNDS-5.4.1100 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1100

README

Statistics mod

A mod that adds statistics to the game like how many times you blocked or what was your highest damage dealt.

Adding extra stats

You can add your own stats to the stat menu by adding a void to the action extraStatsMenu in Stats like this:

public void Start() {
    Stats.extraStatsMenu += MyStats;
}


public void MyStats(GameObject menu) {
{
    var MyStatsMenu = Stats.CreateMenu("MyStats", menu);
    var myCustomStats = Stats.CreateStat("My custom stat", "MyStats", MyStatsMenu);
}

and then you can update the stat like this:

void MyUpdateMethod() {
    // add's 1 or the given amount to the stat
    Stats.AddValue("My custom stat");
    
    // or you could 
    
    // set's the stat to the given amount
    Stats.SetValue("My custom stat", 10);
}

note: stats only update when you're not in sandbox, build this project in DEBUG mode to allow update in sandbox for testing.

Patch notes

  • 1.0.0 (Initial release)

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-1-5 1.0.0 1024 Version 1.0.0 Install