Padank-AlweStats icon

AlweStats

Easily see stats about entities, fps, ping, clock, ship, wind, world, bow, inventory, weight, map, player, environment and coordinates

Last updated 8 months ago
Total downloads 36614
Total rating 10 
Categories Mods Tweaks Misc Tools Client-side Utility Mistlands Update Hildir's Request Update
Dependency string Padank-AlweStats-6.0.5
Dependants 64 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105

README

AlweStats

Give a thumbs up if you like the mod and you have a GitHub account !

If you have an idea for something to add or any suggestion regarding the implemented features, feel free to create an issue on the GitHub repository !

You may encounter incompatibilities in case there are other mods that modify the UI, be sure to enable either one or the other equivalent section so they don't conflict in the same function

The mod is compatible with "randyknapp's Minimal Status Effects", "randyknapp's Equipment and Quick Slots", "aedenthorn's Extended Player Inventory" and "marlthon's OdinShip" mods.

For reasons inherent to the optimal functioning of the mod, everything related to the pins and elements in the status effects list (BedStatus, PortalStatus, ShipStatus and TombStatus, except for WeightStatus) could cause a lowering of fps if the computer running the game is not very powerful.

Since the default day length declared in Valheim doesn't match the real one, to successfully use the "Days passed" counter in the world selection panel you need to join in a world at least one time, The mod will then get the day length in that world and save it in the "AlweStats.json" file (you have to do it for each world).

The UI is separated into these blocks :

  • GameStats, which contains "FPS"
  • WorldStats, which contains "Days passed", "Time played", "Current biome", "Weather" and "Seed"
  • WorldClock, which contains "Clock" (game clock)
  • SystemClock, which contains "Clock" (real-life clock)
  • ServerStats, which contains "Ping", "Total players" and a list of players in range with their health percentage
  • ShipStats, which contains "Ship health", "Ship speed", "Wind speed", "Wind direction"
  • PlayerStats, which contains "Inventory slots", "Inventory weight", "Selected arrows" and "Bow ammo"
  • MapStats, which contains "Player coordinates" and "Focus coordinates"

For each block, you can enable or disable it and you can also set :

  • Position
  • Margin
  • Text color
  • Text size (also for the cursor coordinates and the explored percentage)
  • Text alignment (not for WorldClock and SystemClock)

Each block is also movable and resizable with your mouse while in-game thanks to the integrated editing mode (default key : F8).

You can reload the configuration file (default key : F9) while in-game to see changes.

There are also "EntityStats" and "EnvStats" which aren't UI blocks but can let you choose different things.

In the config file you can also :

  • Change key for plugin reload and editing mode
  • Change the color of the health bar for entities and tamed creatures
  • Change the height of the health bar for entities
  • Choose the clock format (12h or 24h)
  • Replace the default bed pin icon with the icon of the bed as a building piece
  • Set the background color for all the blocks
  • Set padding for all the blocks
  • Set the string format for the health of environment elements, construction pieces and entities
  • Set the string format for the process status of bushes, plants, fireplaces, beehives and fermenters
  • Set the string format for the cursor coordinates string
  • Set the string format for the ShipStats, MapStats, WorldStats, ServerStats and GameStats blocks
  • Set the color of the crosshair and the custom bow charge bar
  • Set the scale of the player marker and the crosshair
  • Toggle each section (blocks and not)
  • Toggle a "Days" counter in the world selection panel
  • Toggle the player statistics in the character selection
  • Toggle a reset button in the pause menu to reset the positions of all the blocks with their default values
  • Toggle the current biome text in the top-right corner in the minimap
  • Toggle a weight fill percentage as an element in the status effects list
  • Toggle the hover status separately for rock, trees, bushes, plants, beehives, fireplaces, fermenters, containers, cooking stations and smelters
  • Toggle the cursor coordinates and the explored percentage in the large map
  • Toggle the rotation of the minimap that follows the player camera rotation
  • Toggle the distance and direction from claimed bed, closer portal, closer ship and closer tomb shown as elements in the status effects list
  • Toggle the custom bow charge bar instead of the vanilla circle that shrinks
  • Toggle pins for ships, dungeons (troll caves, mountain caves, crypts, fire holes and infested mines), carts and portals
  • Toggle the title of the custom pins
  • Toggle the distance between you and the ping a player does on the map

In the console or chat, now you can use these commands :

> alwe (or /alwe in chat)
List of valid subcommands :
reload - Reload the configuration file to update changes in-game
reset - Reset the blocks positions
cfp [world] - Remove all the pins from the AlweStats.json file for a specific world
df - Clear the entire AlweStats.json file by deleting it

To-do list

  • Add a compass
  • Add a custom minimap
  • Add compatibility with Project Auga
  • Fix the known issues

Known issues

  • Health starts showing from the second hit for rocks and mine rocks
  • Name doesn't show for small environment elements
  • Remaining time doesn't work properly for beehives
  • Pregnancy percentage doesn't work properly
  • Config reload doesn't work properly

Changelog

v6.0.5

  • Updated game version reference to 0.217.14
  • Fixed errors related to old game version reference

v6.0.4

  • Updated game version reference to 0.216.9
  • Fixed lime color not found
  • Fixed smelter hover texts
  • Resized health bars

v6.0.3

  • Fixed bug that was not removing the title when deleting the pin

v6.0.2

  • Updated game version reference to 0.215.2
  • Fixed a problem that did not allow the list of worlds to be used

v6.0.1

  • Now compatible with game version 0.214.2
  • Added reset functionality as console command "alwe reset"
  • Now the reset button knots change positions based on text length

v6.0.0

  • Packed all dependencies in one dll
  • Added "TombStatus" to the custom status effects in the MapStats section
  • Now custom status effects are disabled by default
  • Fixed position of Distance object in EntityStats
  • Now the "HealthBarHeight" config setting also changes the Distance object font size
  • Added config setting "ShowOtherPlayersHealth" to toggle the players in range health
  • Added more checks to the ServerStats and WorldStats blocks
  • Now the reset button in pause menu doesn't reset the size of the blocks

v5.2.1

  • Fixed error with custom status effects
  • Assured that blocks are destroyed on game exit
  • Correctly removed custom pins from map data

v5.2.0

  • Added translations file called "AlweStats.translations.json" for some words
  • Fixed bug that wasn't showing editing overlay on some blocks
  • Added check when setting block text to not generate errors
  • Now the mod uses the in-game localization for pins and status effects

v5.1.1

  • Fixed error when dealing with health bars of players
  • Fixed bug that wasn't showing ServerStats block if you weren't the host
  • Fixed error showing while connecting to a server
  • Updated custom pins titles

v5.1.0

  • Updated commands to be less error-prone
  • Now custom pins are removed from the map save data on game exit
  • Fixed error with smelter hover text
  • Added remaining time and percentage for bathtubs
  • Removed middle bar for mobs
  • Added config setting "HealthBarHeight" to change the height of all the health bars
  • Added config setting "HealthBarColor" to change the color of all the health bars
  • Replaced seed number with seed name in WorldStats block

v5.0.0

  • Added new ServerStats block
  • Moved ping and total players counter from GameStats to ServerStats block
  • Added dynamic list of players in range with relative stats (health, max health, percentage of health)
  • Added config setting "GameStatsFormat" to format text of GameStats block
  • Added config setting "ServerStatsFormat" to format text of ServerStats block
  • Added config setting "WorldStatsFormat" to format text of WorldStats block
  • Added config setting "RangeForPlayers" to change the range in which to scan for players
  • Added weather in the "WorldStatsFormat" config setting
  • Integrated the "ShowWorldSeed" config setting in the "WorldStatsFormat" one
  • Integrated the "CustomShowBiome" config setting in the "WorldStatsFormat" one
  • Added config setting "RemoveMinimapBiome" to remove the current biome label in the top-left corner in minimap
  • Added pregnancy percentage when hovering tameable animals
  • Added support for aedenthorn's "Extended Player Inventory" in the PlayerStats block
  • Fixed distance text, now it shows only on the hovered entity when ShowEntityDistance is set to 1

v4.5.0

  • Now compatible with the Mistlands update
  • Updated game version reference to 0.212.9
  • Added config setting "ShowWorldSeed" to show the world seed in the WorldStats Block
  • Added map pins for the new mistlands' infested mines

v4.4.1

  • Removed process filter to work in dedicated servers
  • Fixed the bug that was reloading config file instead of saving it on world shutdown
  • Set label name for those runes which have it

v4.4.0

  • Moved "AlweStats.json" path from "plugins" folder to "config" folder
  • Moved the player infos in character selection toggle in a new config setting called "PlayerInfos"
  • Added y value in the cursor coordinates showed in the large map (set the setting to default to see the change)
  • Added a console/chat subcommand "reload" to reload the AlweStats configuration file
  • Fixed a bug that was showing an error message related to the smelter
  • Added a config setting "ShowTotalOfQueue" to show the total remaining time for the entire queue or for a single item
  • Added the runestones to the custom pins (you have to interact with it to add the pin)
  • Fixed a bug that was causing an error if not all the custom status effects were enabled with "MinimalStatusEffects" mod enabled
  • Integrated dependencies "System.Data.dll" and "System.Runtime.Serialization.dll" (so now you can delete those two files)

v4.3.1

  • Changed configuration file name from "AlweStats.cfg" to "Alwe.AlweStats.cfg"
  • Added compatibility with "MinimalStatusEffects" mod
  • Added compatibility with "OdinShip" mod
  • Added cooking stations and smelters status strings in the EnvStats section
  • Fixed bug that was causing the minimap pins and player marker to disappear when the rotation was enabled
  • Fixed ship speed using https://valheim.fandom.com/wiki/Boats
  • Updated game version reference to 0.209.10
  • Moved save type string up above the character name (to avoid overlapping in version 0.209.10)
  • Moved a little to the right the "Days" counter in the worlds list (to avoid overlapping in version 0.209.10)
  • Impossibility to use the "Days" counter in the world selection panel in version 0.209.10 if the world is in the steam cloud

v4.3.0

  • Added a new block : "System Clock" that displays the real-life clock time
  • Added compatibility with "MarketplaceAndServerNPCs" mod (in theory, let me know if it doesn't works)
  • Added possibility to resize blocks while in-game by using CTRL + mouse wheel

v4.2.3

  • Now the ShipStatus disappear when you are on a boat
  • Added compatibility with "TargetPortal" mod, to make it works fine you have to disable portal pins in the "ShowCustomPins" config setting

v4.2.2

  • Fixed error generated when adding dungeons pins
  • Fixed a bug that wasn't saving world infos in the AlweStats.json file when it was the first time
  • Added more conditions to check if game objects are valid or not
  • Added more conditions before adding a pin
  • Added compatibility to other mods that add custom pins
  • Changed the pin icon for sunken crypts to draugr trophy image

v4.2.1

  • Added config setting to scale the size of the crosshair
  • Now you have to be closer to a dungeon before the pin is added
  • Added compatibility to other mods that add custom pins

v4.2.0

  • Fixed error shown when getting grow time of lots of surrounding plants
  • Fixed bug that wasn't hiding the charging circle when the custom bow charge bar was enabled
  • Added support for randyknapp's "Equipment and quick slots" in the PlayerStats block
  • Added black outline to the direction arrow for Bed, Portal and Ship status
  • Added config setting to change text of the ShipStats block
  • Added config setting to change the color of the crosshair

v4.1.0

  • Merged BowStats with PlayerStats to a unique block that displays inventory slots, weight, bow ammo and select arrows
  • Added weight fill percentage as an element in the status effect list
  • Fixed bug that wasn't correctly sizing vanilla pins when there was "0" in the "BiggerPins" config setting
  • Fixed bug that wasn't correctly showing EnvStatus for each environment element

v4.0.0

  • Replaced the Alwe.stats file with AlweStats.json to be able to save custom pins
  • Fixed ShipStatus that wasn't correctly being positioned when PortalStatus wasn't active
  • Added mountain caves to the custom pins
  • Now you can rename, check/uncheck and remove custom pins
  • Added a console/chat command named "alwe" to execute subcommands
  • Added a console/chat subcommands "cfp" to remove all pins saved in the AlweStats.json file for a specific world
  • Added a console/chat subcommands "df" to delete the AlweStats.json file

If you want to see the full changelog, go to my GitHub repository !