This guide covers how to update your egg, Docker image, and server.
When a new version of the egg is released:
- Download the latest egg JSON from GitHub
- Go to Admin → Nests → Your Nest → Eggs
- Click on the KitsuneLab CS2 Egg
- Either:
- Option A: Click Import Egg and upload the new JSON
- Warning: This resets ALL variables to default values
- You must reconfigure: VPK Sync path and else that are default values.
- Option B: Manually update changed variables in the Variables tab
-
- Preserves your existing configuration
- Only update variables mentioned in changelog
-
- Option A: Click Import Egg and upload the new JSON
For production servers, use Option B (manual update) to avoid reconfiguration:
- Check the CHANGELOG for new/changed variables
- Update only those specific variables in the Variables tab
- Your existing configuration remains intact
For new deployments or major version upgrades, Option A (import) is acceptable:
- Make note of your current variable values before importing
- Import the new egg JSON
- Reconfigure all custom variables (VPK Sync, tokens, etc.)
After updating the egg:
- Go to each server using this egg
- Navigate to Startup tab
- If variables were reset (Option A), reconfigure them now
- Restart the server to apply changes
Docker images are automatically pulled when specified in the egg. To use a newer image:
- Stop your server
- Go to Startup tab
- Change the Docker Image dropdown or field to:
docker.io/sples1/k4ryuu-cs2:latestfor the latest stabledocker.io/sples1/k4ryuu-cs2:betafor beta
- Start your server
The new image will be automatically pulled on startup.
latest- Stable release (recommended for production)beta- Beta testing release (new features, less stable)
The egg includes several auto-update features:
The server automatically updates on startup by default. To disable:
- Go to Startup tab
- Find Disable Updates
- Set to
1to disable automatic updates - Save changes
Multi-Framework Support - Enable any combination of frameworks with independent boolean toggles:
| Variable | Framework | Auto-Updates |
|---|---|---|
INSTALL_METAMOD |
MetaMod:Source | - |
INSTALL_CSS |
CounterStrikeSharp | - |
INSTALL_SWIFTLY |
SwiftlyS2 | - |
INSTALL_MODSHARP |
ModSharp | - |
Configuration:
- Go to Startup tab
- Toggle checkboxes for desired frameworks
- Save and restart server
- Enabled frameworks auto-update on every server startup
Dependencies:
- CounterStrikeSharp automatically enables MetaMod (required dependency)
- SwiftlyS2 and ModSharp are standalone (no MetaMod required)
See Auto-Updaters Documentation for full details.
The egg can automatically restart your server when a new CS2 update is detected.
See the VPK Sync & Centralized Updates Guide for automatic updates and server restarts.
TIP Tip for Multiple Servers: If you run multiple CS2 servers, use VPK Sync with the centralized update script instead. It downloads once and restarts all servers together, saving bandwidth and time compared to per-server auto-restart.
The server logs show the current BuildID on startup:
[INFO] Stored initial buildid: 1234567
Version information is stored in /home/container/egg/versions.txt:
Metamod=2.x-dev1245
CSS=v1.1.0
Swiftly=v0.2.38
ModSharp=git70
DotNet=9.0.0
Accessing versions:
- Via FTP: Navigate to
/egg/versions.txt - Via console:
cat /home/container/egg/versions.txt - Via logs: Check startup logs for version info
Framework Updates:
- Only enabled frameworks appear in versions.txt
- Versions update automatically on server restart while framework is enabled
- To force re-download: delete versions.txt and restart
If an update causes issues:
- Stop the server
- Go to Startup tab
- Change Docker Image to a previous tag (if you know it)
- Start the server
CS2 server rollback is not currently supported by this egg. For version-specific deployments, consider using Docker image tags:
docker.io/sples1/k4ryuu-cs2:latest- Latest stabledocker.io/sples1/k4ryuu-cs2:beta- Beta
Manual rollback requires direct SteamCMD usage outside the egg's automated update system.
- Use manual variable updates (Option B) for production servers to preserve configuration
- Always backup before major updates
- Test updates on a development server first
- Monitor the changelog for breaking changes
- Document your custom variables before egg imports (VPK Sync, tokens, etc.)
- Keep the egg updated to get new features and fixes
- Use stable images for production servers
- Enable auto-restart to minimize downtime during CS2 updates
View the full changelog: CHANGELOG
Having issues with updates?