Skip to content

Commit

Permalink
Update SERVER_CONFIGS_AND_PLUGINS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 13, 2024
1 parent 651866a commit 5c669df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/SERVER_CONFIGS_AND_PLUGINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ If you wish to add server configurations, such as add-ons, plugins, map rotation
Any configuration files will be copied into the container on start from the `config` directory and placed within the folder for the specified game. For example, if you set the game as `cstrike`, the contents of the `config` folder will be placed within the `cstrike` directory on the server.

> [!TIP]
> As an example if you have `config/mapcycle.txt`, on the server that will be placed in the `hlds/cstrike/mapcycle.txt` directory which is where the Half-Life Dedicated Server client expects these types of files to be placed. You can use this to install server plugins such as AMX Mod, Meta Mod, etc, as the directory can handle nested folders too, for example these can be placed in `config/addons/amxmodx` etc.
1. Create a folder called `config` that lives alongside where you would typically start the server process.
2. Add your config files to the directory. For example, you may want to add a `mapcycle.txt` file or a custom `motd.txt`.
2. Add your config files to the directory.
3. Start the image as you normally would, either with `docker run` or `docker compose up`.

For a list of all the available server configuration types, [refer to the Valve Developer Wiki](https://developer.valvesoftware.com/wiki/Main_Page).

0 comments on commit 5c669df

Please sign in to comment.