Become Admin In Team Fortress 2

From Nitradopedia EN
Jump to: navigation, search
TeamFortressBanner.png
Rent your own Team Fortress 2 server at nitrado.net

Enable Admin permissions with Sourcemod

1. Make sure your server has SourceMod Installed. (In case it is not installed, stop your server, then click on the option 'addons' in the menu 'Tools' and click on the button 'Install' when finish the installation start your server.
2. Stop your server and click on the 'File Explorer' option in the 'Tools' menu of the web interface, and open the file "admins.cfg" found in the path: "tf2/tf/addons/sourcemod/configs/"
3. Go to the bottom of the file and you will find the following code:
Admins
{
}
4.Enter the data of the player you want to have administrator permissions in the following format:

Admins
{
  "player_name"
  {
   "auth"  "steam"
   "identity"  "Steam_ID"
   "immunity"  "99"
   "flags"  "z"
  }
}
I.E:

Admins
{
  "NitradoPlayer"
  {
   "auth"  "steam"
   "identity"  "STEAM_0:XXXXXXXXXX"
   "immunity"  "99"
   "flags"  "z"
  }
}


5. Click on the button Save Changes and start your server