# Blacklist

### Local blacklist

{% hint style="info" %}
All your blacklist bans, which means the blacklist given on your server will be saved in resource rac -> banData -> blacklist.json
{% endhint %}

{% hint style="info" %}
The blacklist can be used in case you want to unban all players, except some players which can be added in the blacklist, so you can unban the others and keep the blacklisted players banned
{% endhint %}

{% code overflow="wrap" %}

```
In case you want to blacklist someone there are more ways to move him from the anticheat ban list to the anticheat blacklist:
```

{% endcode %}

### a. Blacklist from in game menu

To blacklist a specific player from anticheat ban list, you can use in game menu bans page and use Move to blacklist button from player bans options <mark style="color:purple;">**(Recommended)**</mark>

### b. Blacklist from server console

To blacklist a specific player from server console, you can type in server console racmovetoblacklist \<id>. Check Commands section for more information about racmovetoblacklist \<id> command

### c. Blacklist from blacklist.json file (Use this method only in case you know what are you doing because you have to keep the json format without errors)

To move a specific player from anticheat bans.json file to anticheat blacklist.json file, you have to move the entire content of the specific player you want to blacklist and keep the json format

{% code overflow="wrap" %}

```
In case you want to unblacklist someone there are more ways to remove him from the anticheat blacklist:
```

{% endcode %}

### a. Unblacklist from in game menu

1. To unblacklist a specific player from anticheat blacklist, you can use in game menu Unblacklist player from Blacklist options <mark style="color:purple;">**(Recommended)**</mark>
2. To unblacklist all players from anticheat blacklist, you can use in game menu Unblacklist all from Self options, in the left side of the in game menu

### b. Unblacklist from server console

1. To unblacklist a specific player from anticheat blacklist, you can type in server console racunblacklist \<id>. Check Commands section for more information about racunblacklist \<id> command
2. To unblacklist all players from anticheat blacklist, you can type in server console racunblacklistall. Check Commands section for more information about racunblacklistall command

### c. Unblacklist from blacklist.json file (Use this method only in case you know what are you doing because you have to keep the json format without errors)

1. Delete the blacklist from blacklist.json for the player you want to unblacklist
2. Delete all blacklists and keep only the brackets from initial file

{% hint style="warning" %}
In case you cause errors because of json format from blacklist.json the connection to server will not work anymore (it will show rac: Deferring connection..), so players cannot connect anymore and errors on server console. It is recommended to use an extension on your editing software or run a compiler to check the error in case you have this issue.
{% endhint %}

{% hint style="warning" %}
In case you delete the entire file without having the brackets from initial file the connection to server will not work anymore (it will show rac: Deferring connection..) and errors on server console, so players cannot connect anymore. To fix the issue, add the brackets as in the initial file was or replace the bans.json with the initial one.
{% endhint %}

This is how blacklist.json file looks without any ban:

{% code overflow="wrap" %}

```json
[]
```

{% endcode %}

or

{% code overflow="wrap" %}

```
[
]
```

{% endcode %}


---

# 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.reasonanticheat.net/resources-documentation/reason-anticheat/blacklist.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.
