If you're running a public Squad server, there may be a time that you need to ban a disruptive or unwanted player. This can be done by an admin, with the ban permission in their assigned admin group, or by manually entering their Steam64 ID directly into the Bans.cfg
file.
Using Admin Commands
Anyone with the ban
permission in their assigned admin group has the ability to ban players using the command AdminBan
.
- Open the console using the
`
(backtick) key. - Run the ban command in the following format:
AdminBan <NameOrSteamId> <BanLength> <BanReason>
.
BanLength can be defined using the following examples: 0 = Perm, 1d = 1 Day, 1M = 1 Month
Using the Bans Config File
Bans.cfg
file, you will need their Steam64 ID and a Unix timestamp for when their ban will be removed. If you use 0
as your timestamp, the ban will be permanent. A player can also be unbanned by removing their Steam64 ID.- Access your control panel and Stop your server.
- Go to Files > Config Files.
- Click Bans.cfg.
- Add the players information on a new line in the following format:
<steam64id>:<timestamp> // Optional Comment
. - Click the Save button and Start your server.
If you would like any additional information regarding how to use your server, you can find our other Squad articles here.