# Bombsite Restrict

{% hint style="info" %}
This plugin restricts the bombsites of each round if there are less than X players in teams.\
Designed for [CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp/) framework.
{% endhint %}

### Configuration&#x20;

`configs/plugins/BombsiteRestrict/BombsiteRestrict.json`

|                                       | What it does                                                                                                                |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `Minimum players`                     | Minimum number of players to disable random planting                                                                        |
| `Count bots as players`               | If bots will be counted as valid players (`true` or `false`)                                                                |
| `Disabled site`                       | Which bombsite will be disabled (`0` - Random , `1` - A , `2` - B)                                                          |
| `Which team count as players`         | It allows setting which team will be considered as the 'Minimum players'. (`0` - Both teams , `1` - Only CT , `2` - Only T) |
| `Send plant restrict message to team` | Which team gets a message when bombsite is disabled (`0` - Both teams , `1` - Only CT , `2` - Only T)                       |
| `Allow center message`                | Will be showed center message when is bombsite disabled? (`true` or `false`)                                                |

### Installation

1. Download the lastest release <https://github.com/NockyCZ/CS2_BombsitesRestrict/releases/latest>
2. Unzip into your servers `csgo/addons/counterstrikesharp/plugins/BombsiteRestrict/` dir


---

# 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://docs.sourcefactory.eu/cs2-plugins/bombsite-restrict.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.
