![]() |
VOOZH | about |
dotnet add package Hath.PlayerStats --version 0.1.2
NuGet\Install-Package Hath.PlayerStats -Version 0.1.2
<PackageReference Include="Hath.PlayerStats" Version="0.1.2" />
<PackageVersion Include="Hath.PlayerStats" Version="0.1.2" />Directory.Packages.props
<PackageReference Include="Hath.PlayerStats" />Project file
paket add Hath.PlayerStats --version 0.1.2
#r "nuget: Hath.PlayerStats, 0.1.2"
#:package Hath.PlayerStats@0.1.2
#addin nuget:?package=Hath.PlayerStats&version=0.1.2Install as a Cake Addin
#tool nuget:?package=Hath.PlayerStats&version=0.1.2Install as a Cake Tool
PlayerStats is a plugin for OpenMod. It enriches your server by saving and displaying player statistics. a range of in-game performance metrics, and other pertinent data.
Run on console openmod install Hath.PlayerStats after installing OpenMod
PlayerStats can send player statistics to Discord. Here's a preview:
To enable Discord integration, make sure to set the Enabled option to true in the configuration:
Discord:
Enabled: true // <---
WebhookURL: "your-discord-webhook-url"
Embed:
Top: 5
SortBy: "Accuracy"
# See https://github.com/HathHub/PlayerStats
MySQL:
ConnectionString: "Server=localhost;Port=3306;Database=dbname;User=username;Password=password;"
TableName: "HathPlayerStats"
Messages:
Stats: "[Stats for {PlayerName} #{Position}]\n Kills: {Kills} Deaths: {Deaths} Headshots: {Headshots} Accuracy: {Accuracy}\n Messages: {Messages} Zombies: {Zombies} Megas: {MegaZombies}\nFish: {Fish} Animals: {Animals} Harvests: {Harvests} Resources: {Resources}"
RankingHeader: "<b>[Top 5 players]</b>"
Ranking: "#{Position} {PlayerName}: Kills: {Kills} Deaths: {Deaths} Headshots: {Headshots} Accuracy: {Accuracy}"
Ranking:
SortBy: "Kills"
Limit: "5"
Discord:
Enabled: true
Interval: 60
Embeds:
- MyKillsEmbed:
Top: 3
SortBy: "Kills"
Webhook: ""
MessageID: 214124531553
Header: "asd"
Description: "asd"
Field:
Inline: true
Name: "đĨ**#{Position}**"
Value: "đ¤ **[{PlayerName}](https://steamcommunity.com/profiles/{SteamID})**
> đĒĻ **{Kills}** Kills"
- MyHeadshotsEmbed:
Top: 3
SortBy: "Headshots"
Webhook: ""
MessageID: 214124531553
Header: "asd"
Description: "asd"
Field:
Inline: true
Name: "đĨ**#{Position}**"
Value: "đ¤ **[{PlayerName}](https://steamcommunity.com/profiles/{SteamID})**
> đ **{Headshots}** Headshots"
Rewards:
- Variable: "Kills"
Threshold: 100
Commands:
- "give {PlayerID} 363"
- "give {PlayerID} 17"
Global: false
Messages:
- "Congratulations! You've reached 100 kills and earned a Maplestrike and Drum."
- Variable: "Headshots"
Threshold: 50
Commands:
- "give {PlayerID} 363"
- "give {PlayerID} 17"
Global: true
Messages:
- "Sharpshooter Alert! {PlayerName} achieved 50 headshots and earned a Maplestrike. Everyone, cheer!"
{PlayerID}: Represents the player's SteamID64.{PlayerName}: Represents the player's name in various messages.{Position}: Represents the player's position in the ranking.{Kills}: Represents the number of kills a player has.{Deaths}: Represents the number of deaths a player has.{Headshots}: Represents the number of headshots a player has.{Accuracy}: Represents the accuracy of a player.{Messages}: Represents the number of messages sent by a player.{Zombies}: Represents the number of zombies killed by a player.{MegaZombies}: Represents the number of mega zombies killed by a player.{Fish}: Represents the number of fish caught by a player.{Animals}: Represents the number of animals killed by a player.{Harvests}: Represents the number of harvests performed by a player.{Resources}: Represents the number of resources gathered by a player./ranking
HathPlayerStats:commands.ranking/stats [playername]
HathPlayerStats:commands.statsHathPlayerStats:commands.ranking: Allows access to the /ranking command.HathPlayerStats:commands.stats: Allows access to the /stats command.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net461 net461 is compatible. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.