How to Ban Players on your Squad Server

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.

Note: Before being able ban a player, you must be assigned as an admin. You can find an article that covers the process here.

Using Admin Commands

Anyone with the ban permission in their assigned admin group has the ability to ban players using the command AdminBan.

  1. Open the console using the ` (backtick) key.
  2. 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

In order to ban a player using the 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.
  1. Access your control panel and Stop your server.
  2. Go to Files > Config Files.
  3. Click Bans.cfg.
  4. Add the players information on a new line in the following format: 
    <steam64id>:<timestamp> // Optional Comment.
  5. 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.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Getting Started With Your Squad Server

Ready to dive into the authentic combat experience that Squad offers? This page includes links to...

How to Add an Admin to your Squad Server

Making a player an Administrator allows them to kick players, ban players, change the current map...

How to Configure Factions from your Squad Server

If you don't want to allow players to play as certain factions, it is possible to configure which...

How to Configure Map Rotation on your Squad Server

It is possible to have your Squad server cycle through a list of maps either at random or in a...

How to Set your Squad Server to Private

If you want to prevent unwanted players joining your Squad server you may wish to set it private....