Difference between revisions of "Gamedata Updating (SourceMod)"
(New page: We now have a gamedata auto-updating feature in SourceMod (for gamedata files only). When your server starts, SourceMod will contact AlliedModders to check for gamedata file updates. Allie...) |
(→Configuration) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | SourceMod has an automatic updating feature for gamedata files. When your server starts, SourceMod will contact AlliedModders to check for gamedata updates. AlliedModders will send back new files if they are available. | |
− | + | This feature has been available since SourceMod 1.1. However the updating mechanism was rewritten in 1.2, and servers running 1.1 will no longer receive updates. This documentation applies only to SourceMod 1.2 and higher. | |
− | |||
− | |||
==Configuration== | ==Configuration== | ||
− | core.cfg has four new settings to control the autoupdaters functionality | + | <tt>core.cfg</tt> has four new settings to control the autoupdaters functionality |
*DisableAutoUpdate | *DisableAutoUpdate | ||
Line 13: | Line 11: | ||
**The default value is "no". A value of "yes" will block the Auto Updater. | **The default value is "no". A value of "yes" will block the Auto Updater. | ||
*ForceRestartAfterUpdate | *ForceRestartAfterUpdate | ||
− | **Enables or disables automatic restarting of | + | **Enables or disables automatic restarting of SourceMod after a gamedata update. |
− | **The default value is "no". A value of "yes" will | + | **The default value is "no". A value of "yes" will make SourceMod reload itself and refresh the map. |
− | * | + | *AutoUpdateURL |
− | **Sets the | + | **Sets the URL to connect to for automatic updates. |
− | **Default is " | + | **Default is "http://update.sourcemod.net/update/" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | ==Custom Files== |
− | + | Gamedata files from the default SourceMod distribution can be overwritten even if there are custom changes. To make protected custom changes, use the <tt>custom</tt> folder under the gamedata directory. All files under this directory are parsed (in an undefined order) after the main files are loaded. They will never be overwritten. | |
− | |||
− | + | [[Category:SourceMod Documentation]] | |
− | |||
− |
Latest revision as of 10:29, 27 August 2013
SourceMod has an automatic updating feature for gamedata files. When your server starts, SourceMod will contact AlliedModders to check for gamedata updates. AlliedModders will send back new files if they are available.
This feature has been available since SourceMod 1.1. However the updating mechanism was rewritten in 1.2, and servers running 1.1 will no longer receive updates. This documentation applies only to SourceMod 1.2 and higher.
Configuration
core.cfg has four new settings to control the autoupdaters functionality
- DisableAutoUpdate
- Enables or Disables SourceMod's automatic gamedata updating.
- The default value is "no". A value of "yes" will block the Auto Updater.
- ForceRestartAfterUpdate
- Enables or disables automatic restarting of SourceMod after a gamedata update.
- The default value is "no". A value of "yes" will make SourceMod reload itself and refresh the map.
- AutoUpdateURL
- Sets the URL to connect to for automatic updates.
- Default is "http://update.sourcemod.net/update/"
Custom Files
Gamedata files from the default SourceMod distribution can be overwritten even if there are custom changes. To make protected custom changes, use the custom folder under the gamedata directory. All files under this directory are parsed (in an undefined order) after the main files are loaded. They will never be overwritten.