# Getting set up

<details>

<summary>Step1: Setup Game Server</summary>

* Install CS2SimpleAdmin from <https://github.com/daffyyyy/CS2-SimpleAdmin>\
  Recommended is to install latest version. If you are using older version < 1.3.9 then you need to use old panel from here <https://github.com/counterstrikesharp-panel/css-bans/releases/tag/1.1.4>
* The panel uses CS2SimpleAdmin as core, ensure you are using the official version.
* Go to release tab and download the follwing.\
  **ServerPlayerListFix.zip**

  \
  Copy **addons** folder from **ServerPlayerListFix.zip** to your game server folder **csgo/addons**

</details>

{% hint style="warning" %}
SKIP **STEP2** if you are not installing panel in subfolder EX: mysite.com/bans
{% endhint %}

<details>

<summary>Step 2: Setup Web Server (SUB FOLDER i.e mysite.com/bans)</summary>

* Download the panel [**css.bans.tar.gz**](https://github.com/hobsRKM/css-bans/releases)
* Extract the contents to subdirectory in this case EX: **bans/**
* Edit **.env** file and make the below changes

```sh
VITE_SITE_DIR=/bans (Your subfolder in this case)
ASSET_URL=https://mysite.com/bans 
```

* Access your site **mysite.com/bans** to continue with panel setup

</details>

{% hint style="warning" %}
SKIP **STEP3** if you have already followed **STEP2**
{% endhint %}

<details>

<summary>Step 3: Setup Web Server (ROOT SPACE i.e mysite.com/)  - Easier</summary>

* Download the panel [**css.bans.tar.gz**](https://github.com/hobsRKM/css-bans/releases)
* Extract the contents to your site root space
* Access your site **mysite.com/** to continue with panel setup

</details>

<details>

<summary>Step 4: Required Ports</summary>

#### Web Panel <a href="#web-panel" id="web-panel"></a>

* UDP Incoming on game server port
* TCP Outgoing on game server port for rcon communication

#### Game <a href="#game" id="game"></a>

* Server Port ( UDP & TCP )

**Note: Dashboard server player listing will not work if your ports are blocked.**\
\&#xNAN;*If you want to use live bans/kicks/mutes ensure you have rconpassowrd set correctly and the above required ports are open from your hosting webpanel.*\
*If you do not wish to use live bans/kick/mutes you can skip this, but its recommended to have this setup for future features to work.*

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://css-bans.gitbook.io/css-bans-counterstirkesharp-admin-web-panel/css-bans-counterstrikesharp-admin-web-panel/getting-set-up.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
