Skip to content

Commit 0827fd4

Browse files
authored
Update README.md
1 parent 34706c9 commit 0827fd4

File tree

1 file changed

+49
-31
lines changed

1 file changed

+49
-31
lines changed

README.md

Lines changed: 49 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [CS2] Connect-Disconnect-Sound (1.0.4)
1+
# [CS2] Connect-Disconnect-Sound (1.0.5)
22

33
### Connect , Disconnect , Country , City , Message , Sound , Logs , Discord
44

@@ -24,6 +24,7 @@
2424

2525
## .:[ Configuration ]:.
2626
```json
27+
// This configuration was automatically generated by CounterStrikeSharp for plugin 'CnD_Sound', at 2024/01/05 08:54:23
2728
{
2829
// you can use these in Connect or Disconnect Message
2930
//{TIME} == Time Formate "LogInsideFileTimeFormat"
@@ -39,53 +40,70 @@
3940
//{IP} = 127.0.0.0
4041
//Colors Available = {default} {white} {darkred} {green} {lightyellow} {lightblue} {olive} {lime} {red} {lightpurple}
4142
//{purple} {grey} {yellow} {gold} {silver} {blue} {darkblue} {bluegrey} {magenta} {lightred} {orange}
42-
43-
44-
//Connect And Disconnect Format In Game, TO DISABLE MAKE IT "" empty
45-
"MessageConsoleFormatConnect": "{green}Gold KingZ {grey}| {purple}{PLAYERNAME} {lime}Connected [{SHORTCOUNTRY} - {CITY}]",
46-
"MessageConsoleFormatDisconnect": "{green}Gold KingZ {grey}| {purple}{PLAYERNAME} {red}Disconnected [{SHORTCOUNTRY} - {CITY}]",
47-
48-
// you can test any sound path ingame console type "play <soundpath>"
49-
// Sound Path will in https://github.com/oqyh/cs2-Connect-Disconnect-Sound/blob/main/sounds/sounds.txt
50-
"ConnectSound": true,
51-
"ConnectSoundPath": "sounds/buttons/blip1.vsnd_c",
52-
"DisconnectSound": true,
53-
"DisconnectSoundPath": "sounds/player/taunt_clap_01.vsnd_c",
54-
55-
43+
44+
//To Disable Any Make It Empty Like This ""
45+
"InGameMessageFormatConnect": "{green}Gold KingZ {grey}| {purple}{PLAYERNAME} {lime}Connected [{SHORTCOUNTRY} - {CITY}]",
46+
"InGameMessageFormatDisconnect": "{green}Gold KingZ {grey}| {purple}{PLAYERNAME} {red}Disconnected [{SHORTCOUNTRY} - {CITY}]",
47+
48+
//-----------------------------------------------------------------------------------------
49+
50+
//To Disable Any Make It Empty Like This ""
51+
"InGameSoundConnect": "sounds/buttons/blip1.vsnd_c",
52+
"InGameSoundDisconnect": "sounds/player/taunt_clap_01.vsnd_c",
53+
54+
//-----------------------------------------------------------------------------------------
55+
5656
// If Its Enabled Logs Will Located in ../addons/counterstrikesharp/plugins/CnD_Sound/logs/
5757
"SendLogToText": false,
5858
// Log File Format .txt or .pdf ect...
5959
"LogFileFormat": ".txt",
6060
// Date and Time Formate
6161
"LogFileDateFormat": "MM-dd-yyyy",
6262
"LogInsideFileTimeFormat": "HH:mm:ss",
63-
//Connect And Disconnect Format In Log, TO DISABLE MAKE IT "" empty
64-
"LogTextFormatConnect": "[{TIME}] [Playername:{PLAYERNAME}] CONNECTED TO THE SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
65-
"LogTextFormatDisconnect": "[{TIME}] [Playername:{PLAYERNAME}] DISCONNECTED FROM SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
66-
67-
68-
63+
//To Disable Any Make It Empty Like This ""
64+
"LogTextFormatConnect": "[{DATE} - {TIME}] {PLAYERNAME} Connected [{SHORTCOUNTRY} - {CITY}] [{STEAMID} - {IP}]",
65+
"LogTextFormatDisconnect": "[{DATE} - {TIME}] {PLAYERNAME} Disconnected [{SHORTCOUNTRY} - {CITY}] [{STEAMID64}] [{STEAMID} - {IP}]",
66+
//Auto Delete Logs If More Than X (Days) Old
67+
"AutoDeleteLogsMoreThanXdaysOld": 0,
68+
69+
//-----------------------------------------------------------------------------------------
70+
6971
//Send Log To Discord Via WebHookURL
70-
"SendLogToWebHook": false,
72+
//SendLogToWebHook (0) = Disable
73+
//SendLogToWebHook (1) = Text Only
74+
//SendLogToWebHook (2) = Text With + Name + Hyperlink To Steam Profile
75+
//SendLogToWebHook (3) = Text With + Name + Hyperlink To Steam Profile + Profile Picture
76+
"SendLogToWebHook": 0,
77+
//If SendLogToWebHook (2) or SendLogToWebHook (3) How Would You Side Color Message To Be Check (https://www.color-hex.com/) For Colors
78+
"SideColorMessage": "00FFFF",
79+
//Discord WebHook
7180
"WebHookURL": "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
72-
//Connect And Disconnect Format In Discord, TO DISABLE MAKE IT "" empty
73-
"LogDiscordChatFormatConnect": "[{DATE} - {TIME}] [Playername:{PLAYERNAME}] CONNECTED TO THE SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
74-
"LogDiscordChatFormatDisconnect": "[{DATE} - {TIME}] [Playername:{PLAYERNAME}] DISCONNECTED FROM SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
75-
76-
77-
78-
//Send Log To Server Console
81+
//To Disable Any Make It Empty Like This ""
82+
"LogDiscordChatFormatConnect": "{PLAYERNAME} Connected [{SHORTCOUNTRY} - {CITY}]",
83+
"LogDiscordChatFormatDisconnect": "{PLAYERNAME} Disconnected [{SHORTCOUNTRY} - {CITY}]",
84+
85+
//-----------------------------------------------------------------------------------------
86+
7987
"SendLogToServerConsole": false,
80-
"LogServerConsoleFormatConnect": "[{DATE} - {TIME}] [Playername:{PLAYERNAME}] CONNECTED TO THE SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
81-
"LogServerConsoleFormatDisconnect": "[{DATE} - {TIME}] [Playername:{PLAYERNAME}] DISCONNECTED FROM SERVER [SteamdID64:{STEAMID64}] [IpAddress:{IP}] [Long Country:{LONGCOUNTRY}] [City:{CITY}]",
88+
//To Disable Any Make It Empty Like This ""
89+
"LogServerConsoleFormatConnect": "Gold KingZ | {PLAYERNAME} Connected [{SHORTCOUNTRY} - {CITY}]",
90+
"LogServerConsoleFormatDisconnect": "Gold KingZ | {PLAYERNAME} Disconnected [{SHORTCOUNTRY} - {CITY}]",
91+
92+
//-----------------------------------------------------------------------------------------
8293
"ConfigVersion": 1
8394
}
8495
```
8596

8697

8798
## .:[ Change Log ]:.
8899
```
100+
(1.0.5)
101+
-Added "AutoDeleteLogsMoreThanXdaysOld"
102+
-Added "SendLogToWebHook" Mode 1/2/3
103+
-Added "SideColorMessage"
104+
-Fix Some Bugs
105+
-Fix Connect / Disconnect Lag On Discord WebHook
106+
89107
(1.0.4)
90108
-Added "SendLogToServerConsole"
91109
-Added "LogDiscordChatFormatDisconnect"

0 commit comments

Comments
 (0)