CS2 HvH Server Hosting Guide - LGSM
January 11, 2026
CS2 HvH Server Hosting Guide - LGSM
Quick Overview
This guide covers setting up a CS2 HvH server using LinuxGSM and where to find plugins.
---
Prerequisites
- Linux VPS (Ubuntu 20.04+ recommended)
- 4GB+ RAM
- Open ports: 27015 (UDP/TCP), 27020 (UDP), 27005 (UDP)
- Root/sudo access
---
LGSM Installation
1. Create Server User
sudo adduser cs2server
su - cs2server2. Install Dependencies
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install curl wget file tar bzip2 gzip unzip python3 util-linux ca-certificates binutils bc jq tmux lib32gcc-s1 lib32stdc++6 steamcmd -y3. Install LGSM
wget -O linuxgsm.sh https://linuxgsm.sh
chmod +x linuxgsm.sh
./linuxgsm.sh cs2server4. Install CS2 Server
./cs2server install5. Basic Commands
./cs2server start # Start server
./cs2server stop # Stop server
./cs2server restart # Restart server
./cs2server console # View console
./cs2server update # Update server
./cs2server details # Server info---
Plugin Framework - CounterStrikeSharp
Required for all plugins
Download: https://github.com/roflmuffin/CounterStrikeSharp/releases
Install Location: ~/serverfiles/game/csgo/
Extract the downloaded zip to your CS2 server directory.
---
Essential Tools & Plugins Sources
Admin & Management
CS2-SimpleAdmin - Admin system with ban/kick/mute
- https://github.com/connercsbn/CS2-SimpleAdmin
CSS Admin - Alternative admin plugin
- https://github.com/NockyCZ/CS2-Admin
---
HvH Specific Plugins
AntiCheat Detection - Logs suspicious activity
- https://github.com/zonical/cs2-anticheat
ServerListPlayersFix - Fixes player list display
- https://github.com/Source2ZE/CS2Fixes
Instadefuse - Instant bomb defuse plugin
- https://github.com/B3none/cs2-instadefuse
---
Game Modes
Retakes - Retake game mode
- https://github.com/B3none/cs2-retakes
Deathmatch - DM plugin
- https://github.com/NockyCZ/CS2-Deathmatch
1v1 Arena - 1v1 plugin
- https://github.com/Challengermode/cm-cs2-plugin
---
Statistics & Ranking
RankMe - Player ranking system
- https://github.com/DeadSwimek/CS2-RankMe
K4-System - Complete stats system
- https://github.com/K4ryuu/K4-System
PlayTimeTracker - Track playtime
- https://github.com/FAQU/cs2-playtime-tracker
---
Utility Plugins
Discord Utilities - Discord integration
- https://github.com/imi-tat0r/CS2-Discord-Utilities
MapChooser - Map voting system
- https://github.com/abnerfs/cs2-map-chooser
WeaponRestrict - Restrict weapons
- https://github.com/NockyCZ/CS2-WeaponRestrict
SpawnProtection - Spawn protection
- https://github.com/NockyCZ/CS2-SpawnProtection
GunGame - GunGame mode
- https://github.com/NockyCZ/CS2-GunGame
---
Performance & Fixes
ExecAfter - Execute commands after warmup
- https://github.com/B3none/cs2-execafter
AutoExecConfig - Auto-load configs
- https://github.com/NockyCZ/CS2-AutoExecConfig
RemoveMapWeapons - Remove map weapons
- https://github.com/NockyCZ/CS2-RemoveMapWeapons
---
Plugin Collections & Resources
CounterStrikeSharp Plugin List - Curated plugin list
- https://github.com/roflmuffin/CounterStrikeSharp/wiki/Plugins
CS2 Fixes - Essential server fixes
- https://github.com/Source2ZE/CS2Fixes
Metamod:Source - Alternative plugin loader
- https://www.sourcemm.net/downloads.php?branch=master
---
Finding More Plugins
GitHub Search
Search GitHub for "CounterStrikeSharp" or "CS2 plugin"
Community Resources
- https://discord.gg/counterstrikesharp - Official CSS Discord
- https://cs2.poggu.me/ - Plugin database
- https://github.com/topics/cs2 - CS2 tagged repos
---
Plugin Installation Basics
1. Download plugin from GitHub releases
2. Extract to: ~/serverfiles/game/csgo/addons/counterstrikesharp/plugins/
3. Restart server: ./cs2server restart
4. Check console for load confirmation
Plugin Config Location: ~/serverfiles/game/csgo/addons/counterstrikesharp/configs/plugins/
---
Server File Locations
Server Root: ~/serverfiles/
Game Directory: ~/serverfiles/game/csgo/
Plugins: ~/serverfiles/game/csgo/addons/counterstrikesharp/plugins/
Configs: ~/serverfiles/game/csgo/cfg/
Maps: ~/serverfiles/game/csgo/maps/---
Useful Commands
# Update LGSM
./cs2server update-lgsm
# Validate server files
./cs2server validate
# View server logs
./cs2server console
# Backup server
./cs2server backup
# Monitor server
./cs2server monitor---
Server Management Tools
LinuxGSM Web Panel - Not official but community-made
- Various web panels exist, search for "LGSM web panel"
RCON Tools
- mcrcon - https://github.com/Tiiffi/mcrcon
- SourceRCON - Desktop RCON client
Server Monitoring
- GameQ - https://github.com/Austinb/GameQ
- Node-GameDig - https://github.com/gamedig/node-gamedig
---
Troubleshooting
Server Won't Start
./cs2server details
cat ~/log/console/cs2server-console.logPlugins Not Loading
- Check CounterStrikeSharp is installed
- Verify plugin files are in correct directory
- Check console logs for errors
Port Issues
sudo ufw allow 27015/tcp
sudo ufw allow 27015/udp
sudo ufw allow 27020/udp---
Performance Optimization
Server Tickrate: CS2 uses sub-tick system (no traditional tickrate)
Resource Monitoring:
./cs2server details
htop---
Security
- Use strong RCON password
- Don't run as root
- Keep server updated:
./cs2server update - Use firewall (ufw/iptables)
- Consider DDoS protection
---
Additional Resources
Official LGSM Docs: https://docs.linuxgsm.com/game-servers/counter-strike-2
CS2 Server Wiki: https://developer.valvesoftware.com/wiki/Counter-Strike_2
Community Forums:
- https://forums.alliedmods.net/
- https://www.reddit.com/r/cs2/
---
Quick Start Checklist
- [ ] Install LGSM
- [ ] Install CS2 server
- [ ] Install CounterStrikeSharp
- [ ] Install admin plugin (CS2-SimpleAdmin)
- [ ] Configure server name & RCON
- [ ] Install HvH-specific plugins
- [ ] Test server connectivity
- [ ] Set up auto-restart/monitoring
---
Note: Always download plugins from official GitHub repositories and check for compatibility with your CS2 server version.