This guide covers server administration, console commands, SourceMod plugin management, map navigation, and troubleshooting for your SourceCoop (Black Mesa Co-op) server on Legion Hosting. For initial setup and player connection instructions, see SourceCoop Server Setup Guide.
1. Server Console
The SourceCoop server runs on the Source Engine (srcds) and provides a full console accessible via the Console tab in GPanel. All standard Source Engine server commands are available.
2. Common Console Commands
| Command | Description |
|---|---|
changelevel [map] |
Changes to the specified map (e.g., changelevel bm_c1a0a). |
kick [name] [reason] |
Kicks a player by name. |
banid [minutes] [steamid] |
Bans a player by Steam ID for a specified duration. Use 0 for permanent. |
removeid [steamid] |
Removes a ban for a specific Steam ID. |
listid |
Displays the current ban list. |
status |
Shows server info, connected players, and their Steam IDs. |
users |
Lists connected users. |
say [message] |
Sends a server message to all players. |
sv_password [pass] |
Changes the server password at runtime. Set to 0 to remove. |
mp_restartgame 1 |
Restarts the current map. |
3. SourceMod Admin System
SourceCoop ships with SourceMod pre-installed, which provides a powerful admin system. To configure SourceMod admins:
- Stop the server.
- Edit the admin file via SFTP:
bms/addons/sourcemod/configs/admins_simple.ini - Add admin entries in the format:
"STEAM_0:1:12345678" "99:z"Where the Steam ID is the admin's ID and
"99:z"grants full admin access. - Restart the server.
Common SourceMod Admin Commands
SourceMod commands are prefixed with sm_ in the console or ! in chat.
| Console Command | Chat Command | Description |
|---|---|---|
sm_kick [name] [reason] |
!kick |
Kick a player. |
sm_ban [name] [minutes] [reason] |
!ban |
Ban a player (0 = permanent). |
sm_unban [steamid] |
!unban |
Unban a player. |
sm_slay [name] |
!slay |
Kill a player. |
sm_map [mapname] |
!map |
Change the current map. |
sm_rcon [command] |
!rcon |
Execute a server console command. |
4. SourceCoop-Specific Settings
SourceCoop adds its own configuration variables that can be set in bms/cfg/server.cfg:
| Setting | Description |
|---|---|
sourcecoop_homemap |
The map to loop back to after completing the campaign. Comment out to use the mapcycle file instead. |
mp_mapcycle_empty_timeout_seconds |
Time in seconds before the server cycles maps when empty (default: 3600). |
5. Map Navigation
The campaign progresses automatically through maps when players complete objectives. You can also manually change maps using changelevel or the SourceMod !map command.
After completing the final map (bm_c5a1 / credits), the server either:
- Returns to the
sourcecoop_homemapif configured, or - Follows the
mapcycle.txtfile inbms/
6. Advanced Settings
SourceCoop and Metamod Versions
The server installation includes specific versions of SourceCoop, Metamod:Source, and SourceMod. If you need to update these:
| Variable | Default | Description |
|---|---|---|
VERSION |
latest |
SourceCoop release version tag. |
MATCH |
bms |
Release build to download (Black Mesa = bms). |
MMS_BUILD |
1148 |
Metamod:Source build number. |
SM_BUILD |
6960 |
SourceMod build number. |
7. Troubleshooting
| Issue | Solution |
|---|---|
Crash on Nihilanth map (bm_c4a4a) |
Set MOD_FORCETOUCHDATA to 0 in the Startup tab. |
| Players cannot connect after game update | A Black Mesa update may require reinstalling the server with updated SourceCoop versions. Check the SourceCoop GitHub for compatibility info. |
| SourceMod commands not working | Ensure your Steam ID is added to admins_simple.ini and the server has been restarted. |
| Server hangs on map load | Some maps require significant memory to pre-cache. If the server consistently hangs, try disabling mod_forcetouchdata or increasing the server's memory allocation. |
Related Articles
Need Help?
If you run into issues with your SourceCoop server, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.