> ## 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 Switch Between Practice and Live Modes in CS2

> Execute custom configs on your CS2 server to swap between practice and competitive rulesets instantly. Streamline server reconfiguration for matches.

## Dynamic Server Control

High-performance gaming communities frequently require the ability to modify their server's fundamental ruleset instantaneously. Transitioning from a "Practice" environment featuring infinite utility and training aids to a standardized "Live" competitive match can be achieved smoothly using Remote Console (RCON) execution commands. This guide ensures your server is prepared for both high-intensity training and professional-grade competition.

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

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

***

## Establishing Your Tactical Rulebooks

All configuration files must be situated within the `/game/csgo/cfg/` directory to be recognized by the game engine's execution logic.

<Tabs>
  <Tab title="practice.cfg (Training)">
    This configuration enables developer cheats and training aids for grenade mastery and tactical dry-runs.

    ```bash theme={null}
    sv_cheats 1
    sv_infinite_ammo 1
    sv_grenade_trajectory_prac_pipreview 1
    mp_roundtime_defuse 60
    mp_buy_anywhere 1
    mp_restartgame 1
    say "--- Practice Mode: Active ---"
    ```
  </Tab>

  <Tab title="live.cfg (Competitive)">
    This configuration reverts the environment to standard competitive integrity for official matches or scrims.

    ```bash theme={null}
    sv_cheats 0
    sv_infinite_ammo 0
    mp_roundtime_defuse 1.92
    mp_restartgame 1
    say "--- THE MATCH IS NOW LIVE ---"
    ```
  </Tab>
</Tabs>

***

## Execution Workflow

Once your files are correctly positioned, you can trigger the transition directly from the in-game interface as an authorized administrator.

<Steps>
  <Step title="Open the Interface">
    While connected to the server, press the tilde (**\~**) key to reveal the developer console.
  </Step>

  <Step title="Authorize Administrative Rights">
    If using vanilla RCON, authenticate first: `rcon_password YourSecretPass`. If using a plugin like CounterStrikeSharp, ensure you have the appropriate admin flags.
  </Step>

  <Step title="Trigger Reconfiguration">
    Execute the desired mode by typing:

    * **For Training:** `rcon exec practice`
    * **For Competition:** `rcon exec live`
  </Step>
</Steps>

***

<Note>
  ### Tactical Automation

  If you are using [CounterStrikeSharp](/games/counter-strike-2/how-to-install-counterstrikesharp-on-a-counter-strike-2-server), you can integrate these execution commands into custom chat menus or discord bot integrations, allowing your staff to swap modes with a single click or command without needing to memorize the RCON syntax.
</Note>

***

<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:** Tactical logic ready.
</div>
