CS2-AutoUpdater
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 tofalse
.
Features
- [x] Automatically checks the current game version of Counter-Strike 2 by querying Steam’s API.
- [x] Notifies players about the upcoming server restart.
- [x] Translations.
- [ ] Match cancelation on update found.
- [ ] Pterodactyl API intergration.
Installation
Requirements
- 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.
Build Instructions
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
Confiuration
{
"ConfigVersion": 2,
"UpdateCheckInterval": 180,
"ShutdownDelay": 120,
"MinPlayersInstantShutdown": 1,
"MinPlayerPercentageShutdownAllowed": 0.6,
"ShutdownOnMapChangeIfPendingUpdate": true
}
Download / Go to latest repository