The Auto Updater plugin automates the update process for your Counter-Strike 2 (CS2) server.
Important
It is required for the server to have hibernation disabled: sv_hibernate_when_empty
set to false
.
- Automatically checks the current game version of Counter-Strike 2 by querying Steam's API.
- Notifies players about the upcoming server restart.
- Translations.
- Match cancelation on update found.
- Pterodactyl API intergration.
- Metamod:Source (Dev Build)
- CounterStrikeSharp (Version
178
or higher)
Download the latest release of CS2-AutoUpdater from the GitHub Release Page.
Extract the contents of the archive into your counterstrikesharp
folder.
If you want to build CS2-AutoUpdater from the source, follow these instructions:
git clone https://github.com/dran1x/CS2-AutoUpdater && cd CS2-AutoUpdater
# Make sure the CounterStrikeSharp dependacy has a valid path.
dotnet publish -f net7.0 -c Release
{
"ConfigVersion": 2,
"UpdateCheckInterval": 180,
"ShutdownDelay": 120,
"MinPlayersInstantShutdown": 1,
"MinPlayerPercentageShutdownAllowed": 0.6,
"ShutdownOnMapChangeIfPendingUpdate": true
}