CSTV: Difference between revisions

From CKRAS Wiki

No edit summary
Line 1: Line 1:
__NOTOC__
{{#seo:
{{#seo:
|title=CS2 TV Server activate and manage
|title=CounterStrikeSharp (CSS) for CS2 Server - CKRAS WIKI
|title_mode=append
|title_mode=append
|keywords=ckras, wiki, cs2, gameserver, help, guide, csgo, webinterface, webpanel
|keywords=ckras, css, counterstrikesharp, cs2, plugin, addons, metamod, webinterface
|description=CSTV Server for your CS2 Server. how you can use CSTV? Easy records from cs2 demos and how-to guide. to use the cstv server in your gameserver.  
|description=CounterStrikeSharp (CSS) is a server-side modding framework for CS2. Install and manage plugins easily via the CKRAS webinterface.
|image=Cs2.png
|image=Counterstrikesharp.png
|image_alt=CS2 CSTV - TV SERVER
|image_alt=CounterStrikeSharp for CS2 Servers
}}<big>CSTV</big>: Activate, install and manage TV Server for your [[CS2]] gameserver - Guide:
}}
 
== CSTV for CS2 Gameserver ==
 
 
 
At CKRAS, every customer can add a [[TV-Server|TV server]] free of charge for their [[CS2]] server. In the next steps we will show you how to activate the server, start recording, etc.
 
To easily manage these functions, we recommend that you first use our [[CKRAS BOT]]. This is free and included as default with every [[CS2]].
 
 
 
== ACTIVATE TV ==
 
So that the TV can be activated by toogle the TV Server on/off in the Panel or your edit your Server.cfg in Advanced settings.
 
[[File:Cstv-activate.png|alt=CSTV (GOTV) activate|link=]]
 
Change ''tv_enable 0'' to '''tv_enable 1''' in the [https://wiki-en.ckras.com/wiki/index.php?title=Webinterface#Config_.2F.2F_Server.cfg_edit] and restart.
 
With the new Default Server.cfg we have also stored additional TV settings. This will be added automatically when the server is installed again.
(version November 9th)
 
== START RECORDING ==
 
 
 
The easiest way to start the TV recording is with our [[CKRAS BOT]], simply enter '''!tvrecord''' and the [[Demos|demo]] will start. We recommend that you use [[MatchZy]] for the [[demos]] as the demos are created automatically in match mode and you can be sure that you won't miss any recordings.
 
<u>Start recording</u>: '''!tvrecord''' alternatively '''!rcon tv_record (name)''' - with [[MatchZy]] '''!start or !r'''
 
'''<u>TIPP:</u>''' [[Demos|Demo]] is recording automatically if you use [[MatchZy]] and tv_enable 1 (or TV is activated see above) is set in your server.cfg
 
 
 
== STOP RECORDINGS ==
 
 
 
You can simply stop the TV recording with the [[CKRAS BOT]], simply enter '''!tvstop'''


<u>End recording</u>: '''!tvstop''' alternatively '''!rcon tv_stop''' - or if [[MatchZy]] is used here, the [[Demos|demo]] is ended by ending the match or restarting it with '''!restar'''t.
<div class="ck-page">


<div class="ck-hero--dark">
{| style="background:transparent; border:none; width:100%;"
|-
| style="vertical-align:top; width:130px; padding-right:20px;" |
<div class="ck-hero-logo">[[File:Counterstrikesharp.png|110px|alt=CounterStrikeSharp|link=]]</div>
| style="vertical-align:top;" |
<div class="ck-hero-content">
<h1 class="ck-hero-title">CounterStrikeSharp (CSS)</h1>
<div class="ck-hero-sub">Modern plugin framework for CS2 – install and manage addons with one click.</div>
<div class="ck-hero-meta"><b>Key Feature:</b> Fully integrated in the CKRAS webinterface with 1-click installation.</div>
<div class="ck-hero-actions">
[https://iface.ckras.com <span class="ck-btn ck-btn-primary">▶ Install / Manage</span>]
[https://play.ckras.com <span class="ck-btn ck-btn-ghost">Play</span>]
[https://www.ckras.com/en/ <span class="ck-btn ck-btn-ghost">CKRAS Website</span>]
</div>
</div>
|}
</div>


== WHERE CAN I FIND THE DEMOS? ==
<div class="ck-lead">
CounterStrikeSharp is a server-side modding framework for [[CS2]]. 
It provides a modern <b>.NET 8 (C#)</b> scripting layer on top of [[Metamod]], allowing developers to build powerful, maintainable plugins for game servers.
</div>


<div class="ck-jump">
<b>Jump to:</b> [[CounterStrikeSharp#Plugins|Plugins]] • [[CounterStrikeSharp#Installation|Installation]] • [[CounterStrikeSharp#Update|Update]] • [[CounterStrikeSharp#Settings|Settings]]
</div>


== Plugins ==


The [[demos]] are saved in the default CS2 folder: '''<code>/cs2/game/csgo</code>''', if you use MatchZy folder: '''<code>/cs2/game/csgo/MatchZy</code>'''
<div class="ck-callout ck-callout--ok">
<b>Available CounterStrikeSharp plugins at CKRAS:</b>
</div>


''(We are currently working on a solution to allow [[demos]] to be downloaded directly from the webinterface.)''
<div class="ck-feature-list">
<span class="ck-feature-pill">[[MatchZy]] (Recommended)</span>
<span class="ck-feature-pill">[[OpenPrefirePrac|PreFire]]</span>
<span class="ck-feature-pill">[[Deathmatch]] (Beta)</span>
<span class="ck-feature-pill">[[Retakes]]</span>
</div>


'''Details:'''
* '''[[MatchZy]]''' → Scrim / Prac / Matches / Coach (recommended)
* '''[[OpenPrefirePrac|PreFire]]''' → Prefire training on competitive maps
* '''[[Deathmatch]]''' → Fast-paced DM mode (not compatible with MatchZy)
* '''[[Retakes]]''' → Retake scenarios with modifiers


== Installation ==


''Info:''
<div class="ck-callout">
<b>1-Click Setup:</b> CounterStrikeSharp is directly available in the CKRAS webinterface.
</div>


For [[demos]] to watch, this tool could be very interesting for you: https://cs-demo-manager.com/download or start manually via console and command "playdemo namedemo".
# Activate [[Metamod|Metamod (MM)]]
# Click install CounterStrikeSharp
# Restart your server


[[File:Install-matchzy-panel.png|750x750px]]


== Update ==


== TV PORT ==
To update CounterStrikeSharp, simply click on <b>Update</b> in the webinterface.


The TV port is always +10 to your gameserver port, you will find your port in the [[webinterface]].
[[File:Css-update.png|alt=CounterStrikeSharp Update|750x750px]]


Example: Gameserver '''port 27050''' is your '''CSTV port: 27060 (+10)'''
== Settings ==


Your current port is always displayed when you start a <u>!TVRECORD</u> (demo). ([[CKRAS BOT]])
You can change the plugin language by editing:


<code>addons/counterstrikesharp/configs/core.json</code>


== CVAR TV Commands ==
Parameter:
<code>ServerLanguage</code>


tv_allow_camera_man                      : 1        : , "sv"          : Auto director allows spectators to become camera man
Upload / edit via [[CS2#FTP Usage|FTP]].
tv_allow_static_shots                    : 1        : , "sv"          : Auto director uses fixed level cameras for shots
tv_autorecord                            : 0        :                  : Automatically records all games as GOTV demos.
tv_autoretry                            : 1        :                  : Relay proxies retry connection after network timeout
tv_chatgroupsize                        : 0        :                  : Set the default chat group size
tv_chattimelimit                        : 8        :                  : Limits spectators to chat only every n seconds
tv_clients                              : cmd      :                  : Shows list of connected GOTV clients.
tv_debug                                : 0        :                  : GOTV debug info.
tv_delay                                : 30      : , "sv"          : GOTV broadcast delay in seconds
tv_delaymapchange                        : 0        : , "sv"          : Delays map change until broadcast is complete
tv_deltacache                            : 2        :                  : Enable delta entity bit stream cache
tv_dispatchmode                          : 1        :                  : Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
tv_enable                                : 0        : , "nf"          : Activates GOTV on server.
tv_maxclients                            : 128      :                  : Maximum client number on GOTV server.
tv_maxrate                              : 20000    :                  : Max GOTV spectator bandwidth rate allowed, 0 == unlimited
tv_msg                                  : cmd      :                  : Send a screen message to all clients.
tv_name                                  : 0        :                  : GOTV host name
tv_overridemaster                        : 0        :                  : Overrides the GOTV master root address.
tv_port                                  : 27020    :                  : Host SourceTV port
tv_record                                : cmd      :                  : Starts GOTV demo recording.
tv_relay                                : cmd      :                  : Connect to GOTV server and relay broadcast.
tv_relaypassword                        : 0        : , "nf", "prot", "norecord" : GOTV password for relay proxies
tv_relayvoice                            : 1        :                  : Relay voice data: 0=off, 1=on
tv_retry                                : cmd      :                  : Reconnects the GOTV relay proxy.
tv_snapshotrate                          : 16      :                  : Snapshots broadcasted per second
tv_status                                : cmd      :                  : Show GOTV server status.
tv_stop                                  : cmd      :                  : Stops the GOTV broadcast.
tv_stoprecord                            : cmd      :                  : Stops GOTV demo recording.
tv_timeout                              : 30      :                  : GOTV connection timeout in seconds.
tv_title                                : 0        :                  : Set title for GOTV spectator UI
tv_transmitall                          : 1        : , "rep"          : Transmit all entities (not only director view)
{{DEFAULTSORT:CS2 - CSTV}}


== Recommended Setup ==


== Storage period ==
{| class="wikitable"
|-
| style="width: 350px; height: 150px; text-align: center;" |
[[MatchZy]]
| style="width: 350px; height: 150px; text-align: center;" |
[[OpenPrefirePrac|PreFire]]
|}


[[CS2]] Demos are stored on the server for 9 days and then irrevocably deleted.
<div class="ck-callout ck-callout--amber">
For the best experience, combine <b>CounterStrikeSharp + MatchZy</b>.
</div>


=== TV Server crash? ===
== CKRAS Gameserver ==
Add these commands to your Server.cfg and ''<u>!report BUG</u>''


sv_hibernate_when_empty 0
<div class="ck-callout">
Want to manage your [[CS2]] server easily? Use the [[CKRAS BOT]] and our webinterface.
</div>


sv_hibernate_postgame_delay 5
<div class="ck-hero-actions">
[https://iface.ckras.com <span class="ck-btn ck-btn-primary">▶ Open Webinterface</span>]
[https://play.ckras.com <span class="ck-btn ck-btn-ghost">Play</span>]
[https://www.ckras.com <span class="ck-btn ck-btn-ghost">Order Server</span>]
</div>


tv_delay 0
CHECK:
https://github.com/Source2ZE/GOTVCrashFix
https://github.com/K4ryuu/CS2-GOTV-Discord
=== [[TV-Server|TV Server]] ===
''CSTV is available free of charge for every [[CS2]] gameserver''
[[Category:CS2]]
[[Category:CS2]]


 
</div>
 
[https://www.ckras.com/ Get your own CS2 Server]
 
= Video=
 
Watch [[Video]] (How-To) use CSTV
 
https://youtu.be/0os5yLVobDg

Revision as of 17:50, 26 March 2026


CounterStrikeSharp (CSS)

Modern plugin framework for CS2 – install and manage addons with one click.
Key Feature: Fully integrated in the CKRAS webinterface with 1-click installation.

CounterStrikeSharp is a server-side modding framework for CS2. It provides a modern .NET 8 (C#) scripting layer on top of Metamod, allowing developers to build powerful, maintainable plugins for game servers.

Jump to: PluginsInstallationUpdateSettings

Plugins

Available CounterStrikeSharp plugins at CKRAS:

MatchZy (Recommended) PreFire Deathmatch (Beta) Retakes

Details:

  • MatchZy → Scrim / Prac / Matches / Coach (recommended)
  • PreFire → Prefire training on competitive maps
  • Deathmatch → Fast-paced DM mode (not compatible with MatchZy)
  • Retakes → Retake scenarios with modifiers

Installation

1-Click Setup: CounterStrikeSharp is directly available in the CKRAS webinterface.

  1. Activate Metamod (MM)
  2. Click install CounterStrikeSharp
  3. Restart your server

Update

To update CounterStrikeSharp, simply click on Update in the webinterface.

CounterStrikeSharp Update

Settings

You can change the plugin language by editing:

addons/counterstrikesharp/configs/core.json

Parameter: ServerLanguage

Upload / edit via FTP.

Recommended Setup

MatchZy

PreFire

For the best experience, combine CounterStrikeSharp + MatchZy.

CKRAS Gameserver

Want to manage your CS2 server easily? Use the CKRAS BOT and our webinterface.