Ten Source games on 2hours.gg come with SourceMod, and the Steam account that deployed the server is already its admin. There is nothing to install and nothing to configure.
Join with the same Steam account you deployed with. Any other account is a normal player.
What the server sets up for you
- MetaMod:Source and SourceMod 1.12, already installed when your server starts.
- The stock admin plugins: Admin Menu, Basic Commands, Basic Bans, Basic Votes, Player Commands and Fun Commands.
- You as the top admin (root, in addons/sourcemod/configs/admins_simple.ini): no other admin can kick or ban you.
Open the SourceMod admin menu
Type !admin in chat, or sm_admin in the console. You pick a player or a map from a list instead of typing names. Two games cannot show it: see your game below.
SourceMod chat commands (!kick, !ban, !map)
Type them in chat with ! in front, or in the console with sm_ in front (!kick is sm_kick):
!kick <name>- Remove a player from the server.
!ban <name> <minutes>- Ban a player for that many minutes. 0 bans them until this server closes.
!slay <name>- Kill a player on the spot.
!map <map>- Change the map right away.
!votemap <map>- Ask everyone to vote on the next map.
!who- List the players and who has admin.
Start a command with / instead of ! and it runs without showing in chat: /kick <name>.
SourceMod admin from the web console
The console on your server card has an Admin section with three buttons: who is on (sm_who), the loaded plugins (sm plugins list) and reload the admin list (sm_reloadadmins). You can type any sm_ command there too, for example sm_kick followed by a name. It works when nobody is in game.
Your game
- Left 4 Dead 2: Full !admin menu and every chat command. Your own Left 4 Dead 2 server · More Left 4 Dead 2 commands
- Insurgency: Full !admin menu and every chat command. Your own Insurgency server · More Insurgency commands
- Day of Infamy: Full !admin menu and every chat command. Your own Day of Infamy server · More Day of Infamy commands
- Day of Defeat: Source: Full !admin menu and every chat command. Your own Day of Defeat: Source server · More Day of Defeat: Source commands
- Zombie Panic! Source: Full !admin menu and every chat command. Your own Zombie Panic! Source server · More Zombie Panic! Source commands
- Pirates, Vikings and Knights II: Full !admin menu and every chat command. Your own Pirates, Vikings and Knights II server · More Pirates, Vikings and Knights II commands
- Black Mesa: Full !admin menu and every chat command. Your own Black Mesa server · Black Mesa server setup
- CS:GO: Full !admin menu. SourceMod also runs the plugin that lets friends join by IP. If nobody can connect, redeploy the server. Your own CS:GO server · More CS:GO commands
- Fistful of Frags: No !admin menu and no !votemap: the game cannot show SourceMod menus. Every other chat command works. Your own Fistful of Frags server · More Fistful of Frags commands
- Half-Life 2: Deathmatch: No menus: the game cannot show them, so the server turns the vote menu plugins off. The chat commands work. Your own Half-Life 2: Deathmatch server · More Half-Life 2: Deathmatch commands
If SourceMod fails to load
If the download fails when the server boots, the server still starts and the web console still works. Only the in-game admin is missing. Click sm plugins list in the console: Unknown command means SourceMod did not load.