diff --git a/README.md b/README.md index e93b4f6aa..8d08f0ed3 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Mod | Version | Why [CS2 Advertisement](https://github.com/partiusfabaa/cs2-advertisement) | `1.0.8-recompile` | Allows you to show ads in chat/center/panel. [How?](#enable-advertisements) [CS2 Deathmatch](https://github.com/NockyCZ/CS2-Deathmatch) | `1.3.0` | Custom Deathmatch CS2 plugin (Includes custom spawnpoints, multicfg, gun selection, spawn protection, etc) [OpenPrefirePrac](https://github.com/lengran/OpenPrefirePrac) | `0.1.47` | Multiple prefire practices on competitive maps and support multiplayer practicing simultaneously. -[CS2-CustomVotes](https://github.com/imi-tat0r/CS2-CustomVotes) | `1.1.3` | A plugin for Counter-Strike 2 to create custom votes for settings. +[CS2-CustomVotes](https://github.com/imi-tat0r/CS2-CustomVotes) | `1.1.4` | A plugin for Counter-Strike 2 to create custom votes for settings. [deathrun-manager](https://github.com/leoskiline/cs2-deathrun-manager) | `0.5.1` | Deathrun Manager for CounterStrikeSharp Framework CS2. [AnnouncementBroadcaster](https://github.com/lengran/CS2AnnouncementBroadcaster) | `0.5` | Conditional messages, OnCommand, OnPlayerConnect, OnRoundStart, and TimerMsgs. [CS2-GameModifiers](https://github.com/vinicius-trev/CS2-GameModifiers-Plugin) | `1.0.4` | CS2, but every round is a SURPRISE. Inspiration from [NadeKings video](https://www.youtube.com/watch?v=OQQBUFB56Iw). Fork from [Lewisscrivens](https://github.com/Lewisscrivens/CS2-GameModifiers-Plugin). diff --git a/game/csgo/addons/counterstrikesharp/configs/plugins/CS2-CustomVotes/CS2-CustomVotes.json b/game/csgo/addons/counterstrikesharp/configs/plugins/CS2-CustomVotes/CS2-CustomVotes.json index f4c7bf6ed..5ba2d7eef 100644 --- a/game/csgo/addons/counterstrikesharp/configs/plugins/CS2-CustomVotes/CS2-CustomVotes.json +++ b/game/csgo/addons/counterstrikesharp/configs/plugins/CS2-CustomVotes/CS2-CustomVotes.json @@ -1,9 +1,36 @@ -// This configuration was automatically generated by CounterStrikeSharp for plugin 'CS2-CustomVotes', at 2024/09/23 12:51:43 -{ - "CustomVotesEnabled": true, - "VoteCooldown": 60, - "ChatPrefix": "[{Green}Server{Default}]", - "ForceStyle": "none", - "CustomVotes": [{}], - "ConfigVersion": 2 +{ + "CustomVotesEnabled": true, + "VoteCooldown": 60, + "ChatPrefix": "[{DarkBlue}CustomVotes{Default}]", + "ForceStyle": "none", + "CustomVotes": [ + { + "Command": "cheats", + "CommandAliases": [], + "Description": "Vote to enable sv_cheats", + "TimeToVote": 30, + "Options": { + "Enable": { + "Text": "{Green}Enable", + "Commands": [ + "sv_cheats 1" + ] + }, + "Disable": { + "Text": "{Red}Disable", + "Commands": [ + "sv_cheats 0" + ] + } + }, + "DefaultOption": "Disable", + "Style": "chat", + "MinVotePercentage": -1, + "Permission": { + "RequiresAll": false, + "Permissions": [] + } + } + ], + "ConfigVersion": 2 } \ No newline at end of file diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.dll b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.dll index 535ed6d95..99388ab5c 100644 Binary files a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.dll and b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.dll differ diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.pdb b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.pdb index b77cec4e5..620df2891 100644 Binary files a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.pdb and b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.Shared.pdb differ diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.deps.json b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.deps.json index 28410b25d..de898c72f 100644 --- a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.deps.json +++ b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.deps.json @@ -6,17 +6,17 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v8.0": { - "CS2-CustomVotes/1.1.3": { + "CS2-CustomVotes/1.1.4": { "dependencies": { "CS2-CustomVotes.Shared": "1.0.0", - "CSSharpUtils": "1.0.1", - "CounterStrikeSharp.API": "1.0.282" + "CSSharpUtils": "1.0.9", + "CounterStrikeSharp.API": "1.0.346" }, "runtime": { "CS2-CustomVotes.dll": {} } }, - "CounterStrikeSharp.API/1.0.282": { + "CounterStrikeSharp.API/1.0.346": { "dependencies": { "McMaster.NETCore.Plugins": "1.4.0", "Microsoft.CSharp": "4.7.0", @@ -29,23 +29,24 @@ "Serilog.Extensions.Logging": "8.0.0", "Serilog.Sinks.Console": "5.0.0", "Serilog.Sinks.File": "5.0.0", - "System.Data.DataSetExtensions": "4.5.0" + "System.Data.DataSetExtensions": "4.5.0", + "Tomlyn": "0.19.0" }, "runtime": { "lib/net8.0/CounterStrikeSharp.API.dll": { - "assemblyVersion": "1.0.282.0", - "fileVersion": "1.0.282.0" + "assemblyVersion": "1.0.346.0", + "fileVersion": "1.0.346.0" } } }, - "CSSharpUtils/1.0.1": { + "CSSharpUtils/1.0.9": { "dependencies": { - "CounterStrikeSharp.API": "1.0.282" + "CounterStrikeSharp.API": "1.0.346" }, "runtime": { "lib/net8.0/CSSharpUtils.dll": { - "assemblyVersion": "1.0.1.0", - "fileVersion": "1.0.1.0" + "assemblyVersion": "1.0.9.0", + "fileVersion": "1.0.9.0" } } }, @@ -544,38 +545,46 @@ "System.Text.Encodings.Web": "8.0.0" } }, + "Tomlyn/0.19.0": { + "runtime": { + "lib/net8.0/Tomlyn.dll": { + "assemblyVersion": "0.19.0.0", + "fileVersion": "0.19.0.0" + } + } + }, "CS2-CustomVotes.Shared/1.0.0": { "dependencies": { - "CounterStrikeSharp.API": "1.0.282" + "CounterStrikeSharp.API": "1.0.346" }, "runtime": { "CS2-CustomVotes.Shared.dll": { - "assemblyVersion": "1.0.0", - "fileVersion": "1.1.3.0" + "assemblyVersion": "1.1.4.0", + "fileVersion": "1.1.4.0" } } } } }, "libraries": { - "CS2-CustomVotes/1.1.3": { + "CS2-CustomVotes/1.1.4": { "type": "project", "serviceable": false, "sha512": "" }, - "CounterStrikeSharp.API/1.0.282": { + "CounterStrikeSharp.API/1.0.346": { "type": "package", "serviceable": true, - "sha512": "sha512-oantyRJganDBhUnna0bgBmEXu+3WWCYhEED8zQ1YZecwYCNM/OgTNL2mVXVDPuengBg+jJvwi1tFrOM8PyaIhQ==", - "path": "counterstrikesharp.api/1.0.282", - "hashPath": "counterstrikesharp.api.1.0.282.nupkg.sha512" + "sha512": "sha512-9+d1YJLS+Pk386345crfxF5FQlv9E0Eu/L+ChM9DnqrMZsVZpN/V2O9flX1lDGEXyKFthJrTPx43hACrjzV4bA==", + "path": "counterstrikesharp.api/1.0.346", + "hashPath": "counterstrikesharp.api.1.0.346.nupkg.sha512" }, - "CSSharpUtils/1.0.1": { + "CSSharpUtils/1.0.9": { "type": "package", "serviceable": true, - "sha512": "sha512-KnsqtogZ3rcwQWvDyDMHDA1cmg1QAN/V5DccNPBObm88N3M1TuOGpn3qO2MKKqY5htqiwra+38YL2xM1Psb9rw==", - "path": "cssharputils/1.0.1", - "hashPath": "cssharputils.1.0.1.nupkg.sha512" + "sha512": "sha512-GZPdlTF5BIbFwbwbPbrwrnh9oWpwR419qho/iGYZ10eic5kIm36smSNm6czgCjwYVjE87X1ojV0K39JIwOkPlQ==", + "path": "cssharputils/1.0.9", + "hashPath": "cssharputils.1.0.9.nupkg.sha512" }, "McMaster.NETCore.Plugins/1.4.0": { "type": "package", @@ -899,6 +908,13 @@ "path": "system.text.json/8.0.0", "hashPath": "system.text.json.8.0.0.nupkg.sha512" }, + "Tomlyn/0.19.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-GlI2o8R8jbZIaE+YX6uA/VoAOH7zIxYeqxDm7jHW2hqUhuB+q19oKold35FkMuv8IZDoCqsTMolaBv2eBLBmrQ==", + "path": "tomlyn/0.19.0", + "hashPath": "tomlyn.0.19.0.nupkg.sha512" + }, "CS2-CustomVotes.Shared/1.0.0": { "type": "project", "serviceable": false, diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.dll b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.dll index 6b1ea1947..8cd1d93c8 100644 Binary files a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.dll and b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.dll differ diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.pdb b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.pdb index 4dd7572cf..5135bcfd8 100644 Binary files a/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.pdb and b/game/csgo/addons/counterstrikesharp/plugins/CS2-CustomVotes/CS2-CustomVotes.pdb differ diff --git a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.deps.json b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.deps.json index 41428e8ca..a52f3197e 100644 --- a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.deps.json +++ b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.deps.json @@ -6,15 +6,15 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v8.0": { - "CS2-CustomVotes.Shared/1.0.0": { + "CS2-CustomVotes.Shared/1.1.4": { "dependencies": { - "CounterStrikeSharp.API": "1.0.282" + "CounterStrikeSharp.API": "1.0.346" }, "runtime": { "CS2-CustomVotes.Shared.dll": {} } }, - "CounterStrikeSharp.API/1.0.282": { + "CounterStrikeSharp.API/1.0.346": { "dependencies": { "McMaster.NETCore.Plugins": "1.4.0", "Microsoft.CSharp": "4.7.0", @@ -27,12 +27,13 @@ "Serilog.Extensions.Logging": "8.0.0", "Serilog.Sinks.Console": "5.0.0", "Serilog.Sinks.File": "5.0.0", - "System.Data.DataSetExtensions": "4.5.0" + "System.Data.DataSetExtensions": "4.5.0", + "Tomlyn": "0.19.0" }, "runtime": { "lib/net8.0/CounterStrikeSharp.API.dll": { - "assemblyVersion": "1.0.282.0", - "fileVersion": "1.0.282.0" + "assemblyVersion": "1.0.346.0", + "fileVersion": "1.0.346.0" } } }, @@ -513,7 +514,7 @@ "rid": "win", "assetType": "runtime", "assemblyVersion": "8.0.0.0", - "fileVersion": "0.0.0.0" + "fileVersion": "8.0.23.53103" }, "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": { "rid": "win", @@ -530,21 +531,29 @@ "dependencies": { "System.Text.Encodings.Web": "8.0.0" } + }, + "Tomlyn/0.19.0": { + "runtime": { + "lib/net8.0/Tomlyn.dll": { + "assemblyVersion": "0.19.0.0", + "fileVersion": "0.19.0.0" + } + } } } }, "libraries": { - "CS2-CustomVotes.Shared/1.0.0": { + "CS2-CustomVotes.Shared/1.1.4": { "type": "project", "serviceable": false, "sha512": "" }, - "CounterStrikeSharp.API/1.0.282": { + "CounterStrikeSharp.API/1.0.346": { "type": "package", "serviceable": true, - "sha512": "sha512-oantyRJganDBhUnna0bgBmEXu+3WWCYhEED8zQ1YZecwYCNM/OgTNL2mVXVDPuengBg+jJvwi1tFrOM8PyaIhQ==", - "path": "counterstrikesharp.api/1.0.282", - "hashPath": "counterstrikesharp.api.1.0.282.nupkg.sha512" + "sha512": "sha512-9+d1YJLS+Pk386345crfxF5FQlv9E0Eu/L+ChM9DnqrMZsVZpN/V2O9flX1lDGEXyKFthJrTPx43hACrjzV4bA==", + "path": "counterstrikesharp.api/1.0.346", + "hashPath": "counterstrikesharp.api.1.0.346.nupkg.sha512" }, "McMaster.NETCore.Plugins/1.4.0": { "type": "package", @@ -867,6 +876,13 @@ "sha512": "sha512-OdrZO2WjkiEG6ajEFRABTRCi/wuXQPxeV6g8xvUJqdxMvvuCCEk86zPla8UiIQJz3durtUEbNyY/3lIhS0yZvQ==", "path": "system.text.json/8.0.0", "hashPath": "system.text.json.8.0.0.nupkg.sha512" + }, + "Tomlyn/0.19.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-GlI2o8R8jbZIaE+YX6uA/VoAOH7zIxYeqxDm7jHW2hqUhuB+q19oKold35FkMuv8IZDoCqsTMolaBv2eBLBmrQ==", + "path": "tomlyn/0.19.0", + "hashPath": "tomlyn.0.19.0.nupkg.sha512" } } } \ No newline at end of file diff --git a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.dll b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.dll index ac88e58eb..99388ab5c 100644 Binary files a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.dll and b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.dll differ diff --git a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.pdb b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.pdb index a40e720bd..620df2891 100644 Binary files a/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.pdb and b/game/csgo/addons/counterstrikesharp/shared/CS2-CustomVotes.Shared/CS2-CustomVotes.Shared.pdb differ diff --git a/game/csgo/addons/metamod/multiaddonmanager.vdf b/game/csgo/addons/metamod/multiaddonmanager.vdf new file mode 100644 index 000000000..81636ecf2 --- /dev/null +++ b/game/csgo/addons/metamod/multiaddonmanager.vdf @@ -0,0 +1,5 @@ +"Metamod Plugin" +{ + "alias" "multiaddonmanager" + "file" "addons/multiaddonmanager/bin/multiaddonmanager" +}