이 가이드는 Legion Hosting의 Counter-Strike 2 서버에 대한 관리자 접근 설정, RCON, 관리자 명령어 및 경쟁전 매치 구성을 다룹니다. GSLT, 게임 모드 및 접속을 포함한 초기 서버 설정은 CS2 서버 설정 가이드를 참고하세요.
RCON (원격 콘솔) 설정
RCON을 사용하면 재시작 없이 인게임 콘솔이나 GPanel에서 원격으로 서버 명령어를 실행할 수 있습니다. server.cfg의 rcon_password cvar를 통해 구성됩니다.
RCON 비밀번호 설정
GPanel의 File Manager를 통해 또는 SFTP를 통해 game/csgo/cfg/server.cfg를 열고 다음을 추가하거나 편집하세요:
rcon_password "YourStrongPassword"
인게임에서 RCON 사용
`(물결표) 키로 개발자 콘솔을 엽니다. 먼저 인증한 다음 명령어를 입력하세요:
rcon_password YourStrongPassword
rcon changelevel de_mirage
rcon mp_maxrounds 30
rcon status
인증되면 서버에서 실행되도록 모든 명령어 앞에 rcon을 붙이세요.
GPanel에서 RCON 사용
GPanel의 Console 탭에서 rcon 접두사 없이 명령어를 직접 실행할 수도 있습니다. 이것이 서버 관리에 가장 쉬운 방법입니다.
필수 관리자 명령어
다음 명령어는 RCON 또는 GPanel 콘솔을 통해 실행할 수 있습니다.
플레이어 관리
| 명령어 | 설명 |
|---|---|
status |
접속된 모든 플레이어를 Steam ID 및 핑과 함께 나열 |
kick <name> |
이름으로 플레이어 킥 |
kickid <userid> |
사용자 ID로 플레이어 킥 (status 출력에서 확인) |
banid <minutes> <steamid> |
Steam ID로 플레이어 밴 (0 = 영구) |
removeid <steamid> |
밴 목록에서 Steam ID 제거 |
users |
인증된 RCON 사용자 나열 |
서버 제어
| 명령어 | 설명 |
|---|---|
changelevel <map> |
현재 맵 변경 (예: de_inferno) |
mp_restartgame 1 |
1초 후 현재 게임 재시작 |
mp_warmup_end |
워밍업 즉시 종료 |
mp_pause_match |
현재 매치 일시 정지 |
mp_unpause_match |
현재 매치 일시 정지 해제 |
bot_add_t / bot_add_ct |
지정된 팀에 봇 추가 |
bot_kick |
서버에서 모든 봇 킥 |
exec <filename> |
구성 파일 실행 (예: exec competitive.cfg) |
경쟁전 매치 구성
경쟁전 플레이의 경우 game/csgo/cfg/autoexec.cfg(모든 맵 로드 시 자동으로 실행됨)를 생성하거나 편집하여 게임 모드 기본값 위에 경쟁전 튜닝을 적용하세요:
// -----------------------------------------------
// Competitive / match settings
// -----------------------------------------------
mp_overtime_enable 1 // Enable overtime if scores are tied
mp_overtime_maxrounds 6 // Rounds per overtime half (3+3)
mp_overtime_halftime_pausetimer 0
mp_halftime 1 // Enable halftime side switch
mp_maxrounds 24 // Standard 12 per half
mp_freezetime 15 // Seconds players are frozen at round start
mp_roundtime 1.92 // Round time in minutes (1:55 approx)
mp_roundtime_defuse 1.92
mp_buytime 20 // Seconds players can buy after round start
mp_buy_anywhere 0 // Players must be in buy zone
mp_startmoney 800 // Starting money
mp_friendlyfire 1 // Team damage on (standard competitive)
mp_warmup_pausetimer 0
mp_warmuptime 30
// -----------------------------------------------
// Anti-cheat and security
// -----------------------------------------------
sv_pure 1 // Only allow official files (1) or workshop (0)
sv_pure_kick_clients 1
// -----------------------------------------------
// Bot behaviour (remove bots for real matches)
// -----------------------------------------------
bot_quota 0
bot_join_after_player 0
practice.cfg, match.cfg, warmup.cfg)을 생성하고 RCON 또는 GPanel 콘솔을 통해 exec practice.cfg로 로드할 수 있습니다.
GOTV (관전 및 데모 녹화)
GOTV를 사용하면 관전자가 구성 가능한 지연 시간으로 매치를 시청할 수 있으며, 검토를 위해 데모를 녹화할 수 있습니다. server.cfg에 다음 설정을 추가하세요:
tv_enable 1 // Enable GOTV
tv_name "GOTV" // Name shown to spectators
tv_delay 30 // Delay in seconds before GOTV shows action
tv_maxclients 10 // Maximum GOTV spectators
connect YOUR.SERVER.IP:GOTV_PORT를 사용하여 접속합니다.
RCON을 통해 수동으로 데모를 녹화하려면:
tv_record mydemoclip
// ... match plays ...
tv_stoprecord
데모 파일은 서버의 game/csgo/ 디렉터리에 저장되며 SFTP를 통해 다운로드할 수 있습니다.
관련 문서
- CS2 서버 설정 가이드 — GSLT, server.cfg, 게임 모드, 접속
- CS2 문제 해결 — 일반적인 오류 및 해결 방법
- 서버 IP와 포트를 찾는 방법
- SFTP로 파일 업로드하는 방법