diff --git a/README.md b/README.md index 6985a2b..c66591c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PlayerStats +# PlayerStats [![Nuget](https://img.shields.io/nuget/v/Hath.PlayerStats)](https://www.nuget.org/packages/Hath.PlayerStats/) [![Nuget](https://img.shields.io/nuget/dt/Hath.PlayerStats?label=nuget%20downloads)](https://www.nuget.org/packages/Hath.PlayerStats/) @@ -22,33 +22,54 @@ Discord: SortBy: "Accuracy" ``` ### Configuration -```ruby +```yaml # See https://github.com/HathHub/PlayerStats - -Database: - ConnectionString: "Server=localhost;Port=3306;Database=dbname;User=username;Password=password;" - TableName: "HathPlayerStats" +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: "[Top 5 players]" Ranking: "#{Position} {PlayerName}: Kills: {Kills} Deaths: {Deaths} Headshots: {Headshots} Accuracy: {Accuracy}" -Stats: +Ranking: SortBy: "Kills" Limit: "5" Discord: - Enabled: true - WebhookURL: "" - Embed: - Top: 5 - SortBy: "Accurracy" + 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 - Prizes: + Commands: - "give {PlayerID} 363" - "give {PlayerID} 17" Global: false @@ -57,13 +78,12 @@ Rewards: - Variable: "Headshots" Threshold: 50 - Prizes: + 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.