background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Catégories

TF2 Classified Admin Commands


This guide covers admin commands, RCON, and server management for your TF2 Classified dedicated server on Legion Hosting. For initial setup and configuration, see our TF2 Classified Server Setup Guide.

RCON Setup

RCON (Remote Console) lets you execute server commands remotely. Set an RCON password in your server.cfg:

rcon_password "your_rcon_password_here"

Using RCON In-Game

  1. Open the developer console (press ~)
  2. Authenticate: rcon_password your_rcon_password_here
  3. Run commands: rcon command_here
Security: Always set a strong RCON password. If left blank, RCON is disabled. Never share your RCON password publicly.

Common Admin Commands

These commands can be run via RCON or the GPanel console:

Command Description
changelevel <map> Change the current map (e.g., changelevel cp_dustbowl)
kick <player> Kick a player by name
kickid <userid> Kick a player by their user ID
banid <minutes> <userid> Ban a player by user ID (0 = permanent)
removeid <steamid> Remove a ban by Steam ID
status Show server info, connected players, and their IDs
users List connected players with user IDs
say <message> Send a server-wide chat message
mp_timelimit <minutes> Set map time limit
mp_maxrounds <rounds> Set maximum rounds per map
mp_restartgame 1 Restart the current round after 1 second
mp_autoteambalance <0/1> Toggle automatic team balancing
sv_password <password> Set or change the server password (empty to remove)
maps * List all available maps on the server

Ban Management

Bans are stored in configuration files within the cfg/ directory:

  • banned_user.cfg — Steam ID bans
  • banned_ip.cfg — IP address bans
// Ban a player permanently by user ID
banid 0 <userid>
writeid

// Ban by IP address
addip 0 <ip_address>
writeip

// Unban a Steam ID
removeid <steamid>
writeid

SourceMod Admin Setup

If you have SourceMod installed, you can configure admin access:

  1. Navigate to tf2classified/addons/sourcemod/configs/admins_simple.ini
  2. Add admin entries in the format: "STEAM_0:X:XXXXXXX" "99:z"
  3. Restart the server or type sm_reloadadmins in console

Common SourceMod commands:

Command Description
sm_kick <player> <reason> Kick with a reason message
sm_ban <player> <minutes> <reason> Ban with duration and reason
sm_slay <player> Instantly kill a player
sm_map <map> Change the map
sm_who List all players and their admin levels

Server Management via GPanel

Action How To
Start/Stop/Restart Server Use the power controls on GPanel's main page
Edit server.cfg File Manager or SFTP → tf2classified/cfg/server.cfg
Edit Map Rotation File Manager or SFTP → tf2classified/cfg/mapcycle.txt
Run Console Commands Use the Console tab in GPanel
Upload Custom Maps Upload .bsp files to tf2classified/maps/ via SFTP

Troubleshooting

RCON Not Working

  1. Verify rcon_password is set in server.cfg
  2. Ensure you authenticate first with rcon_password in console before using rcon commands
  3. Check that the password has no special characters that may cause parsing issues

Players Cannot Connect

  1. Confirm the server is fully started in the GPanel console
  2. Verify sv_lan is set to 0 for internet play
  3. Check that the correct IP and port are being used

Related Articles

Need Help?

If you need further assistance with your TF2 Classified server, our support team is ready to help. Submit a support ticket and we will respond as soon as possible.


Cet article vous a-t-il été utile ?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.