> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Install CS2-SimpleAdmin in Counter-Strike 2

> Implement a strong administrative system on your CS2 server. Learn how to install SimpleAdmin and configure MySQL integration for persistent bans and logs.

## Simplified Server Control

**CS2-SimpleAdmin** is a high-performance, lightweight management plugin developed for the CounterStrikeSharp framework. It provides server administrators with an essential toolkit for player moderation - including kicking, banning, and muting - while maintaining an immutable and persistent database of all staff actions. By integrating SimpleAdmin with a MySQL backend, you ensure that your ban records remain intact across server reboots and reinstalls, providing long-term stability for your community.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Intermediate
  </Card>

  <Card title="Time" icon="clock">
    10 Minutes
  </Card>
</CardGroup>

***

## Technical Deployment Workflow

SimpleAdmin operates as a module for the CounterStrikeSharp framework. Ensure your base infrastructure is active before beginning.

<Steps>
  <Step title="Verify Framework Status">
    Confirm that [CounterStrikeSharp](/games/counter-strike-2/how-to-install-counterstrikesharp-on-a-counter-strike-2-server) is correctly installed and functional on your server.
  </Step>

  <Step title="Acquire Plugin Assets">
    Download the most recent `CS2-SimpleAdmin.zip` from the [official GitHub repository](https://github.com/daffyyyy/CS2-SimpleAdmin/releases).
  </Step>

  <Step title="Deploy to Plugin Directory">
    use the [Game Panel](https://games.freakhosting.com) File Manager to upload and extract the `CS2-SimpleAdmin` folder into:
    `/game/csgo/addons/counterstrikesharp/plugins/`
  </Step>

  <Step title="Initialize Configuration">
    Restart your server once. This action allows the plugin to generate its initial `.json` configuration and directory structure.
  </Step>
</Steps>

***

## Strategic Database Integration

To enable persistent data storage, you must link the plugin to a MySQL database provided by FREAKHOSTING.

<Steps>
  <Step title="Create a Database">
    Navigate to the **Databases** tab in your Game Panel and click **New Database**. Copy the provided credentials (Host, Name, User, and Password).
  </Step>

  <Step title="Modify Plugin Config">
    Open the following file in the editor:
    `/game/csgo/addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin/CS2-SimpleAdmin.json`
  </Step>

  <Step title="Input Credentials">
    Update the database object with your specific parameters:

    ```json theme={null}
    {
      "DatabaseHost": "127.0.0.1",
      "DatabasePort": 3306,
      "DatabaseUser": "freak_admin_username",
      "DatabasePassword": "Your_Secure_Password",
      "DatabaseName": "freak_admin_dbname"
    }
    ```
  </Step>
</Steps>

***

## Verification & Management

<AccordionGroup>
  <Accordion title="Audit Plugin Status">
    Navigate to the **Console** tab and execute: `css_plugins list`. If the installation is successful, **CS2-SimpleAdmin** will appear in the registry with a green status indicator.
  </Accordion>

  <Accordion title="Assigning Administrative Flags">
    SimpleAdmin uses the permissions defined in your [admins.json](/games/counter-strike-2/how-to-add-admins-in-cs2). Ensure your SteamID64 is associated with the `@css/root` or `@css/admin` flags to unlock the full command suite.
  </Accordion>
</AccordionGroup>

<Tip>
  ### Real-Time Commands

  Once authorized, you can manage your server directly from the in-game chat using prefixes. For example, typing `!ban [player] [duration] [reason]` will instantly restrict a malicious user and log the action to your MySQL database.
</Tip>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **CS2:** Administrative access active.
</div>
