aboutsummaryrefslogtreecommitdiff
path: root/docs/hosting-a-server-with-northstar/server-settings/banlist.md
blob: 45341b7507cac4f3e04647f8e7f83fa39fd975fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Banlist

{% hint style="warning" %}
The GitBook based NorthstarWiki has been replaced in favour of the [NorthstarDocs](https://docs.northstar.tf/) where this wiki has been integrated.

Check it out here: [https://docs.northstar.tf/Wiki/](https://docs.northstar.tf/Wiki/)

The same page on the new wiki should be located here: [https://docs.northstar.tf/Wiki/hosting-a-server-with-northstar/server-settings/banlist](https://docs.northstar.tf/Wiki/hosting-a-server-with-northstar/server-settings/banlist)

{% endhint %}

The `banlist.txt` file found at `R2Northstar\banlist.txt` is a list of players that you have either banned or unbanned from your server.

The UIDs can be formatted as shown below:
```
1111111111

4444444444
```

This file also supports the use of comments with the `#` symbol:

```
# This is a comment
1111111111

4444444444 # Banned for being uncool
```

## Banning

When banning a player in game using the `ban` command in console, their UID will be added to the list in `banlist.txt`.

The `ban` command is used alongside the name of the player you want to ban (e.g. `ban realPlayerFr`), or with their UID (e.g. `ban 1111111111`). The console will auto-complete the name for you, given you have typed something close to a valid name of a player in the game.

## Unbanning

When unbanning a player in game using the `unban` command in console, their UID will be commented out in the file, as well as a comment next to their UID displaying the unban date.

The `unban` command is used alongisde the UID of the player you want to unban (e.g. `unban 1111111111`).