Sm_csay - Message is sent to all players in the center of the screen Sm_chat - Message is sent to all admins in the Chat window. Sm_say - Message is sent to all players in the Chat window. Sm_advertisements_reload - Server command to reload the advertisements from advertisements.txt. Sm_advertisements_interval - Amount of seconds between advertisements. Sm_advertisements_file - File to read the advertisements from. Sm_advertisements_enabled - Enable/disable displaying advertisements. "Advertisements" by Tsunami, Edit By SimplyJpk Sm_aia2 - Enable Infinite Ammo for duration of. Sm_mortal - Makes the player mortal (removes all godmode effects). Sm_buddha - Player will take no damage, but will still react to it (like rocket jumping). Sm_dropslot - Drop weapon from players slot Sm_getmodel - Prints model name, used by player Sm_url - Opens url for target (in motd panel) Sm_shutdown - Shuts down the server and forces all clients to retry connection Sm_blink - Teleports player to aiming position Sm_saveloc - Save location (if no params - current location) Sm_fexec - Fake command execution on client (FakeClientCommandEx) Sm_lexch - Exchanges players in teams later (on death or round end) Sm_lswap - Swaps players team later (on death or round end) Sm_teamswap - Swaps teams with their scores Sm_deaths - Changes amount of targets deaths Sm_frags - Changes amount of targets frags Sm_speed - Changes players movement speed Sm_equip - Remove all weapons, except melee from all clients and give them a weapon. I dont know what weapon slot is melee in other games, so I suggested default - 2. Sm_melee - Remove all weapons, except melee (slot 0 for HL2:MP, 2 for CS:S) from all clients. Sm_disarm - Removes all items from target Sm_searchcmd - Searches SourceMod commands Sm_help - Displays SourceMod commands and descriptions "Some plugins and commands may not be present on some servers, as this is an overall list." Next time you log in, you will be an admin on your SourceMod TF2 Server."Missing Commands will be added once I learn what they are, dont be shy, let me know if Im missing any!" One more step to go, after you save your file, go back to your "Game Services" and then refresh your server. For example, my setup is shown underneath. Now that you have your files edited, go ahead and save your file by clicking "Save" in the top left-hand corner of your text editor. If you have a problem finding your Steam ID, follow our guide located here, "How to find your Steam ID | GSK guide"
For a full guide on admin flags and other values regarding admin permissions, read over the allied modders wiki page here. Auth is what client you use to connect, your identity is your Steam ID, your immunity is where you rank among other admins, and your flags say what you can and cannot do. It would be a good reference if you ever get lostĪ quick breakdown of this code, it makes you the superadmin of the server. You will need to edit this file, to do so, press on the pencil icon next to the file and it will pull you into the text editor for this file.Īt the very end of the file, you will see that it says:Įverything above this is ignored by Sourcemod, so no need to remove anything. Then navigate your way to the "tf" folder then "/addons" "/sourcemod" "/configs" then the "admins.cfg" file. First, go to your GameServerKings Game Server Management Panel and open up your File Manager as seen below Now that you've installed SourceMod, you're ready to configure yourself as an admin on your server.