20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. Counter Strike
  3. Counter-Strike 2 Server – How to Add and Remove Admins

Counter-Strike 2 Server – How to Add and Remove Admins

General Info

Adding admins to your Counter-Strike 2 server allows trusted players to manage the server, moderate players, and run important commands. This is usually done using an admin plugin such as MiniAdmin (BaseAdmin).

In this guide, we will show you how to install the MiniAdmin plugin and configure it so you can add or remove admins on your Counter-Strike 2 server using console commands.

Requirements:

MetaMod and CSSharp v100 is required to install MiniAdmin.
is required to install MiniAdmin.

Learn how to install both here.

Install the MiniAdmin Plugin

  • Download the MiniAdmin plugin from here. MiniAdmin is also called BaseAdmin.
  • Unzip the file and you will see a folder named addons.
  • Log in to the GGServers Control Panel.
  • Stop the server.
  • Connect using WinSCP or FilezillaWinSCP is used in this guide
  • Navigate to the following directory:
    game/csgo
  • Upload the downloaded plugin file.
  • Start the server.
  • After the server fully starts, stop it again.

Create the Admin Database

  • Go to the Databases tab in the control panel.
  • Click New Database.
  • Enter a name for the database and press Create.
  • Press the Database Details button next to the database and note the connection details.
  • Navigate to:
    game/csgo/addons/counterstrikesharp/plugins/BaseAdmin
  • Edit the database.json file.
  • Under Connection, enter the database details from the previous step.
  • Press the Save button.
  • Return to the BaseAdmin directory.
  • Open the maps.txt file.
  • Enter the maps you want admins to be able to change to, each on a new line.
  • Press the Save button.
Default Map NameDefault Map Code
Ancientde_ancient
Anubisde_anubis
Dust 2de_dust2
Infernode_inferno
Italycs_italy
Miragede_mirage
Nukede_nuke
Officecs_office
Overpassde_overpass
Vertigode_vertigo

Admins can only change maps that are listed in the maps.txt file.

  • Start the server.
  • Go to the Console tab.
  • Enter the following command to add an admin:
css_addadmin [name] "SteamID" [immunity] [flags] [0]

You can also use the following commands to manage admins:

css_who - Displays players, admins, and server time
css_addadmin [name] "SteamID" [Immunity] [Flags] [Minutes]
css_deleteadmin "SteamID"

Immunity is a number that defines the level of the admin. Admins with a lower immunity level cannot target admins with a higher level.

Flag CodeAdmin Access
bGeneric
cKick
dBan
eUnban
fSlay
gChangeMap
hCvar
jChat
mRcon
nCheats
zRoot

In-Game Admin Commands

You can find a complete list of in-game admin commands here.

FAQ

How do I remove an admin from my CS2 server?

You can remove an admin by using the command css_deleteadmin "SteamID" in the server console.

What is the SteamID used for?

The SteamID identifies the player account that will receive admin privileges on your Counter-Strike 2 server.

What do admin flags do?

Admin flags determine what permissions an admin has, such as kicking players, banning users, or changing maps.

Can I create temporary admins?

Yes. When using the css_addadmin command, you can set the number of minutes for the admin access instead of using 0 for permanent access.

I installed the MiniAdmin (BaseAdmin) why it’s not working?

Make sure you have MetaMod and CSSharp installed, without those the plugin won’t work.

Need Help?

If you have any questions, run into issues, or need further assistance, our team is here to help. Feel free to reach out via live chat or submit a support ticket. We provide 24/7 support to keep your server running smoothly.

Rent a Server

Rent a Counter-Strike 2 server and invite your friends instantly.
https://ggservers.com/

Updated on March 13, 2026
Was this article helpful?

Related Articles

Leave a Comment