SCInterface gives you the ability to edit server configuration files and save alternate versions for each file directly from the user interface. To administer config tokens, you must have SC-Wide privileges. To specify configuration files for your server, you must use "Configuration Tokens" so that SCInterface knows which files to look for within the server's directory structure. Config Tokens may be set to be viewable either by server administrators, or by everyone with any privilege on the server (as determined by the "Viewable By" column on the Config Tokens page).

Configuration tokens may be either full filenames, or file extensions. They may include wildcard declarations such as "*.con" or "?dmin?ettings.con". More advanced users can enter a regular expression for a config token. When you specify a config token, then SCInterface will make any files in the server's directory (or subdirectories) available for editing that match the criteria. For example, if a directory contains the files "server.cfg", "mapselect.cfg", and "advanced.cfg", then the config token "*.cfg" will make all of these files available for editing on the SCInterface Configuration Files area.

For each SConnector, you may choose to view, add, edit, or delete Config Tokens, or to those of its parent SConnector. Both will be listed on each page. Config Tokens that belong to the SConnector are listed under "Editable Tokens" and those which belong to the parent are listed under "Inherited Tokens". By performing any action to Inherited Tokens, you will automatically be brought to the SConnector Admin area for the parent SConnector.



Adding Config Tokens

To add Config Tokens to a SConnector:
  1. Click the "Admin" tab.
  2. Click the "SConnector Admin" tab.
  3. You will see a table of SConnectors. Click the name of the SConnector to which you would like to add config tokens.
  4. Click the "Config Tokens" tab.
  5. Cick the "Add Config Tokens" tab.
  6. Enter the name of a config file you would like to be able to edit from within SCInterface.
  7. If you would like the file(s) associated with this token to be editable only by administrators, then select "Admins" from the "Viewable By" dropdown box. Otherwise, anyone with config privileges on the server will be able to edit the file(s).
  8. Click the "Add Token" button.
Adding a Config Token

Viewing and Editing Config Tokens

To view or edit Config Tokens for an SConnector (and its parent):
  1. Click the "Admin" tab.
  2. Click the "SConnector Admin" tab.
  3. You will see a table of SConnectors. Click the name of the SConnector to which you would like to add config tokens.
  4. Click the "Config Tokens" tab.
  5. If they exist, you will see a set of config tokens for the SConnector, and a set of config tokens for the parent SConnector.
  6. To edit a set of config tokens, click the edit icon (Edit Icon) for that set. Modify the tokens and/or their "Viewable By" settings as you like.
  7. Click the "Edit Tokens" button to save any changes.
Editing Config Tokens

Deleting Config Tokens

To delete Config Tokens for an SConnector:
  1. Click the "Admin" tab.
  2. Click the "SConnector Admin" tab.
  3. You will see a table of SConnectors. Click the name of the SConnector to which you would like to add config tokens.
  4. Click the "Config Tokens" tab.
  5. Click the "Remove Config Tokens" tab.
  6. For each Config Token you would like to delete, click the corresponding checkbox. (To select all config tokens for removal, click the checkbox at the very top of the list).
  7. Click the "Remove" button to remove all selected tokens. You will be asked to confirm the delete operation.
Deleting Config Tokens



Related Topics:
Editing Configuration Files for an Application