From 1f1f5cc7b86bfbee890f607f0ed0c41853d4afe4 Mon Sep 17 00:00:00 2001 From: Miksen Date: Thu, 30 Jan 2025 21:00:03 +0100 Subject: [PATCH] patch CS2 Docs cstv/pluginslist --- docs/cs2/cstv.md | 9 ++ docs/cs2/pluginslist.md | 27 ++--- src/data/commands/matchzyCommands.js | 149 +++++++++++++++++++++++++-- 3 files changed, 164 insertions(+), 21 deletions(-) diff --git a/docs/cs2/cstv.md b/docs/cs2/cstv.md index 15936da..51322e7 100644 --- a/docs/cs2/cstv.md +++ b/docs/cs2/cstv.md @@ -34,6 +34,15 @@ If the function is activated on the server, access is possible via the IP addres connect SERVERIP:XXXX ``` +## Demo Playback +To hear all player's voice chat, use the following commands in your console before loading up the demo: +``` +tv_listen_voice_indices -1 +tv_listen_voice_indices_h -1 + +playdemo yourdemo.dem +``` + ## Errors - **[Demo] 2024-11-28_XX-XX-XX_XXXX_de_mirage_team_XXXX_vs_team_XXXXXX.dem: unable to extract addons from file** - [Follow this link](https://www.reddit.com/r/cs2/comments/18ei4n4/cant_play_demos_cs2_unable_to_extract_addons_from/) diff --git a/docs/cs2/pluginslist.md b/docs/cs2/pluginslist.md index 2ea6b51..0e224ff 100644 --- a/docs/cs2/pluginslist.md +++ b/docs/cs2/pluginslist.md @@ -8,16 +8,17 @@ This page provides a detailed overview of the plugins available in our CS2 free Below is a list showing the plugins and their availability on free and pro servers. -| CS2 Plugins | Free | Pro | -|:--- |:---: |:--- | -| CS2-SimpleAdmin | ✘ No | ✅ Yes | -| CSTV Demo URL to Discord | ✘ No | ✅ Yes | -| CS2-Deathmatch | ✘ No | ✅ Yes | -| Map Change (!map de_mapname) | ✅ Yes | ✅ Yes | -| Workshop Map (!wsmap workshop ID of map) | ✘ No | ✅ Yes | -| CS2Rcon (!rcon) | ✘ No | ✅ Yes | -| AddAdmin/RemoveAdmin | ✘ No | ✅ Yes | -| MatchZy w/ Practice Mode | ✘ No | ✅ Yes | -| OpenPrefirePrac | ✘ No | ✅ Yes | -| CS2-Retakes | ✘ No | ✅ Yes | -| WeaponPaints (Skins) | ✘ No | ✅ Yes (**GSLT required**) | +| CS2 Plugins | Free | Pro | +|-----------------------------------------------|:---------:|:-----------------:| +| CS2-SimpleAdmin | ❌ No | ✅ Yes | +| AddAdmin/RemoveAdmin (`/login RconPass`) | ❌ No | ✅ Yes | +| CS2Rcon (!rcon) | ❌ No | ✅ Yes | +| CSTV Demo URL to Discord | ❌ No | ✅ Yes | +| CS2-FixDemoVoiceChat | ❌ No | ✅ Yes | +| CS2-Deathmatch | ❌ No | ✅ Yes | +| CS2-Retakes w/ RetakesAllocator | ❌ No | ✅ Yes | +| MatchZy w/ Practice Mode | ❌ No | ✅ Yes | +| OpenPrefirePrac | ❌ No | ✅ Yes | +| Map Change (!map de_mapname) | ✅ Yes | ✅ Yes | +| Workshop Map (!wsmap workshop ID of map) | ❌ No | ✅ Yes | +| WeaponPaints (Skins) | ❌ No | ✅ Yes (**GSLT required**) | \ No newline at end of file diff --git a/src/data/commands/matchzyCommands.js b/src/data/commands/matchzyCommands.js index 76c7e46..9a34537 100644 --- a/src/data/commands/matchzyCommands.js +++ b/src/data/commands/matchzyCommands.js @@ -35,11 +35,17 @@ const matchzyCommands = [ }, { command: '.stop', - description: 'Requests to restore the current round. Both teams must type .stop to restore.', + description: 'Requests to restore the current round. Both teams must type .stop to restore.', example: '.stop' }, + { + command: '.uncoach', + description: 'Leaves coaching slot', + example: '.uncoach' + }, { command: '.coach', + aliases: ['.coach ct'], description: 'Starts coaching the specified team side (t/ct).', example: '.coach t', }, @@ -60,7 +66,7 @@ const matchzyCommands = [ title: 'Practice Commands', commands: [ { - command: '.back', + command: '.back ', description: 'Teleports to a specific position in grenade history.', example: '.back 1', arguments: { @@ -72,8 +78,19 @@ const matchzyCommands = [ description: 'Adds a bot at your current position.', example: '.bot' }, + { + command: '.nobot', + description: 'Removes one bot each.', + example: '.nobot' + }, + { + command: '.nobots', + description: 'Removes all the bots', + example: '.nobots' + }, { command: '.crouchbot', + aliases: ['.cbot'], description: 'Adds a crouched bot at your position.', example: '.crouchbot' }, @@ -87,6 +104,11 @@ const matchzyCommands = [ description: 'Breaks all breakable entities (glass, doors, vents).', example: '.break' }, + { + command: '.breakrestore', + description: 'Restore all breakable entities (glass, doors, vents).', + example: '.breakrestore' + }, { command: '.clear', description: 'Removes all active utility (smokes, molotovs, incendiaries).', @@ -115,6 +137,11 @@ const matchzyCommands = [ number: 'Required: Spawn position number' } }, + { + command: '.spawn ', + description: 'Spawns to the provided competitive spawn number of same team', + example: '.spawn 1', + }, { command: '.dryrun', aliases: ['.dry'], @@ -132,10 +159,118 @@ const matchzyCommands = [ description: 'Toggles god mode.', example: '.god' }, + { + command: '.bestspawn', + description: 'Teleports you to your team closest spawn from your current position', + example: '.bestspawn' + }, + { + command: '.worstspawn', + description: 'Teleports you to your team furthest spawn from your current position', + example: '.worstspawn' + }, + { + command: '.bestctspawn', + description: ' Teleports you to CT team closest spawn from your current position', + example: '.bestctspawn' + }, + { + command: '.worstctspawn', + description: 'Teleports you to CT team furthest spawn from your current position', + example: '.worstctspawn' + }, + { + command: '.besttspawn', + description: 'Teleports you to T team closest spawn from your current position', + example: '.besttspawn' + }, + { + command: '.worsttspawn', + description: 'Teleports you to T team furthest spawn from your current position', + example: '.worsttspawn' + }, + { + command: '.showspawns', + description: 'Highlights all the competitive spawns', + example: '.showspawns' + }, + { + command: '.hidespawns', + description: 'Hides the highlighted spawns', + example: '.hidespawns' + }, + { + command: '.watchme', + aliases: ['.fas'], + description: 'Forces all players into spectator except the player who called this command', + example: '.watchme' + }, + { + command: '.noflash', + aliases: ['.noblind'], + description: 'Toggles immunity for flashbang', + example: '.noflash' + }, + { + command: '.rethrow', + aliases: ['.rt'], + description: 'Rethrows your last thrown grenade', + example: '.rethrow' + }, + { + command: '.timer', + description: 'Starts a timer immediately and stops it when you type .timer again, telling you the duration of time', + example: '.timer' + }, + { + command: '.throwindex ', + description: 'Throws grenade of provided position(s) from your grenade thrown history.', + example: '.throwindex 1 2' + }, + { + command: '.lastindex', + description: 'Prints index number of your last thrown grenade.', + example: '.lastindex' + }, + { + command: '.rethrowsmoke', + description: 'Throws your last thrown smoke grenade.', + example: '.rethrowsmoke' + }, + { + command: '.rethrownade', + description: 'Throws your last thrown HE grenade.', + example: '.rethrownade' + }, + { + command: '.rethrowflash', + description: 'Throws your last thrown flash.', + example: '.rethrowflash' + }, + { + command: '.rethrowmolotov', + description: 'Throws your last thrown molotov.', + example: '.rethrowmolotov' + }, + { + command: '.rethrowdecoy', + description: 'Throws your last thrown decoy.', + example: '.rethrowdecoy' + }, + { + command: '.solid', + description: 'Toggles mp_solid_teammates', + example: '.solid' + }, { command: '.impacts', - description: 'Toggles impact visualization.', + description: 'Toggles sv_showimpacts', example: '.impacts' + }, + { + command: '.traj', + description: 'Toggles sv_grenade_trajectory_prac_pipreview', + example: '.traj' } ] }, @@ -163,11 +298,6 @@ const matchzyCommands = [ description: 'Returns to last grenade throw position.', example: '.last' }, - { - command: '.lastindex', - description: 'Shows index of last thrown grenade.', - example: '.lastindex' - }, { command: '.listnades', aliases: ['.lin'], @@ -230,11 +360,13 @@ const matchzyCommands = [ }, { command: '.forcepause', + aliases: ['.fp'], description: 'Admin-pauses match (players cannot unpause).', example: '.forcepause' }, { command: '.forceunpause', + aliases: ['.fup'], description: 'Force-unpauses match.', example: '.forceunpause' }, @@ -251,6 +383,7 @@ const matchzyCommands = [ }, { command: '.prac', + aliases: ['.tactics'], description: 'Starts Practice mode.', example: '.prac' },