1- # PlayerStats
1+ # PlayerStats
22[ ![ Nuget] ( https://img.shields.io/nuget/v/Hath.PlayerStats )] ( https://www.nuget.org/packages/Hath.PlayerStats/ )
33[ ![ Nuget] ( https://img.shields.io/nuget/dt/Hath.PlayerStats?label=nuget%20downloads )] ( https://www.nuget.org/packages/Hath.PlayerStats/ )
44
@@ -22,33 +22,54 @@ Discord:
2222 SortBy : " Accuracy"
2323` ` `
2424### Configuration
25- ` ` ` ruby
25+ ` ` ` yaml
2626# See https://github.com/HathHub/PlayerStats
27-
28- Database :
29- ConnectionString : " Server=localhost;Port=3306;Database=dbname;User=username;Password=password;"
30- TableName : " HathPlayerStats"
27+ MySQL :
28+ ConnectionString : " Server=localhost;Port=3306;Database=dbname;User=username;Password=password;"
29+ TableName : " HathPlayerStats"
3130
3231Messages :
3332 Stats : " [Stats for {PlayerName} #{Position}]\n Kills: {Kills} Deaths: {Deaths} Headshots: {Headshots} Accuracy: {Accuracy}\n Messages: {Messages} Zombies: {Zombies} Megas: {MegaZombies}\n Fish: {Fish} Animals: {Animals} Harvests: {Harvests} Resources: {Resources}"
3433 RankingHeader : " <b>[Top 5 players]</b>"
3534 Ranking : " #{Position} {PlayerName}: Kills: {Kills} Deaths: {Deaths} Headshots: {Headshots} Accuracy: {Accuracy}"
3635
37- Stats :
36+ Ranking :
3837 SortBy : " Kills"
3938 Limit : " 5"
4039
4140Discord :
42- Enabled : true
43- WebhookURL : " "
44- Embed :
45- Top : 5
46- SortBy : " Accurracy"
41+ Enabled : true
42+ Interval : 60
43+ Embeds :
44+ - MyKillsEmbed :
45+ Top : 3
46+ SortBy : " Kills"
47+ Webhook : " "
48+ MessageID : 214124531553
49+ Header : " asd"
50+ Description : " asd"
51+ Field :
52+ Inline : true
53+ Name : " 🥇**#{Position}**"
54+ Value : " 👤 **[{PlayerName}](https://steamcommunity.com/profiles/{SteamID})**
55+ > 🪦 **{Kills}** Kills"
56+ - MyHeadshotsEmbed :
57+ Top : 3
58+ SortBy : " Headshots"
59+ Webhook : " "
60+ MessageID : 214124531553
61+ Header : " asd"
62+ Description : " asd"
63+ Field :
64+ Inline : true
65+ Name : " 🥇**#{Position}**"
66+ Value : " 👤 **[{PlayerName}](https://steamcommunity.com/profiles/{SteamID})**
67+ > 💀 **{Headshots}** Headshots"
4768
4869Rewards :
4970 - Variable : " Kills"
5071 Threshold : 100
51- Prizes :
72+ Commands :
5273 - " give {PlayerID} 363"
5374 - " give {PlayerID} 17"
5475 Global : false
@@ -57,13 +78,12 @@ Rewards:
5778
5879 - Variable : " Headshots"
5980 Threshold : 50
60- Prizes :
81+ Commands :
6182 - " give {PlayerID} 363"
6283 - " give {PlayerID} 17"
6384 Global : true
6485 Messages :
6586 - " Sharpshooter Alert! {PlayerName} achieved 50 headshots and earned a Maplestrike. Everyone, cheer!"
66-
6787` ` `
6888- ` {PlayerID}`: Represents the player's SteamID64.
6989- `{PlayerName}` : Represents the player's name in various messages.
0 commit comments