The Ravenous Bugblatter Beast of Traal
Stupid, but extremely ravenous!

Config Plugin - Version 3.3 - User Guide

Filename: plugin_blatt_config

Offline Manual

You are reading this offline manual for this plugin. The links to the right navigate through the offline information. The links above and to the left link to www.ravenousbugblatterbeast.pwp.blueyonder.co.uk. If you downloaded the plugin from somewhere else, or downloaded it some time ago, I recomend you check for an updated plugin. Note that the on-line manual may have been updated even if the plugin hasn't.

How does it work?

The premise is exceedingly simple:
  1. Rename you server.cfg to a different file name (e.g. normal.cfg)
  2. Make a copy of this file (e.g. match.cfg) and change any settings. If you want to use different adminmod settings / plugins, exec a different copy of adminmod.cfg in match.cfg.
  3. Create a new server.cfg with only 1 line:

exec normal.cfg

When you issue the bbcfg_set command in-game, the plugin simply rewrites your server.cfg to exec a different file when you next change map.

Setting up multiple configurations

Your configurations can differ in the following ways:

  • Different half-life / game mod settings
  • Different Admin Mod / Clan Mod / Stats Me / HLGuard settings
  • Different Admin Mod plugins loaded

Your configurations must be the same in the following ways:

  • You must load the same Metamod plugins.
  • You must precache the same Monsters if you the monster plugin.

In general, if a modification exec's its primary configuration file from server.cfg, then you can have different configurations. If it looks for a specific filename (e.g. metamod's plugins.ini) you can't.

How to differ configurations

Once you have made multiple copies of your server.cfg, change the name of the configuration files for the other plugins that you exec. e.g. If you have made a copy of server.cfg called match.cfg, then you should copy adminmod.cfg to adminmod-match.cfg and have match.cfg exec adminmod-match.cfg.

Next, create a copy of plugin.ini called plugin-match.ini and have adminmod-match.cfg use plugin-match.ini for its admin_plugin_file setting. You can then do the same for any other ini files that you wish to have different settings in the different configurations. To use different configurations for my plugins you will either have to configure separate a vault.ini or put admin_command bbwhatever at the end of your main configuration file.

Important

If you want to be able to switch back from your new configuration to your original configuration, you must ensure that this plugin is still loaded. Therefore:

  • All new server.cfg copies must still execute a version of adminmod.cfg.
  • All versions of adminmod.cfg must enable this plugin.

If you forget to do this, you will have to manually edit your server.cfg to point to a configuration that does have the plugin loaded.