How to ban a player from a Garry's Mod Server

Sometimes it is incredibly useful to ban rowdy players from your GMod server. This article will cover how to kick and ban players from your server using ULX in-game commands.

NOTE: Make sure that the user you’re banning is not a superadmin on your server.

METHOD ONE

Before we start, ensure that you are set as an Administrator on your server. To do this, please refer to our guide on Installing ULX & ULIB Admin System to your Garry's Mod Server.

  1. Once you’ve set up your ULX Admin system, open the console in-game by pressing ~.
  2. You can now enter any ULX commands.

    Syntax Description
    ulx ban <player> [time (in minutes)] [reason] Bans a player based off their username for an optional amount of time.
    ulx banid <steamid>[minutes, 0 for permanent] [reason] Bans a player based off their SteamID for an optional amount of time.
    ulx unban <steamid/username> Unbans a user based off their SteamID or username at the time of ban.
  3. Click Submit to enter the command.

METHOD TWO

  1. In the in-game chat (accessible by pressing Y on your keyboard), enter any of the following commands.

    Syntax Description
    !ban <player> [time (in minutes)][reason] Bans a player based off their username for an optional amount of time.
    !banid <steamid>[time (in minutes)][reason] Bans a player based off their SteamID for an optional amount of time.
    !unban <steamid/username> Unbans a user based off their SteamID or username at the time of ban.
  2. Press enter on your keyboard to send the command.

You have now banned a user from your server!

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

Mitchell Smith

Managing Director @ Shockbyte

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to enable RCON on your Garry's Mod Server

RCON is an important protocol that allows you to execute commands without joining your server....

How to install DarkRP to your Garry's Mod server

DarkRP is a widely popular gamemode within the Garry's Mod community because of the crazy antics...

How to upload & use Garry's Mod Workshop Maps on your server

Using custom maps on your Garry's Mod server allows you to create a wonderful gaming experience....

How to change the name of your Garry's Mod server

All servers inside Garry's Mod and Steam's server list have a custom name to uniquely identify...

Installing ULX & ULIB Admin System to your Garry's Mod Server

ULX is a mod that offers an administration system to your server. This is used for the ban, kick...