Difference between revisions of "Multiple or Forked Servers (SourceMod)"
(Tag: Rollback) |
|
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 17:12, 5 August 2020
SourceMod does not support running more than one server from the same SourceMod installation. This means you cannot:
- Point multiple forked servers (a feature in Left 4 Dead's srcds) at one SourceMod install.
- Start multiple copies of the same srcds to the same SourceMod install.
The reason for this is that SourceMod needs to "own" certain folders.
- SourceMod's auto-updating feature overwrites gamedata files, and could one day overwrite other files as well.
- The "data" folder is considered writeable for any purpose, and can be used to store locks that live beyond process IDs.
You can have multiple copies of SourceMod in your "addons" folder, however. For example, you can have addons/sourcemod1 and addons/sourcemod2. There are two ways to make this work.
Specify +sm_basepath on the server command line. For example:
srcds -game tf +maxplayers 12 +sm_basepath addons/sourcemod2
If you are looking to save space or unify certain files that you know will not change, use symlinks. On Linux/FreeBSD this is the ln -s command (man ln). On Windows Vista or 2008 Server, this is mklink from the command prompt.