|
1 |
| -# [CS2] Connect-Disconnect-Sound (1.0.4) |
| 1 | +# [CS2] Connect-Disconnect-Sound (1.0.5) |
2 | 2 |
|
3 | 3 | ### Connect , Disconnect , Country , City , Message , Sound , Logs , Discord
|
4 | 4 |
|
|
24 | 24 |
|
25 | 25 | ## .:[ Configuration ]:.
|
26 | 26 | ```json
|
| 27 | +// This configuration was automatically generated by CounterStrikeSharp for plugin 'CnD_Sound', at 2024/01/05 08:54:23 |
27 | 28 | {
|
28 | 29 | // you can use these in Connect or Disconnect Message
|
29 | 30 | //{TIME} == Time Formate "LogInsideFileTimeFormat"
|
|
39 | 40 | //{IP} = 127.0.0.0
|
40 | 41 | //Colors Available = {default} {white} {darkred} {green} {lightyellow} {lightblue} {olive} {lime} {red} {lightpurple}
|
41 | 42 | //{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 | + |
56 | 56 | // If Its Enabled Logs Will Located in ../addons/counterstrikesharp/plugins/CnD_Sound/logs/
|
57 | 57 | "SendLogToText": false,
|
58 | 58 | // Log File Format .txt or .pdf ect...
|
59 | 59 | "LogFileFormat": ".txt",
|
60 | 60 | // Date and Time Formate
|
61 | 61 | "LogFileDateFormat": "MM-dd-yyyy",
|
62 | 62 | "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 | + |
69 | 71 | //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 |
71 | 80 | "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 | + |
79 | 87 | "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 | + //----------------------------------------------------------------------------------------- |
82 | 93 | "ConfigVersion": 1
|
83 | 94 | }
|
84 | 95 | ```
|
85 | 96 |
|
86 | 97 |
|
87 | 98 | ## .:[ Change Log ]:.
|
88 | 99 | ```
|
| 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 | +
|
89 | 107 | (1.0.4)
|
90 | 108 | -Added "SendLogToServerConsole"
|
91 | 109 | -Added "LogDiscordChatFormatDisconnect"
|
|
0 commit comments