Skip to content

The Auto Updater plugin automates the update process for your Counter-Strike 2 (CS2) server.

License

Notifications You must be signed in to change notification settings

dran1x/CS2-AutoUpdater

Repository files navigation

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 to false.

Features

  • 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.

Installation

Requirements

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
}

About

The Auto Updater plugin automates the update process for your Counter-Strike 2 (CS2) server.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages