OSP for Soldier of Fortune 2 : Double Helix
Official documentation

    Administrating an OSP server

    What is an admin?
    An admin has many powers and can run pretty much anything on a server. Admins should be selected carefully. Admins do not have rcon, only the real server administrator should have the remote control password. This is exactly why the admin system was put in place, so that server administrators can give some powers to some of their users to keep order on the server while they aren't around, without giving them access to the more sensitive commands that rcon allows.

    How to add or remove admins
    Server administrators with rcon can add or remove admins using the addadmin or removeadmin commands, both require a specified player id#. Lets say you want to add the player with id 5 to the admins list, you would do /rcon addadmin 5, if on the other hand, he is already an admin and you want to remove him from the list, you would do /rcon removeadmin 5. Admins are identitied by their unique identification key, which is generated by the raven or punkbuster servers. This 32 character number is unique to every user on your server. It is saved to the file specified by sv_adminfile (osp_admins.cfg by default). You can manually edit this file and add GUIDs to it, it is a carriage-return delimited list of GUIDs. Although the best way to add admins is to have them join your server and add them to the list using the commands.

    Admin "powers"
    Admins have special abilities to help them in their task, such as:

    • following anyone on either team
    • freefloating around the map
    • immune to kick voting
    • doesn't get team kill percentage
    When an admin is playing in a competitive match, it is imperative that he suspend these powers and his admin status in general by doing /adm suspend, he can get back his admin status by doing /adm suspend a second time. Note that there will be a sound cue and a general message to alert everyone when an admin changes status. The command demotes the admin to referee status.



    Admin commands
    Admins have useful commands to allow them to control what goes on on the server, they also have access to all referee commands, callvote options (if an admin or a referee calls a vote it passes automatically), and any commands that have been added to the osp_extracommands.cfg file.

    Note : all admin commands must be preceded by "/adm "


    Command Arguments Effect
    ? Prints the list of admin commands to the console in an easy to read format.
    kick [id#] [reason] Kick player specified by id# with the optionnal reason.
    ban [id#] [time in minutes] [reason] Ban player specified by id# with the optionnal reason for specified time, or unlimited not time length is given.
    cancelvote Cancel the current vote.
    chat message Sends a message only to other admins on the server.
    talk message Send a message to all players on the server.
    strike id# Kill a player with a bolt of lightning.
    mute id# Mute a talking player specified by id#, or unmute him.
    suspend Suspend your admin status, you then become a referee. Same command will give you back your admin status.
    pause
    unpause
    Pause or unpause the game.
    phone id# "Slaps" a player with a virtual phone across the map dealing minor damage.
    strip id# Remove all weapons from a player except one knife.
    cvarcheck [id#] [cvarname] Get the current setting of the specified player for the specified cvar (example: /adm cvarcheck 2 r_gamma)
    jail [id#] [seconds] Put specified client in "jail" for number of seconds (he will not be able to respawn). Or don't specify time to use osp_defaultJailTime value.