Skip to content

Installation

  • A Counter-Strike 2 dedicated server with Metamod:Source and CounterStrikeSharp. This release is built against CounterStrikeSharp API 1.0.369 and targets .NET 10.0, so use a CounterStrikeSharp build that runs .NET 10.0.
  • A database: SQLite works out of the box (the default, nothing to install). MySQL is optional and needed when several servers share one ban list. See Database.
  • CS2MenuManager 1.0.42 or newer for the menus. It is included in the release zip, you do not install it separately.

On load the plugin checks that these folders exist and unloads itself with an error in the console if one is missing:

  • addons/counterstrikesharp/plugins/CS2MenuManager_MenuManager/
  • addons/counterstrikesharp/shared/CS2-SimpleAdminApi/
  1. Download CS2-SimpleAdmin-1.9.6.zip from the latest release.

  2. Extract it into game/csgo/addons/ on the server. The zip contains one counterstrikesharp/ folder, so the files land here:

    addons/counterstrikesharp/
    plugins/CS2-SimpleAdmin/ the plugin
    plugins/CS2-SimpleAdmin_FunCommands/ fun commands module (noclip, god, freeze...)
    plugins/CS2-SimpleAdmin_StealthModule/ stealth module (hidden admins)
    plugins/CS2MenuManager_MenuManager/ menu library (runtime part)
    shared/CS2-SimpleAdminApi/ the API other plugins and modules use
    shared/CS2MenuManager/ menu library (shared part)

    Do not want the fun commands or the stealth module? Leave their folder out; the plugin works without them. Fun commands and stealth explains what they do.

  3. In addons/counterstrikesharp/configs/core.json set "UnlockConCommands": true. Without it the plugin logs a warning, and a kicked player who was just banned can rejoin for 60 seconds.

  4. Start (or restart) the server. The plugin creates its files:

    addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin/CS2-SimpleAdmin.json settings
    addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin/Commands.json command aliases
    addons/counterstrikesharp/plugins/CS2-SimpleAdmin/cs2-simpleadmin.sqlite the database (SQLite)

    The database tables are created on the first start (MySQL too, once the connection is set).

  5. Make yourself an admin. From the server console (or RCON):

    css_addadmin 76561198000000000 YourName @css/root 100

    That is your SteamID64, a name, the flags (or #group), and the immunity. Add a duration in minutes as a fifth argument for a temporary admin, and -g to make the admin global on every server that shares the database. The plugin reloads its admins right after adding one.

  6. In game, type !admin to open the admin menu.