Skip to content

Dockerfile that installs a CS2 server with CounterStrikeSharp, keeping the framework and compatible plugins up-to-date

License

Notifications You must be signed in to change notification settings

crisp-coder/SharpOps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Docker workflow

SharpOps

SharpOps is a Docker container built on ich777/steamcmd:cs2, designed to automate the setup and management of Counter-Strike 2 dedicated servers with CounterStrikeSharp (CSS) and its dependencies. This container simplifies server administration by:

  • Automatically installing Metamod & CounterStrikeSharp and keeping them updated
  • Managing compatible plugins, ensuring they stay up-to-date
  • Handling SteamCMD configuration and CS2 server installation
  • Providing a streamlined solution for modded CS2 servers

This project is ideal for server administrators looking for an easy way to deploy and maintain a fully modded CS2 experience with minimal manual intervention. 🚀

Features

  • Metamod auto-install & update
  • CounterStrikeSharp auto-install & update
  • CounterStrikeSharp plugins auto-install & update*
  • Add compatibility for plugins with multiple assets
  • Allow users to specify the build/release version of each plugin in plugins.txt, rather than always downloading the latest release.

Environment Variables

Variable Name Default Value Description
UPDATE_PLUGINS true When set to true, the container will attempt to install/update all compatible plugins in plugins.txt on each boot.

Additional Environment Variables

Since this image is based on ich777/steamcmd:cs2, the following additional environment variables are also available for configuration. Please refer to the base image documentation for details.

Variable Name Default Value Description
GAME_PARAMS (unset) List of space-delimited command-line parameters and console variables to pass to the cs2 executable file. For more info, see the Official Docs
VALIDATE (unset) When set to true, SteamCMD will validate all of the server files. This command is useful if you think that files may be missing or corrupted. For more info, see the Official Docs.
USER steam The system username under which the server process runs.
UID 99 Defines the User ID of the container user (steam).
GID 100 Defines the Group ID of the container user (steam).

About

Dockerfile that installs a CS2 server with CounterStrikeSharp, keeping the framework and compatible plugins up-to-date

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.5%
  • Dockerfile 1.5%